summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
index 341f5c1596..1e87820e93 100644
--- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -1185,7 +1185,6 @@ Returns:
--*/
{
EFI_STATUS Status;
- UINT16 Timeout;
EFI_BOOT_MODE BootMode;
DEBUG ((EFI_D_INFO, "PlatformBdsPolicyBehavior\n"));
@@ -1204,11 +1203,6 @@ Returns:
}
//
- // Init the time out value
- //
- Timeout = PcdGet16 (PcdPlatformBootTimeOut);
-
- //
// Load the driver option as the driver option list
//
PlatformBdsGetDriverOption (DriverOptionList);
@@ -1261,7 +1255,7 @@ Returns:
//
BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder");
- PlatformBdsEnterFrontPage (Timeout, TRUE);
+ PlatformBdsEnterFrontPage (GetFrontPageTimeoutFromQemu(), TRUE);
}
VOID