summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx/crt0.S
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-28 06:24:26 -0400
committerMichael Giacomelli <giac2000@hotmail.com>2018-07-28 10:56:31 -0400
commit0662793ca0050e823cd1207cc4689a1cba5068bd (patch)
tree08cd2ec59c9044c96b697b5bf8d0640841d044e0 /firmware/target/mips/ingenic_jz47xx/crt0.S
parentb3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff)
downloadrockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz
rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/crt0.S')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/crt0.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S
index 0ae365022a..49de3e6a01 100644
--- a/firmware/target/mips/ingenic_jz47xx/crt0.S
+++ b/firmware/target/mips/ingenic_jz47xx/crt0.S
@@ -50,6 +50,7 @@
50 .set noat 50 .set noat
51 51
52#ifdef BOOTLOADER 52#ifdef BOOTLOADER
53#ifndef XDUOO_X3
53 /* These will get filled in by scramble */ 54 /* These will get filled in by scramble */
54 .word 0 /* Empty */ 55 .word 0 /* Empty */
55 .word 0 /* Filesize */ 56 .word 0 /* Filesize */
@@ -65,6 +66,7 @@ _relocate_loop:
65 bne t1, t2, _relocate_loop 66 bne t1, t2, _relocate_loop
66 sw t3, -4(t1) 67 sw t3, -4(t1)
67#endif 68#endif
69#endif
68 70
69_start: 71_start:
70 la ra, _start 72 la ra, _start