diff options
author | KasimX Liu <kasimx.liu@intel.com> | 2023-01-17 17:09:11 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-01-31 15:04:26 +0000 |
commit | 2f2fd79fc4000a9ef89792677e85c99224e5a035 (patch) | |
tree | bfe0c668336a0e39b7003a3433e22d55f2c485b1 /UefiPayloadPkg | |
parent | 35091031329e741b25ed60ac51f4710d75d92310 (diff) | |
download | edk2-2f2fd79fc4000a9ef89792677e85c99224e5a035.tar.gz edk2-2f2fd79fc4000a9ef89792677e85c99224e5a035.tar.bz2 edk2-2f2fd79fc4000a9ef89792677e85c99224e5a035.zip |
UefiPayloadPkg: Set RTC dynamic PCD to PeiPCDdatabase
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4193
In order to remove RTC_INDEX/RTC_TARGET from
the UplBuild macro list,change the RTC_INDEX
/RTC_TARGET type from PcdsFixedAtBuild to PcdsDynamicEx
Reviewed-by: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: James Lu <james.lu@intel.com>
Reviewed-by: Gua Guo <gua.guo@intel.com>
Signed-off-by: KasimX Liu <kasimx.liu@intel.com>
Diffstat (limited to 'UefiPayloadPkg')
-rw-r--r-- | UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf b/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf index 73f76064a0..06e83dbadc 100644 --- a/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf +++ b/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf @@ -37,6 +37,7 @@ [Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
+ PcAtChipsetPkg/PcAtChipsetPkg.dec
UefiPayloadPkg/UefiPayloadPkg.dec
[LibraryClasses]
@@ -52,6 +53,10 @@ [Ppis]
gEfiPeiLoadFilePpiGuid ## PRODUCES
+[Pcd]
+ gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister
+ gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister
+
[Guids]
gUniversalPayloadExtraDataGuid ## PRODUCES
|