diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 19:49:35 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 19:49:35 +0000 |
commit | f437141a9cf4ce1052566a3b2bf656383f488d4a (patch) | |
tree | 279ed373f5ad0c65714dd96012e43da428143bb4 /BeagleBoardPkg | |
parent | e9f7c58f25749c9a58e6d225e4103eaced867f9d (diff) | |
download | edk2-f437141a9cf4ce1052566a3b2bf656383f488d4a.tar.gz edk2-f437141a9cf4ce1052566a3b2bf656383f488d4a.tar.bz2 edk2-f437141a9cf4ce1052566a3b2bf656383f488d4a.zip |
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 <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13245 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BeagleBoardPkg')
-rwxr-xr-x | BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoard.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoard.c b/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoard.c index a806848ad5..f1235c5daf 100755 --- a/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoard.c +++ b/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoard.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 @@ -110,9 +110,9 @@ ArmPlatformGetBootMode ( For example, some L2x0 requires to be initialized in Secure World **/ -VOID -ArmPlatformNormalInitialize ( - VOID +RETURN_STATUS +ArmPlatformInitialize ( + IN UINTN MpId ) { BEAGLEBOARD_REVISION Revision; @@ -132,6 +132,8 @@ ArmPlatformNormalInitialize ( // Clear IRQs MmioWrite32 (INTCPS_CONTROL, INTCPS_CONTROL_NEWIRQAGR); ArmDataSyncronizationBarrier (); + + return RETURN_SUCCESS; } /** |