ArmPlatformPkg/ArmPlatformLib: Renamed ArmPlatformInitialize into ArmPlatformSecInitialize

Some platforms require some of their controllers to be initialized in Secure world.
This function make the difference between Secure and Normal world platform initialization.


ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformNormalInitialize

Contain the code that initializes platform controllers that would be initialized in Normal World
by PlatformPei.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11591 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin
2011-04-26 18:27:15 +00:00
parent bf7d7a673b
commit aa01abaa77
5 changed files with 115 additions and 26 deletions

View File

@@ -73,6 +73,9 @@ Returns:
DEBUG ((EFI_D_ERROR, "Platform PEIM Loaded\n"));
// Initialize the platform specific controllers
ArmPlatformNormalInitialize ();
BuildCpuHob (PcdGet8 (PcdPrePiCpuMemorySize), PcdGet8 (PcdPrePiCpuIoSize));
BuildFvHob (FixedPcdGet32(PcdFlashFvMainBase), FixedPcdGet32(PcdFlashFvMainSize));