summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-01-02 14:00:44 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2019-01-16 21:37:10 +0100
commit66cffa652512505c7d05ff7f623393efbb1d40ec (patch)
tree3422df613e8a89fbea1bad500402cbe84cc6cfd3 /EmbeddedPkg
parent31f5388006fcb6e8582e5bce3f5438ae707de986 (diff)
downloadedk2-66cffa652512505c7d05ff7f623393efbb1d40ec.tar.gz
edk2-66cffa652512505c7d05ff7f623393efbb1d40ec.tar.bz2
edk2-66cffa652512505c7d05ff7f623393efbb1d40ec.zip
EmbeddedPkg/NorFlashInfoLib: convert to BASE library
The library's MODULE_TYPE and the module type restrictions it defines are needlessly strict. Just change the library to BASE type and drop the restrictions entirely. Also, drop a bogus library dependency on DxeServicesLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r--EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf5
1 files changed, 2 insertions, 3 deletions
diff --git a/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf b/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
index b4b33247fa..ee207ae7e9 100644
--- a/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
+++ b/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
@@ -16,9 +16,9 @@
INF_VERSION = 0x00010019
BASE_NAME = NorFlashInfoLib
FILE_GUID = 6b639c7e-9b53-4e9f-89a3-2e711729709c
- MODULE_TYPE = DXE_DRIVER
+ MODULE_TYPE = BASE
VERSION_STRING = 1.0
- LIBRARY_CLASS = NorFlashInfoLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
+ LIBRARY_CLASS = NorFlashInfoLib
[Sources]
NorFlashInfoLib.c
@@ -30,5 +30,4 @@
[LibraryClasses]
BaseLib
DebugLib
- DxeServicesLib
MemoryAllocationLib