aboutsummaryrefslogtreecommitdiff
path: root/cpu/arm_intcm/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm_intcm/start.S')
-rw-r--r--cpu/arm_intcm/start.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/arm_intcm/start.S b/cpu/arm_intcm/start.S
index 00314613d53..bb1f003592a 100644
--- a/cpu/arm_intcm/start.S
+++ b/cpu/arm_intcm/start.S
@@ -131,7 +131,7 @@ reset:
* we do sys-critical inits only at reboot,
* not when booting from ram!
*/
-#ifdef CONFIG_INIT_CRITICAL
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
bl cpu_init_crit
#endif
@@ -188,11 +188,13 @@ _start_armboot:
*************************************************************************
*/
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
cpu_init_crit:
/* arm_int_generic assumes the ARM boot monitor, or user software,
* has initialized the platform
*/
mov pc, lr /* back to my caller */
+#endif
/*
*************************************************************************
*