Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: b566259c8a2447cc3db9979d815d955a90431520
https://github.com/tianocore/edk2/commit/b566259c8a2447cc3db9979d815d955a90431520
Author: Meenakshi Aggarwal <[email protected]>
Date: 2019-01-30 (Wed, 30 Jan 2019)
Changed paths:
M EmbeddedPkg/Universal/MmcDxe/Mmc.h
M EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits