summaryrefslogtreecommitdiff
path: root/Silicon/AMD/Styx/AcpiTables/Pptt.c
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2018-04-30 17:29:05 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-05-01 13:47:38 +0200
commitada17bc975be79620c126ae9a856e45c866f5701 (patch)
tree68b8a304cfda88cc2d5cc87aba11cb6d4aaf84a2 /Silicon/AMD/Styx/AcpiTables/Pptt.c
parent0f980aeb3e4456668aa2c4092926a5303e242c0b (diff)
downloadedk2-platforms-ada17bc975be79620c126ae9a856e45c866f5701.tar.xz
Platform/ARM: Map Platform Boot Timeout PCD to global NV variable
Table 13 of UEFI Specification 2.7A describes Timeout global variable as NV (non-volatile), however gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut is defined in [PcdsFixedAtBuild.common] section of Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc. This prevents the timeout value from being persistent across resets and power cycles, see BdsEntry() code in MdeModulePkg/Universal/BdsDxe/BdsEntry.c: // // Initialize L"Timeout" EFI global variable. // BootTimeOut = PcdGet16 (PcdPlatformBootTimeOut); This patch fixes the above issue by mapping PcdPlatformBootTimeOut to global NV variable "Timeout" as a PcdsDynamicHii PCD. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Reviewed-by: Evan Lloyd <Evan.Lloyd@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Silicon/AMD/Styx/AcpiTables/Pptt.c')
0 files changed, 0 insertions, 0 deletions