From 707b617294110804d36088effcd90b3b0b2d224c Mon Sep 17 00:00:00 2001 From: Ralf Kirchner Date: Wed, 16 Apr 2014 16:04:56 +0200 Subject: bsp/arm: Erratum 764369 after enabling SCU Execute the SCU part of the workaround of arm erratum 764368 after the SCU was enabled. --- c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h index e6c2671e3b..4e8f323a64 100644 --- a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h +++ b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h @@ -93,8 +93,8 @@ arm_a9mpcore_start_errata_764369_handler(volatile a9mpcore_scu *scu) BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_scu_enable(volatile a9mpcore_scu *scu) { - arm_a9mpcore_start_errata_764369_handler(scu); scu->ctrl |= A9MPCORE_SCU_CTRL_SCU_EN; + arm_a9mpcore_start_errata_764369_handler(scu); } BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_hook_0(void) -- cgit v1.2.3