diff mbox

[edk2,3/3] ArmVExpressPkg: disallow the use of ArmVExpressSysConfigLib at runtime

Message ID 1430331729-7367-4-git-send-email-ard.biesheuvel@linaro.org
State New
Headers show

Commit Message

Ard Biesheuvel April 29, 2015, 6:22 p.m. UTC
The ArmVExpressSysConfigLib library does not (and cannot) runtime
remap its MMIO registers, so we should prevent it from being used
by runtime drivers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 .../Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
index c1647756efbe..78d47f0b2ccb 100644
--- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
+++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
@@ -20,7 +20,7 @@ 
   FILE_GUID                      = a05b5cc0-82d2-11e0-82cb-0002a5d5c51b
   MODULE_TYPE                    = BASE
   VERSION_STRING                 = 1.0
-  LIBRARY_CLASS                  = ArmPlatformSysConfigLib
+  LIBRARY_CLASS                  = ArmPlatformSysConfigLib|BASE SEC DXE_CORE DXE_DRIVER
 
 [Sources.common]
   ArmVExpressSysConfig.c