]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVExpressPkg: restrict ArmVExpressSysConfigLib to SEC and DXE_DRIVER
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 8 May 2015 12:08:24 +0000 (12:08 +0000)
committeroliviermartin <oliviermartin@Edk2>
Fri, 8 May 2015 12:08:24 +0000 (12:08 +0000)
Since ArmVExpressSysConfigLib cannot be supported at runtime, restrict
its use to the types of modules that are currently using it legally.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17382 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf

index c1647756efbe46814ef2039d380cc20f228d7e5d..b89455a421c3f20d403068d83431e565594680a7 100644 (file)
@@ -20,7 +20,7 @@
   FILE_GUID                      = a05b5cc0-82d2-11e0-82cb-0002a5d5c51b\r
   MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = ArmPlatformSysConfigLib\r
+  LIBRARY_CLASS                  = ArmPlatformSysConfigLib|SEC DXE_DRIVER\r
 \r
 [Sources.common]\r
   ArmVExpressSysConfig.c\r