diff options
Diffstat (limited to 'bsps/arm/shared/start')
-rw-r--r-- | bsps/arm/shared/start/start.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index be87a16f7a..bc87e7b36d 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/shared/start/start.S @@ -404,6 +404,12 @@ _start: mcr p15, 0, r1, c1, c0, 0 isb +#ifdef RTEMS_SMP + /* Skip the data cache initialization if we are a secondary processor */ + cmp r7, #0 + bne .Ldata_caches_initialized +#endif + /* Check previous SCTLR[C] and initialize data caches */ tst r0, #0x4 bne .Lclean_invalidate_data_caches |