]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/ArmVirtQemu: wire up timeout PCD to Timeout variable
authorArd Biesheuvel <ardb@kernel.org>
Tue, 2 Aug 2022 16:53:51 +0000 (18:53 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 26 Oct 2022 17:28:39 +0000 (17:28 +0000)
Use the appropriate PCD definition in the ArmVirtQemu DSC so that the
boot timeout is taken from the Timeout variable automatically, which is
what Linux tools such as efibootmgr expect.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
ArmVirtPkg/ArmVirtQemu.dsc

index 25abf5eb27aed9072c2943c0825139afa055a29b..a40234bf78356ba3b1d8d23cbac3d234d200020b 100644 (file)
   gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
 !endif\r
 \r
+  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5\r
+\r
 ################################################################################\r
 #\r
 # Components Section - list of all EDK II Modules needed by this Platform\r