[rtems commit] bsp/arm: Erratum 764369 after enabling SCU

Sebastian Huber sebh at rtems.org
Thu Apr 17 11:21:10 UTC 2014


Module:    rtems
Branch:    master
Commit:    707b617294110804d36088effcd90b3b0b2d224c
Changeset: http://git.rtems.org/rtems/commit/?id=707b617294110804d36088effcd90b3b0b2d224c

Author:    Ralf Kirchner <ralf.kirchner at embedded-brains.de>
Date:      Wed Apr 16 16:04:56 2014 +0200

bsp/arm: Erratum 764369 after enabling SCU

Execute the SCU part of the workaround of arm erratum 764368 after the SCU was enabled.

---

 .../libbsp/arm/shared/include/arm-a9mpcore-start.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 e6c2671..4e8f323 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)




More information about the vc mailing list