rpi5: change config defaults to what we need

main
Ari Gerus 2024-04-23 18:35:30 +02:00
parent f355364c2e
commit fe726b3452
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ in stdenv.mkDerivation rec {
prePatch = ''
rm -rf edk2/BaseTools
ln -sv ${rpi5-edk2-tools}/BaseTools edk2/BaseTools
sed -i -e '/ACPI_SD_LIMIT_UHS_DEFAULT/s/TRUE/FALSE/' edk2-platforms/Platform/RaspberryPi/RPi5/Drivers/RpiPlatformDxe/ConfigTable.h
sed -i -e '/default\s*= SYSTEM_TABLE_MODE_ACPI/s/SYSTEM_TABLE_MODE_ACPI/SYSTEM_TABLE_MODE_BOTH/' ./edk2-platforms/Platform/RaspberryPi/RPi5/Drivers/RpiPlatformDxe/RpiPlatformDxeHii.vfr
'';
configurePhase = ''