diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-26 07:20:33 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-26 07:20:33 +0000 |
commit | 6efe5f96052772f1a125a65839e3d276cf8b96f5 (patch) | |
tree | d54d5873546e137c8bc59104365497d7fc995489 /DuetPkg | |
parent | 21e97c72eb0df7d7c2449c1a6b8ced1d09d82e05 (diff) | |
download | edk2-6efe5f96052772f1a125a65839e3d276cf8b96f5.tar.gz edk2-6efe5f96052772f1a125a65839e3d276cf8b96f5.tar.bz2 edk2-6efe5f96052772f1a125a65839e3d276cf8b96f5.zip |
1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7709 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
-rw-r--r-- | DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 2 | ||||
-rw-r--r-- | DuetPkg/Library/DuetBdsLib/PlatformBds.inf | 5 |
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 |