summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-08-02 18:53:51 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-26 17:28:39 +0000
commit9ca2dc7bec4dc8672953ae644a32749ad1516640 (patch)
treea1f948efbc705ce297b091ef841ce91191175017
parent2997ae38739756ecba9b0de19e86032ebc689ef9 (diff)
downloadedk2-9ca2dc7bec4dc8672953ae644a32749ad1516640.zip
edk2-9ca2dc7bec4dc8672953ae644a32749ad1516640.tar.gz
edk2-9ca2dc7bec4dc8672953ae644a32749ad1516640.tar.bz2
ArmVirtPkg/ArmVirtQemu: wire up timeout PCD to Timeout variable
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>
-rw-r--r--ArmVirtPkg/ArmVirtQemu.dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 25abf5e..a40234b 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -293,6 +293,8 @@
gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
!endif
+ gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
+
################################################################################
#
# Components Section - list of all EDK II Modules needed by this Platform