summaryrefslogtreecommitdiff
path: root/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 07:21:40 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 07:21:40 +0000
commit12a738edadbf27c04f2808d6765c25ca8a33be99 (patch)
tree0f9794137b69a5902768408b2d372d7402e0dfcc /UnixPkg/Library/UnixBdsLib/BdsPlatform.c
parent6efe5f96052772f1a125a65839e3d276cf8b96f5 (diff)
downloadedk2-platforms-12a738edadbf27c04f2808d6765c25ca8a33be99.tar.xz
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@7710 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Library/UnixBdsLib/BdsPlatform.c')
-rw-r--r--UnixPkg/Library/UnixBdsLib/BdsPlatform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
index f4d32f1a57..84a56faf76 100644
--- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
+++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
@@ -332,7 +332,7 @@ Returns:
//
// Init the time out value
//
- Timeout = BdsLibGetTimeout ();
+ Timeout = PcdGet16 (PcdPlatformBootTimeOut);
//
// Load the driver option as the driver option list