audk/EmbeddedPkg/Universal/MmcDxe
Meenakshi Aggarwal b566259c8a 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>
2019-01-30 17:47:26 +00:00
..
ComponentName.c ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Diagnostics.c EmbeddedPkg/MmcDxe: eliminate deprecated string function calls 2016-10-28 15:54:00 +01:00
Mmc.c EmbeddedPkg/MmcDxe: Align the ExtCSD buffer 2017-07-05 16:07:54 +01:00
Mmc.h EmbeddedPkg: Fix Command Argument for SD/eMMC R/W operation. 2019-01-30 17:47:26 +00:00
MmcBlockIo.c EmbeddedPkg: Fix Command Argument for SD/eMMC R/W operation. 2019-01-30 17:47:26 +00:00
MmcDebug.c EmbeddedPkg/MmcDxe: Moved all the 'Print*()' functions to MmcDebug.c 2013-08-30 11:51:51 +00:00
MmcDxe.inf EmbeddedPkg: Remove dependency on TimerLib 2015-05-06 11:15:44 +00:00
MmcIdentification.c SD : Updated CMD 6 implememtation. 2017-09-07 17:06:44 +01:00