The Pi 2B v1.2 uses the same SoC as Pi 3B/3B+, but reports self as model 2.
Signed-off-by: Andrei Warkentin <[email protected]> --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c index 1091e680..c90c2530 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c @@ -322,9 +322,9 @@ ApplyVariables ( ASSERT_EFI_ERROR (Status); } - if (mModelFamily == 3) { + if (mModelFamily == 3 || mModelFamily == 2) { /* - * Pi 3: either Arasan or SdHost goes to SD card. + * Pi 2B v1.2 / Pi 3: either Arasan or SdHost goes to SD card. * * Switching two groups around, so disable both first. * -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58420): https://edk2.groups.io/g/devel/message/58420 Mute This Topic: https://groups.io/mt/73371876/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
