summaryrefslogtreecommitdiffstats
path: root/bsps/arm/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-21 07:29:41 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-23 09:19:28 +0100
commit76a1a5378031e56d29d16c713aee73c6747c3e61 (patch)
tree8918ba94751b80d57d5dd07807d571f2580908bb /bsps/arm/include
parentbsps/arm: Set VBAR in start.S (diff)
downloadrtems-76a1a5378031e56d29d16c713aee73c6747c3e61.tar.bz2
bsps/arm: Invalidate branch predictors earlier
Make sure the branch predictors are invalidated before the first branch is executed. Update #4202.
Diffstat (limited to 'bsps/arm/include')
-rw-r--r--bsps/arm/include/bsp/arm-a9mpcore-start.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/bsps/arm/include/bsp/arm-a9mpcore-start.h b/bsps/arm/include/bsp/arm-a9mpcore-start.h
index f377745c56..38ddb03d16 100644
--- a/bsps/arm/include/bsp/arm-a9mpcore-start.h
+++ b/bsps/arm/include/bsp/arm-a9mpcore-start.h
@@ -141,8 +141,6 @@ BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_hook_0(void)
(volatile a9mpcore_scu *) BSP_ARM_A9MPCORE_SCU_BASE;
uint32_t cpu_id = arm_cortex_a9_get_multiprocessor_cpu_id();
- arm_cp15_branch_predictor_invalidate_all();
-
if (cpu_id == 0) {
arm_a9mpcore_start_scu_enable(scu);
}