From cf02da5203db848a4ddcd6e33c2dec28c4ca4b74 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Wed, 26 Mar 2014 19:33:51 +0000 Subject: [PATCH] ArmPkg/ArmCortexA5xLib: Fixed setting of SMP bit On CortexA5x the SMP bit is BIT6 of CPUECTLR_EL1 register. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15398 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c b/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c index 890c9df165..7cae9f17f3 100644 --- a/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c +++ b/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c @@ -1,6 +1,6 @@ /** @file - Copyright (c) 2011-2013, ARM Limited. All rights reserved. + Copyright (c) 2011-2014, 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 @@ -37,7 +37,7 @@ ArmCpuSetup ( if (ArmIsMpCore ()) { // Turn on SMP coherency - ArmSetAuxCrBit (A5X_FEATURE_SMP); + ArmSetCpuExCrBit (A5X_FEATURE_SMP); } }