summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/crt0-pp.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/crt0-pp.S')
-rw-r--r--firmware/target/arm/crt0-pp.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 971b9e0ac5..2708ee3ad4 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -266,15 +266,11 @@ cop_init:
ldr r3, [r4]
tst r3, #SLEEPING
beq 1b
+#endif
/* Set up idle stack for COP and munge it with 0xdeadbeef */
- ldr r2, =cop_idlestackbegin
ldr sp, =cop_idlestackend
-#else
- /* Setup stack for COP and munge it with 0xdeadbeef */
- ldr r2, =cop_stackbegin
- ldr sp, =cop_stackend
-#endif
+ ldr r2, =cop_idlestackbegin
ldr r4, =0xdeadbeef
2:
cmp sp, r2