summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorLeo Duran <leo.duran@amd.com>2017-11-01 01:54:52 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-11-23 11:30:19 +0800
commite78aab9d2f1423f2ec4a82e0e36eff4dfd7c56ea (patch)
treee3556fb865f3dde9ca5de29b2db3e47cbec55b94 /PcAtChipsetPkg
parent7729e3c448a116eb5b6198f0f70355f421df43fa (diff)
downloadedk2-e78aab9d2f1423f2ec4a82e0e36eff4dfd7c56ea.tar.gz
edk2-e78aab9d2f1423f2ec4a82e0e36eff4dfd7c56ea.tar.bz2
edk2-e78aab9d2f1423f2ec4a82e0e36eff4dfd7c56ea.zip
PcAtChipsetPkg: Define FixePCD's for RTC register values
Define FixedPCD's to replace macros in RTC driver, to allow for platform-specific configurations. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leo Duran <leo.duran@amd.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r--PcAtChipsetPkg/PcAtChipsetPkg.dec13
1 files changed, 13 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipsetPkg.dec
index b0b2b62bb3..f11d2045a4 100644
--- a/PcAtChipsetPkg/PcAtChipsetPkg.dec
+++ b/PcAtChipsetPkg/PcAtChipsetPkg.dec
@@ -5,6 +5,7 @@
# PcAt defacto standard.
#
# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -181,5 +182,17 @@
# @Prompt Reset Control Register value for cold reset
gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlValueColdReset|0xFE|UINT8|0x0000001A
+ ## Specifies the initial value for Register_A in RTC.
+ # @Prompt Initial value for Register_A in RTC.
+ gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA|0x26|UINT8|0x0000001B
+
+ ## Specifies the initial value for Register_B in RTC.
+ # @Prompt Initial value for Register_B in RTC.
+ gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB|0x02|UINT8|0x0000001C
+
+ ## Specifies the initial value for Register_D in RTC.
+ # @Prompt Initial value for Register_D in RTC.
+ gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD|0x00|UINT8|0x0000001D
+
[UserExtensions.TianoCore."ExtraFiles"]
PcAtChipsetPkgExtra.uni