summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/crt0.S2
-rw-r--r--firmware/target/mips/ingenic_x1000/crt0.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S
index 258a5c02fc..1652bea8e5 100644
--- a/firmware/target/mips/ingenic_jz47xx/crt0.S
+++ b/firmware/target/mips/ingenic_jz47xx/crt0.S
@@ -185,7 +185,7 @@ _irq_stack_loop:
jal system_main /* Init clocks etc first */
ssnop
j main
- ssnop
+ move ra, zero /* init backtrace root */
/*
diff --git a/firmware/target/mips/ingenic_x1000/crt0.S b/firmware/target/mips/ingenic_x1000/crt0.S
index d079b01e2a..9d89ac1227 100644
--- a/firmware/target/mips/ingenic_x1000/crt0.S
+++ b/firmware/target/mips/ingenic_x1000/crt0.S
@@ -110,7 +110,7 @@ _realstart:
jal system_early_init
nop
j main
- nop
+ move ra, zero /* init backtrace root */
/* copy(void* src, void* dst, void* dst_end) */
_copy: