diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-02-01 19:00:47 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-02-25 15:57:11 +0000 |
commit | 54cddc3ad4b3a317985ce5f491f9b1f31ab10dd8 (patch) | |
tree | f44e5284952bbe8403d957580efeefaecc16e8f5 /ArmVirtPkg | |
parent | 2dbed5250648794bdb6cb0d9111af9924a4e4e00 (diff) | |
download | edk2-54cddc3ad4b3a317985ce5f491f9b1f31ab10dd8.tar.gz edk2-54cddc3ad4b3a317985ce5f491f9b1f31ab10dd8.tar.bz2 edk2-54cddc3ad4b3a317985ce5f491f9b1f31ab10dd8.zip |
ArmVirtPkg/ArmVirtKvmTool: wire up configurable timeout
Use the correct PCD type for PcdPlatformBootTimeOut so it gets wired up
to the Timeout EFI variable automatically, which is how the boot manager
stores the timeout preference.
Note that this changes the default to 5 seconds, which appears to be
common across platforms.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r-- | ArmVirtPkg/ArmVirtKvmTool.dsc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc index a1bf4b9be8..3bd3ebd6e0 100644 --- a/ArmVirtPkg/ArmVirtKvmTool.dsc +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc @@ -170,9 +170,10 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0
-[PcdsDynamicDefault.common]
- gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
+[PcdsDynamicHii]
+ gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
+[PcdsDynamicDefault.common]
gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0
gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0
gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0
|