diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c index e39700ddb0..0347005ab2 100644 --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c @@ -1156,7 +1156,7 @@ Returns: // // Init the time out value // - Timeout = BdsLibGetTimeout (); + Timeout = PcdGet16 (PcdPlatformBootTimeOut); // // Load the driver option as the driver option list diff --git a/DuetPkg/Library/DuetBdsLib/PlatformBds.inf b/DuetPkg/Library/DuetBdsLib/PlatformBds.inf index 70e3e65f18..c8bffc0b8a 100644 --- a/DuetPkg/Library/DuetBdsLib/PlatformBds.inf +++ b/DuetPkg/Library/DuetBdsLib/PlatformBds.inf @@ -60,4 +60,7 @@ gEfiAcpi20TableGuid gEfiMpsTableGuid gEfiSmbiosTableGuid - gEfiAcpiTableGuid \ No newline at end of file + gEfiAcpiTableGuid + +[Pcd] + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut \ No newline at end of file