summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhaval <dhaval@rivosinc.com>2024-06-11 08:23:13 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-14 03:38:47 +0000
commit1f4ae34f13a013af28764d930be9d356d00a8abf (patch)
tree9460e49ba7f725541aff2630bbeb06d95b8b5522
parent9fff9912fdea5bd871acfe548fe2f20fdb17dd64 (diff)
downloadedk2-1f4ae34f13a013af28764d930be9d356d00a8abf.tar.gz
edk2-1f4ae34f13a013af28764d930be9d356d00a8abf.tar.bz2
edk2-1f4ae34f13a013af28764d930be9d356d00a8abf.zip
UniversalPayload: Add RISC-V support for UPL PCDs
Expose UPL required PCDs for RISC-V Arch Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com>
-rw-r--r--UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf2
-rw-r--r--UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf2
-rw-r--r--UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf2
3 files changed, 3 insertions, 3 deletions
diff --git a/UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf b/UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf
index b9b7e90edc..339534b92e 100644
--- a/UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf
+++ b/UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf
@@ -42,7 +42,7 @@
gUniversalPayloadAcpiTableGuid
gUniversalPayloadSerialPortInfoGuid
-[Pcd.IA32,Pcd.X64]
+[Pcd.IA32,Pcd.X64,Pcd.RISCV64]
gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemSize
gUefiPayloadPkgTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
gUefiPayloadPkgTokenSpaceGuid.PcdHandOffFdtEnable
diff --git a/UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf b/UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf
index 634c7ff567..fb89608e05 100644
--- a/UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf
+++ b/UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf
@@ -35,6 +35,6 @@
PcdLib
HobLib
-[Pcd.IA32,Pcd.X64]
+[Pcd.IA32,Pcd.X64,Pcd.RISCV64]
gUefiPayloadPkgTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
gUefiPayloadPkgTokenSpaceGuid.PcdHandOffFdtEnable
diff --git a/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf b/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf
index 37e3cc8efa..1838b4f33d 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf
+++ b/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf
@@ -82,7 +82,7 @@
[FeaturePcd.X64]
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables ## CONSUMES
-[Pcd.IA32,Pcd.X64]
+[Pcd.IA32,Pcd.X64,Pcd.RISCV64]
gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES