summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PlatformPei
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-26 18:27:15 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-26 18:27:15 +0000
commitaa01abaa779cb30614c014a9314fe4f63bba0f88 (patch)
tree4e35e6edd7f629e6ffba168bf352e265d572ef16 /ArmPlatformPkg/PlatformPei
parentbf7d7a673b1d18829aa2d638be6f2ce84fb91ead (diff)
downloadedk2-aa01abaa779cb30614c014a9314fe4f63bba0f88.tar.gz
edk2-aa01abaa779cb30614c014a9314fe4f63bba0f88.tar.bz2
edk2-aa01abaa779cb30614c014a9314fe4f63bba0f88.zip
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
Diffstat (limited to 'ArmPlatformPkg/PlatformPei')
-rw-r--r--ArmPlatformPkg/PlatformPei/PlatformPei.c3
1 files changed, 3 insertions, 0 deletions
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));