summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Angadi <aditya.angadi@arm.com>2020-11-27 10:24:38 +0530
committerThomas Abraham <thomas.abraham@arm.com>2020-11-28 01:48:55 +0530
commit8a69268aacb0e6b4a1cec41f8016099d7d485bcd (patch)
tree5c9d7319bd56628f553696b83b848ae8ecaaded6
parentfbf6f92376d013f806388bddd8218c2b46ea61a3 (diff)
Platform/ARM/SgiPkg: Add initial support for RD-N2 platform
Arm's RD-N2 platform is built using 16 Neoverse N2 cores and connected to 8GB of RAM. Add initial platform support for this platform. Change-Id: I7fb4a04fd42bc7e6b34fc58756728f278fdf6073 Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
-rw-r--r--Platform/ARM/SgiPkg/RdN2/RdN2.dsc52
-rw-r--r--Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc10
2 files changed, 62 insertions, 0 deletions
diff --git a/Platform/ARM/SgiPkg/RdN2/RdN2.dsc b/Platform/ARM/SgiPkg/RdN2/RdN2.dsc
new file mode 100644
index 00000000..0f46ba5b
--- /dev/null
+++ b/Platform/ARM/SgiPkg/RdN2/RdN2.dsc
@@ -0,0 +1,52 @@
+#
+# Copyright (c) 2020, ARM Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+
+################################################################################
+#
+# Defines Section - statements that will be processed to create a Makefile.
+#
+################################################################################
+[Defines]
+ PLATFORM_NAME = RdN2
+ PLATFORM_GUID = c84a59cc-2103-4750-9d69-fe0f03d84465
+ PLATFORM_VERSION = 0.1
+ DSC_SPECIFICATION = 0x0001001B
+ OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
+ SUPPORTED_ARCHITECTURES = AARCH64|ARM
+ BUILD_TARGETS = NOOPT|DEBUG|RELEASE
+ SKUID_IDENTIFIER = DEFAULT
+ FLASH_DEFINITION = Platform/ARM/SgiPkg/SgiPlatform.fdf
+ BOARD_DXE_FV_COMPONENTS = Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc
+ BUILD_NUMBER = 1
+
+# include common definitions from SgiPlatform.dsc
+!include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
+!include Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc
+
+################################################################################
+#
+# Pcd Section - list of all EDK II PCD Entries defined by this Platform
+#
+################################################################################
+
+[PcdsFixedAtBuild.common]
+ # GIC Base Addresses
+ gArmTokenSpaceGuid.PcdGicDistributorBase|0x30000000
+ gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x30140000
+ gArmSgiTokenSpaceGuid.PcdGicSize|0x200000
+
+ # ARM Cores and Clusters
+ gArmPlatformTokenSpaceGuid.PcdCoreCount|1
+ gArmPlatformTokenSpaceGuid.PcdClusterCount|16
+
+################################################################################
+#
+# Components Section - list of all EDK II Modules needed by this Platform
+#
+################################################################################
+
+[Components.common]
+ Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
diff --git a/Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc b/Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc
new file mode 100644
index 00000000..ebd6ed90
--- /dev/null
+++ b/Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2020, ARM Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+
+# Per-platform additional content of the DXE phase firmware volume
+
+ # ACPI support
+ INF RuleOverride=ACPITABLE Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf