summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c2
-rw-r--r--DuetPkg/Library/DuetBdsLib/PlatformBds.inf5
2 files changed, 5 insertions, 2 deletions
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