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/PlatformPkg.fdf | |
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/PlatformPkg.fdf')
-rw-r--r-- | Vlv2TbltDevicePkg/PlatformPkg.fdf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformPkg.fdf b/Vlv2TbltDevicePkg/PlatformPkg.fdf index 143164a0d6..907f88a96d 100644 --- a/Vlv2TbltDevicePkg/PlatformPkg.fdf +++ b/Vlv2TbltDevicePkg/PlatformPkg.fdf @@ -342,6 +342,7 @@ INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf +INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
INF $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf !if $(MINNOW2_FSP_BUILD) == FALSE @@ -373,7 +374,6 @@ INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf !endif -INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf [FV.FVMAIN] BlockSize = $(FLASH_BLOCK_SIZE) @@ -525,6 +525,7 @@ INF $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf INF $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf INF $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf INF $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf +INF $(PLATFORM_PACKAGE)/PlatformRtcRuntimeDxe/PlatformRtcRuntimeDxe.inf
INF $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf INF $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf |