Skip to content
Commit 6c090ea0 authored by Andrei Warkentin's avatar Andrei Warkentin Committed by Ard Biesheuvel
Browse files

Platform/RPi/MmcDxe: Improve MMC driver stability



For reasons that aren't entirely understood, SCR reads can randomly
fail on the Raspberry Pi 4. It can be on the first boot or during
subsequent reboots.

To alleviate this, and improve the overall behavior of the code,
we modify CheckCardsCallback () to retry InitializeMmcDevice ()
in case of failure.

Signed-off-by: default avatarPete Batard <pete@akeo.ie>
Reviewed-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent e3ddb891
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment