summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
diff options
context:
space:
mode:
authorZhiguang Liu <zhiguang.liu@intel.com>2021-06-10 09:49:17 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-06-16 05:20:19 +0000
commitd58016b768cf82cebbf579e1e5658ef89641d944 (patch)
treed2e0c7656dd1f7747c43bf2befa442f343b55bec /UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
parent11b1c1d4b98bc1b5eaaaf9eaa94ecd34eeaba5f9 (diff)
downloadedk2-d58016b768cf82cebbf579e1e5658ef89641d944.tar.gz
edk2-d58016b768cf82cebbf579e1e5658ef89641d944.tar.bz2
edk2-d58016b768cf82cebbf579e1e5658ef89641d944.zip
UefiPayloadPkg: Get platform specific logic via protocol for BDS
Currently, BDS driver will link a PlatformBootManagerLib, which contains platform specific logic. This patch get the platform specific logic from a protocol, so that platform logic for Boot manager can be in another binary. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf')
-rw-r--r--UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf3
1 files changed, 2 insertions, 1 deletions
diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
index 1f5a0bcad0..600a535282 100644
--- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
+++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
@@ -1,7 +1,7 @@
## @file
# Include all platform action which can be customized by IBV/OEM.
#
-# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2012 - 2021, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -57,6 +57,7 @@
gEfiBootLogoProtocolGuid ## CONSUMES
gEfiDxeSmmReadyToLockProtocolGuid
gEfiSmmAccess2ProtocolGuid
+ gUniversalPayloadPlatformBootManagerOverrideProtocolGuid
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut