summaryrefslogtreecommitdiffstats
path: root/src/target/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware')
-rw-r--r--src/target/firmware/board/compal/ram.lds4
-rw-r--r--src/target/firmware/board/compal_e88/flash.lds4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/target/firmware/board/compal/ram.lds b/src/target/firmware/board/compal/ram.lds
index b52b619a..4f08a835 100644
--- a/src/target/firmware/board/compal/ram.lds
+++ b/src/target/firmware/board/compal/ram.lds
@@ -20,10 +20,10 @@ SECTIONS
. = 0x800000;
/* romloader data section, contains passthru interrupt vectors */
- .compal.loader (NOLOAD) : { . = 0x100; } > LRAM
+ .compal.loader (NOLOAD) : { . = 0x1c; } > LRAM
/* image signature (prepended by osmocon according to phone type) */
- .compal.header (NOLOAD) : { . = 4; } > LRAM
+ .compal.header 0x800100 (NOLOAD): { . = 4; } > LRAM
/* initialization code */
. = ALIGN(4);
diff --git a/src/target/firmware/board/compal_e88/flash.lds b/src/target/firmware/board/compal_e88/flash.lds
index 67d727ff..52148d92 100644
--- a/src/target/firmware/board/compal_e88/flash.lds
+++ b/src/target/firmware/board/compal_e88/flash.lds
@@ -91,8 +91,8 @@ SECTIONS
PROVIDE(_got_end = ADDR(.got) + SIZEOF(.got));
/* reserved ram */
- .compal.reservedram 0x800000 (NOLOAD) : {
- . = 0xff;
+ .compal.reservedram 0x800038 (NOLOAD) : {
+ . = 0xff - 0x38;
} > IRAM
/* initialized data */