summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s5l8700')
-rw-r--r--firmware/target/arm/s5l8700/boot.lds3
-rw-r--r--firmware/target/arm/s5l8700/crt0.S2
2 files changed, 2 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8700/boot.lds b/firmware/target/arm/s5l8700/boot.lds
index 637a3a29c1..308a97dca8 100644
--- a/firmware/target/arm/s5l8700/boot.lds
+++ b/firmware/target/arm/s5l8700/boot.lds
@@ -12,11 +12,10 @@ STARTUP(target/arm/s5l8700/crt0.o)
12#define DRAMORIG 0x08000000 12#define DRAMORIG 0x08000000
13#define DRAMSIZE (MEMORYSIZE * 0x100000) 13#define DRAMSIZE (MEMORYSIZE * 0x100000)
14 14
15#define IRAMORIG 0x22000000
15#if CONFIG_CPU==S5L8701 16#if CONFIG_CPU==S5L8701
16#define IRAMORIG 0x0
17#define IRAMSIZE 176K 17#define IRAMSIZE 176K
18#else 18#else
19#define IRAMORIG 0x22000000
20#define IRAMSIZE 256K 19#define IRAMSIZE 256K
21#endif 20#endif
22 21
diff --git a/firmware/target/arm/s5l8700/crt0.S b/firmware/target/arm/s5l8700/crt0.S
index 3cc376711c..98f98a3178 100644
--- a/firmware/target/arm/s5l8700/crt0.S
+++ b/firmware/target/arm/s5l8700/crt0.S
@@ -91,7 +91,7 @@ newstart2:
91#ifdef BOOTLOADER 91#ifdef BOOTLOADER
92 /* Relocate ourself to IRAM - we have been loaded to DRAM */ 92 /* Relocate ourself to IRAM - we have been loaded to DRAM */
93 mov r0, #0x08000000 /* source (DRAM) */ 93 mov r0, #0x08000000 /* source (DRAM) */
94 mov r1, #0x00000000 /* dest (IRAM) */ 94 mov r1, #0x22000000 /* dest (IRAM) */
95 ldr r2, =_dataend 95 ldr r2, =_dataend
961: 961:
97 cmp r2, r1 97 cmp r2, r1