EmbeddedPkg/MmcDxe: Implement the correct macro to get the device size of SD 2 High Density cards
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12131 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -464,9 +464,8 @@ MmcIoBlocks (
|
||||
PrintCSD(Response);
|
||||
|
||||
if (MmcHostInstance->CardInfo.CardType == SD_CARD_2_HIGH) {
|
||||
ASSERT(0); //TODO: Implementation needed
|
||||
CardSize = MMC_CSD_GET_DEVICESIZE(Response);
|
||||
NumBlocks = ((CardSize + 1) * 1024);;
|
||||
CardSize = HC_MMC_CSD_GET_DEVICESIZE(Response);
|
||||
NumBlocks = ((CardSize + 1) * 1024);
|
||||
BlockSize = 1 << MMC_CSD_GET_READBLLEN(Response);
|
||||
} else {
|
||||
CardSize = MMC_CSD_GET_DEVICESIZE(Response);
|
||||
|
Reference in New Issue
Block a user