summaryrefslogtreecommitdiff
path: root/firmware/target/mips
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/boot.lds2
-rw-r--r--firmware/target/mips/ingenic_jz47xx/crt0.S6
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/boot.lds b/firmware/target/mips/ingenic_jz47xx/boot.lds
index fb30fa240f..15d3e3dd47 100644
--- a/firmware/target/mips/ingenic_jz47xx/boot.lds
+++ b/firmware/target/mips/ingenic_jz47xx/boot.lds
@@ -8,7 +8,7 @@ STARTUP(target/mips/ingenic_jz47xx/crt0.o)
8 8
9#define DRAMSIZE ((MEMORYSIZE-4) * 0x100000) 9#define DRAMSIZE ((MEMORYSIZE-4) * 0x100000)
10 10
11#define DRAMORIG 0x80404000 11#define DRAMORIG 0x80E04000
12#define IRAMORIG 0x80000000 12#define IRAMORIG 0x80000000
13#define IRAMSIZE 16K 13#define IRAMSIZE 16K
14 14
diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S
index 111244b173..7035c5ab0b 100644
--- a/firmware/target/mips/ingenic_jz47xx/crt0.S
+++ b/firmware/target/mips/ingenic_jz47xx/crt0.S
@@ -50,12 +50,12 @@
50 .set noat 50 .set noat
51 51
52#ifdef BOOTLOADER 52#ifdef BOOTLOADER
53 /* These will get filled in scramble */ 53 /* These will get filled in by scramble */
54 .word 0 /* Unknown */ 54 .word 0 /* Empty */
55 .word 0 /* Filesize */ 55 .word 0 /* Filesize */
56 56
57 /* Relocate bootloader */ 57 /* Relocate bootloader */
58 la t0, (_loadaddress-0x400000) 58 la t0, (_loadaddress-0xE00000)
59 la t1, _loadaddress 59 la t1, _loadaddress
60 la t2, _bootend 60 la t2, _bootend
61_relocate_loop: 61_relocate_loop: