summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Jin <eric.jin@intel.com>2019-07-26 10:39:04 +0800
committerLiming Gao <liming.gao@intel.com>2019-08-14 12:29:28 +0800
commit91c230578ca40bd0389f2799fcf01d36d54f91a1 (patch)
tree2f353079367ec45a15a814b38343fe1a0188d5b4
parent82407bd129dca8ec6d96e85f541b0974c8d7e087 (diff)
downloadedk2-91c230578ca40bd0389f2799fcf01d36d54f91a1.tar.gz
edk2-91c230578ca40bd0389f2799fcf01d36d54f91a1.tar.bz2
edk2-91c230578ca40bd0389f2799fcf01d36d54f91a1.zip
FmpDevicePkg: Add UEFI_DRIVER support
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525 Allow libs to be used with modules of type UEFI_DRIVE. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Eric Jin <eric.jin@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r--FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf4
-rw-r--r--FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf4
2 files changed, 4 insertions, 4 deletions
diff --git a/FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf b/FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
index 956d2258aa..9c77e5bde0 100644
--- a/FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
+++ b/FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
@@ -3,7 +3,7 @@
# image stored in a firmware device.
#
# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
-# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
@@ -15,7 +15,7 @@
FILE_GUID = 8507642B-AE92-4664-B713-807F7774A96D
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = FmpDeviceLib|DXE_DRIVER
+ LIBRARY_CLASS = FmpDeviceLib|DXE_DRIVER UEFI_DRIVER
#
# The following information is for reference only and not required by the build tools.
diff --git a/FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf b/FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
index d1bfbb6bd8..0d6692dcec 100644
--- a/FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
+++ b/FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
@@ -6,7 +6,7 @@
# may be added to this library class to retrieve the new information.
#
# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
-# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
@@ -17,7 +17,7 @@
FILE_GUID = 98A79A6C-513C-4E72-8375-39C0A7244C4B
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = FmpPayloadHeaderLib|DXE_DRIVER UEFI_APPLICATION
+ LIBRARY_CLASS = FmpPayloadHeaderLib|DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64