From 8e06b586e832e4c050eb506c2fadbdca5bf361ff Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 31 Mar 2011 12:12:58 +0000 Subject: ArmPlatformPkg: Introduce ArmPlatformInitialize() function This function is responsible to handle all the specific platform code that must be run in secure world to initialize some controllers. ArmPlatformPkg/Sec: Move the L2x0 initialization to ArmPlatformLib The L2x0 controller must be initialized in secure world. Move its initialization into the ArmPlatformInitialize() of the Cortex A9x4 Core Tile PlatformLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11476 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Include/Library/ArmPlatformLib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ArmPlatformPkg/Include') diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h index fe57c5a353..c9b215e6dc 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -67,6 +67,18 @@ VOID ArmPlatformIsMemoryInitialized(VOID); **/ VOID ArmPlatformInitializeBootMemory(VOID); +/** + Initialize controllers that must setup at the early stage + + Some peripherals must be initialized in Secure World. + For example, some L2x0 requires to be initialized in Secure World + +**/ +VOID +ArmPlatformInitialize ( + VOID + ); + /** Initialize the system (or sometimes called permanent) memory -- cgit v1.2.3