audk/EmbeddedPkg
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
..
Application EmbeddedPkg/AndroidFastbootApp: only use ENTER or SPACE to exit 2018-08-24 15:44:18 +01:00
Drivers EmbeddedPkg/VirtualKeyboard: Avoid notification called more than once 2018-09-14 10:18:31 +08:00
EmbeddedMonotonicCounter ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
GdbStub EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +01:00
Include EmbeddedPkg/PrePiHobLib: drop CreateHobList() from library 2018-11-29 18:52:14 +01:00
Library EmbeddedPkg/NorFlashInfoLib: convert to BASE library 2019-01-16 21:37:10 +01:00
MetronomeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
RealTimeClockRuntimeDxe EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into core 2017-11-13 13:33:26 +00:00
ResetRuntimeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Scripts/LauterbachT32 EmbeddedPkg: Rectify file modes 2016-02-02 11:42:51 +00:00
SimpleTextInOutSerial ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Universal/MmcDxe EmbeddedPkg: Fix Command Argument for SD/eMMC R/W operation. 2019-01-30 17:47:26 +00:00
EmbeddedPkg.dec EmbeddedPkg/EmbeddedPkg.dec: drop PcdPrePiCpuMemorySize declarations 2018-11-30 22:43:20 +01:00
EmbeddedPkg.dsc EmbeddedPkg: remove GdbDebugAgent library 2018-12-19 16:29:29 +01:00