summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Platform/ARM/SgiPkg/SgiPlatform.dec1
-rw-r--r--Platform/ARM/SgiPkg/SgiPlatform.dsc.inc7
2 files changed, 8 insertions, 0 deletions
diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dec b/Platform/ARM/SgiPkg/SgiPlatform.dec
index 28d738f9..ed3064fc 100644
--- a/Platform/ARM/SgiPkg/SgiPlatform.dec
+++ b/Platform/ARM/SgiPkg/SgiPlatform.dec
@@ -31,6 +31,7 @@
[PcdsFeatureFlag.common]
gArmSgiTokenSpaceGuid.PcdVirtioBlkSupported|FALSE|BOOLEAN|0x00000001
gArmSgiTokenSpaceGuid.PcdVirtioNetSupported|FALSE|BOOLEAN|0x00000010
+ gArmSgiTokenSpaceGuid.PcdRasSupported|FALSE|BOOLEAN|0x0000000B
[PcdsFixedAtBuild]
gArmSgiTokenSpaceGuid.PcdDramBlock2Base|0|UINT64|0x00000002
diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
index 8167957d..c4b6a507 100644
--- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
+++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
@@ -180,6 +180,9 @@
gArmSgiTokenSpaceGuid.PcdVirtioNetSize|0x10000
gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt|204
+!if $(EDK2_ENABLE_RAS) == TRUE
+ gArmSgiTokenSpaceGuid.PcdRasSupported|TRUE
+!endif
#
# Set the base address and size of the buffer used
# for communication between the Normal world edk2
@@ -284,7 +287,11 @@
#
# platform driver
#
+!if $(EDK2_ENABLE_RAS) == TRUE
+ Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxeMm.inf
+!else
Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf
+!endif
#
# FAT filesystem + GPT/MBR partitioning