diff options
author | Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> | 2019-01-24 19:35:18 +0530 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2019-01-30 17:47:26 +0000 |
commit | b566259c8a2447cc3db9979d815d955a90431520 (patch) | |
tree | 2c6dbc41e0828237c24ba62067b13062f5ddbe07 /NetworkPkg/Include | |
parent | d5788777bcc75936cc0e6acb540a5ee6ac77866b (diff) | |
download | edk2-b566259c8a2447cc3db9979d815d955a90431520.tar.gz edk2-b566259c8a2447cc3db9979d815d955a90431520.tar.bz2 edk2-b566259c8a2447cc3db9979d815d955a90431520.zip |
EmbeddedPkg: Fix Command Argument for SD/eMMC R/W operation.
Issue : SD read failure for high capacity cards e.g. 64 GB
Reason : Command argument value exceeds 32 bit for block number 0x3787FFF
and cant be fit into 32 bit wide SD host controller register.
Fix :
AccessMode bits [29:30] of OCR is a valid definition to calculate
data address for eMMC cards.
For SD cards, data address is calculated on the basis of
card capacity status bit[30] of OCR.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'NetworkPkg/Include')
0 files changed, 0 insertions, 0 deletions