diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/boot.lds | 2 | ||||
-rw-r--r-- | firmware/export/config-e200.h | 3 | ||||
-rw-r--r-- | firmware/target/arm/crt0-pp-bl.S | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index 0896e86fca..7f7bb9b12f 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds @@ -45,7 +45,9 @@ INPUT(target/sh/crt0.o) #define FLASHSIZE 2M #elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) #define DRAMORIG 0x10000000 +#ifndef IRAMORIG #define IRAMORIG 0x40000000 +#endif #define IRAMSIZE 0x20000 #define FLASHORIG 0x001f0000 #define FLASHSIZE 2M diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index fdcfa840eb..3bde3fc204 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h @@ -187,4 +187,7 @@ #define DEFAULT_REC_LEFT_GAIN 23 #define DEFAULT_REC_RIGHT_GAIN 23 +#ifdef E200R_INSTALLER +#define IRAMORIG 0x40004000 +#endif diff --git a/firmware/target/arm/crt0-pp-bl.S b/firmware/target/arm/crt0-pp-bl.S index 4f50cac699..ef04eced30 100644 --- a/firmware/target/arm/crt0-pp-bl.S +++ b/firmware/target/arm/crt0-pp-bl.S @@ -51,7 +51,7 @@ start: #endif msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ */ - +#ifndef E200R_INSTALLER /* 1 - Copy the bootloader to IRAM */ /* get the high part of our execute address */ ldr r7, =0xffffff00 @@ -79,6 +79,7 @@ pad_skip: /* 2 - Jump both CPU and COP there */ ldr pc, =start_loc /* jump to the relocated start_loc: */ +#endif /* E200R_INSTALLER */ start_loc: |