From f437141a9cf4ce1052566a3b2bf656383f488d4a Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 2 May 2012 19:49:35 +0000 Subject: ArmPlatformPkg: Renamed and Invoked earlier ArmPlatformNormalInitialize() - ArmPlatformNormalInitialize() has been renamed into ArmPlatformInitialize() - Make the function be called at the early stage of the PEI phase as some platforms require their interconnects or clocks to be initialize before any access to Timers or UARTs. Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13245 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePi/PrePi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ArmPlatformPkg/PrePi') diff --git a/ArmPlatformPkg/PrePi/PrePi.c b/ArmPlatformPkg/PrePi/PrePi.c index b7b6429..f3cb3a1 100755 --- a/ArmPlatformPkg/PrePi/PrePi.c +++ b/ArmPlatformPkg/PrePi/PrePi.c @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011, ARM Limited. All rights reserved. +* Copyright (c) 2011-2012, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License @@ -175,6 +175,9 @@ CEntryPoint ( { UINT64 StartTimeStamp; + // Initialize the platform specific controllers + ArmPlatformInitialize (MpId); + if (IS_PRIMARY_CORE(MpId) && PerformanceMeasurementEnabled ()) { // Initialize the Timer Library to setup the Timer HW controller TimerConstructor (); -- cgit v1.1