diff options
author | Ming Huang <ming.huang@linaro.org> | 2018-03-22 15:44:26 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2018-03-26 11:02:43 +0800 |
commit | 824b6e3b5fa080df36626db3eb8465c25a12c053 (patch) | |
tree | 1d0e28961de41d6d2b2be1d5ae4031cab884ee08 /MdeModulePkg/Library/SmmIpmiLibSmmIpmiProtocol | |
parent | dd190645eb43424706eb1709d0032c69a1935d9f (diff) | |
download | edk2-824b6e3b5fa080df36626db3eb8465c25a12c053.tar.gz edk2-824b6e3b5fa080df36626db3eb8465c25a12c053.tar.bz2 edk2-824b6e3b5fa080df36626db3eb8465c25a12c053.zip |
MdeModulePkg/Usb: Replace macro USB_BOOT_IO_BLOCKS
Booting from USB may fail while the macro USB_BOOT_IO_BLOCKS
set to 128 because the block size of some USB devices are exceeded
512, like some virtual CD-ROM from BMC, the block size is 2048.
So,the count blocks to transfer should be calculated by block
size of the USB devices.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <ming.huang@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/SmmIpmiLibSmmIpmiProtocol')
0 files changed, 0 insertions, 0 deletions