diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2023-07-17 15:52:14 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-07-21 05:56:55 +0000 |
commit | 925c445fd37bf529ca78f9d6c416cca37c7e6da5 (patch) | |
tree | daeab487274de154f0dc60817dd3d2460a436394 /OvmfPkg/RiscVVirt/Library | |
parent | 7427dd3fc0288a96704b4f98336d7f3ad0cd52ac (diff) | |
download | edk2-925c445fd37bf529ca78f9d6c416cca37c7e6da5.tar.gz edk2-925c445fd37bf529ca78f9d6c416cca37c7e6da5.tar.bz2 edk2-925c445fd37bf529ca78f9d6c416cca37c7e6da5.zip |
OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value
Print the timeout value set in the PCD variable instead of
hard coded 10 seconds.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com>
Diffstat (limited to 'OvmfPkg/RiscVVirt/Library')
-rw-r--r-- | OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c b/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c index be4316f320..44fd21f74f 100644 --- a/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c +++ b/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c @@ -936,7 +936,7 @@ PlatformBootManagerAfterConsole ( );
}
- Print (L"Press ESCAPE within 10 seconds for boot options ");
+ Print (L"Press ESCAPE within %u seconds for boot options ", PcdGet16 (PcdPlatformBootTimeOut));
//
// Process QEMU's -kernel command line option. The kernel booted this way
// will receive ACPI tables: in PlatformBootManagerBeforeConsole(), we
|