summaryrefslogtreecommitdiff
path: root/Platform/RaspberryPi/RPi4/RPi4.dsc
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2020-03-26 11:53:19 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2020-03-26 13:34:45 +0100
commit8e97b8f68d3309989115f48efc851db97f05070f (patch)
tree5ce9e005723918b99cbfd5b8698d7dd03ecdf088 /Platform/RaspberryPi/RPi4/RPi4.dsc
parentc358e37f94b73a617e8784a5cb51471f5f5c4535 (diff)
Platform/RPi/AcpiTables: Use PCDs in MADT
Instead of going through a model #ifdef, the call to EFI_ACPI_5_1_GICC_STRUCTURE_INIT () is factorized by setting up a new set of PCDs. Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Platform/RaspberryPi/RPi4/RPi4.dsc')
-rw-r--r--Platform/RaspberryPi/RPi4/RPi4.dsc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc
index 1abb0104..4fe4d810 100644
--- a/Platform/RaspberryPi/RPi4/RPi4.dsc
+++ b/Platform/RaspberryPi/RPi4/RPi4.dsc
@@ -431,6 +431,13 @@
#
gArmTokenSpaceGuid.PcdGicDistributorBase|0xFF841000
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xFF842000
+ gRaspberryPiTokenSpaceGuid.PcdGicInterruptInterfaceHBase|0xFF844000
+ gRaspberryPiTokenSpaceGuid.PcdGicInterruptInterfaceVBase|0xFF846000
+ gRaspberryPiTokenSpaceGuid.PcdGicGsivId|0x19
+ gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq0|0x30
+ gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq1|0x31
+ gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq2|0x32
+ gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq3|0x33
#
# Fixed CPU settings.