diff options
author | Lu, ShifeiX A <shifeix.a.lu@intel.com> | 2016-07-07 17:49:28 +0800 |
---|---|---|
committer | david wei <david.wei@intel.com> | 2016-07-08 14:00:27 +0800 |
commit | 2f893dd6f797e9b16d3d5df7281da3f47402b6f8 (patch) | |
tree | faf4c19a2bb757ab33b23ca6263eeb12844c84d6 /Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | |
parent | a4c45d2c0ce090796692e2d6e37c5e5a2149f75e (diff) | |
download | edk2-platforms-2f893dd6f797e9b16d3d5df7281da3f47402b6f8.tar.xz |
Vlv2TbltDevicePkg:Fixed system can't save time when RTC power failure.
This patch re-implemented SetTime runtime service for special usage on MinnowBoard Max which may have no RTC battery present. While user sets system time, SetTime service not only sets the time into RTC, but also saves it in UEFI variable. The next time when power failure occurred and RTC system time is lost, BIOS will read out the system time form UEFI variable and set it into RTC.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/PlatformPkgIA32.dsc')
-rw-r--r-- | Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc index 70ff2e0654..433ea7f7cc 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc @@ -887,6 +887,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag|0x0001 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1 !endif + gPlatformModuleTokenSpaceGuid.PcdRtcPowerFailure|FALSE
+
[PcdsDynamicExDefault.common.DEFAULT] gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040 gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0 @@ -969,6 +971,8 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf <PcdsFixedAtBuild> gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E !endif + <LibraryClasses>
+ PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
} !endif @@ -1337,6 +1341,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf + $(PLATFORM_PACKAGE)/PlatformRtcRuntimeDxe/PlatformRtcRuntimeDxe.inf
$(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf |