summaryrefslogtreecommitdiff
path: root/Platform
diff options
context:
space:
mode:
authorAditya Angadi <aditya.angadi@arm.com>2020-12-18 19:37:24 +0530
committerArd Biesheuvel <ard.biesheuvel@arm.com>2021-01-04 18:47:33 +0100
commita03239dcbe31c12625d4603adeb7ea75be4c9ef5 (patch)
tree326d8c374328669f397fdc2a7e98b29b3d12b4d7 /Platform
parentbd3b34bae14acb7545c6c23373bb91fe8aefb3d1 (diff)
Platform/ARM/SgiPkg: Define base address PCD for derivative platforms
The upcoming derivative platforms to be supported under SgiPkg have changes in the base address for some of the components. Define PCDs for those base address in a different includeable platform description file so that it can be included in platforms that have and updated memory map. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'Platform')
-rw-r--r--Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc b/Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc
new file mode 100644
index 00000000..41291edd
--- /dev/null
+++ b/Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc
@@ -0,0 +1,46 @@
+#
+# Copyright (c) 2020, ARM Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+
+[PcdsFixedAtBuild.common]
+ # System Peripherals
+ gArmSgiTokenSpaceGuid.PcdSmcCs0Base|0x08000000
+ gArmSgiTokenSpaceGuid.PcdSmcCs1Base|0x1050000000
+ gArmSgiTokenSpaceGuid.PcdSysPeriphBase|0x0C000000
+ gArmSgiTokenSpaceGuid.PcdSysPeriphSysRegBase|0x0C010000
+
+ # Non-Volatile variable storage
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x1050000000
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x1051400000
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x1052800000
+
+ # PL011 - Serial Terminal
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0EF70000
+
+ # PL370 - HDLCD1
+ gArmPlatformTokenSpaceGuid.PcdArmHdLcdBase|0x0EF60000
+
+ # PL011 - Serial Debug UART
+ gArmPlatformTokenSpaceGuid.PcdSerialDbgRegisterBase|0x0EF70000
+ gArmPlatformTokenSpaceGuid.PL011UartInterrupt|403
+
+ # PL031 RealTimeClock
+ gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0C170000
+
+ # Virtio Disk
+ gArmSgiTokenSpaceGuid.PcdVirtioBlkBaseAddress|0x0C130000
+ gArmSgiTokenSpaceGuid.PcdVirtioBlkSize|0x10000
+ gArmSgiTokenSpaceGuid.PcdVirtioBlkInterrupt|458
+
+ # Ethernet
+ gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress|0x0C150000
+ gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt|460
+
+ # PCIe
+ gArmTokenSpaceGuid.PcdPciMmio32Base|0x60000000
+ gArmTokenSpaceGuid.PcdPciMmio32Size|0x10000000
+ gArmTokenSpaceGuid.PcdPciMmio64Base|0x4000000000
+ gArmTokenSpaceGuid.PcdPciMmio64Size|0x4000000000
+ gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x1010000000