[PATCH] UefiPayloadPkg: Hook up PCIE_BASE build option


Sean Rhodes
 

Hook up PCIE_BASE to PcdPciExpressBaseAddress

Cc: Guo Dong <guo.dong@...>
Cc: Ray Ni <ray.ni@...>
Cc: Maurice Ma <maurice.ma@...>
Cc: Benjamin You <benjamin.you@...>
Signed-off-by: Sean Rhodes <sean@...>
---
UefiPayloadPkg/UefiPayloadPkg.dsc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload=
Pkg.dsc
index cfcf38578d..d8afb28d13 100644
--- a/UefiPayloadPkg/UefiPayloadPkg.dsc
+++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
@@ -33,6 +33,8 @@
DEFINE UNIVERSAL_PAYLOAD =3D FALSE=0D
DEFINE SECURITY_STUB_ENABLE =3D TRUE=0D
DEFINE SMM_SUPPORT =3D FALSE=0D
+ DEFINE PCIE_BASE_ADDRESS =3D 0=0D
+ DEFINE PCIE_BASE_LENGTH =3D 0=0D
DEFINE PLATFORM_BOOT_TIMEOUT =3D 3=0D
DEFINE ABOVE_4G_MEMORY =3D TRUE=0D
DEFINE BOOT_MANAGER_ESCAPE =3D FALSE=0D
@@ -506,8 +508,8 @@
=0D
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31=0D
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100=0D
- gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0=0D
- gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0=0D
+ gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|$(PCIE_BASE_ADDRESS)=0D
+ gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|$(PCIE_BASE_LENGTH)=0D
gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0=0D
gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE=0D
gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0=0D
--=20
2.34.1

Join devel@edk2.groups.io to automatically receive all group messages.