From aa01abaa779cb30614c014a9314fe4f63bba0f88 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 26 Apr 2011 18:27:15 +0000 Subject: 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 --- ArmPlatformPkg/PlatformPei/PlatformPei.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ArmPlatformPkg/PlatformPei') diff --git a/ArmPlatformPkg/PlatformPei/PlatformPei.c b/ArmPlatformPkg/PlatformPei/PlatformPei.c index 0d90173670..f3e96782f1 100644 --- a/ArmPlatformPkg/PlatformPei/PlatformPei.c +++ b/ArmPlatformPkg/PlatformPei/PlatformPei.c @@ -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)); -- cgit v1.2.3