ArmPlatformPkg: Replaced 'ArmGicSecLib' by 'ArmGicLib'

Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13265 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatformPkg.dsc
index 69cdfef..2788a99 100644
--- a/ArmPlatformPkg/ArmPlatformPkg.dsc
+++ b/ArmPlatformPkg/ArmPlatformPkg.dsc
@@ -79,9 +79,6 @@
   CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf

   ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf

   DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf

-

-  # ARM PL390 General Interrupt Driver in Secure and Non-secure

-  ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf

   ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf

 

   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf

@@ -336,15 +333,17 @@
   #

   # SEC

   #

-  ArmPlatformPkg/Sec/Sec.inf

+  ArmPlatformPkg/Sec/Sec.inf {

+    <LibraryClasses>

+      # Use the implementation which set the Secure bits

+      ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf

+  }

   

   #

   # PEI Phase modules

   #

   ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {

     <LibraryClasses>

-      ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf

-

       ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf

   }

   MdeModulePkg/Core/Pei/PeiMain.inf