Skip to content

Commit

Permalink
Platform/RaspberryPi: fix MmcTransferBlock (writes) regression for eMMC
Browse files Browse the repository at this point in the history
Way back when I added write block validation [0], I had screwed the
logic up, breaking eMMC.

This starts to matter on the CM3, which has eMMC.

[0] andreiw/RaspberryPiPkg@bdea35dc3f1652bf

Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
  • Loading branch information
andreiw authored and Ard Biesheuvel committed Apr 30, 2020
1 parent a95bebd commit 5290bbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Platform/RaspberryPi/Drivers/MmcDxe/MmcBlockIo.c
Expand Up @@ -47,6 +47,7 @@ ValidateWrittenBlockCount (
/*
* Not on MMC.
*/
*TransferredBlocks = Count;
return EFI_SUCCESS;
}

Expand Down

0 comments on commit 5290bbe

Please sign in to comment.