diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-12-21 07:29:41 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-12-23 09:19:28 +0100 |
commit | 76a1a5378031e56d29d16c713aee73c6747c3e61 (patch) | |
tree | 8918ba94751b80d57d5dd07807d571f2580908bb /bsps/arm/raspberrypi | |
parent | bsps/arm: Set VBAR in start.S (diff) | |
download | rtems-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/raspberrypi')
-rw-r--r-- | bsps/arm/raspberrypi/start/bspstarthooks.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bsps/arm/raspberrypi/start/bspstarthooks.c b/bsps/arm/raspberrypi/start/bspstarthooks.c index c46c4f5cbf..b050cb695e 100644 --- a/bsps/arm/raspberrypi/start/bspstarthooks.c +++ b/bsps/arm/raspberrypi/start/bspstarthooks.c @@ -110,7 +110,6 @@ void BSP_START_TEXT_SECTION bsp_start_hook_0(void) rtems_cache_invalidate_entire_data(); } rtems_cache_invalidate_entire_instruction(); - arm_cp15_branch_predictor_invalidate_all(); arm_cp15_tlb_invalidate(); arm_cp15_flush_prefetch_buffer(); |