summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/app.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index cf3c5a5..d85faf1 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -54,7 +54,7 @@ INPUT(target/sh/crt0.o)
#define DRAMORIG 0x00000100 + STUBOFFSET
#define IRAMSIZE 0x1000
/* This is not really IRAM!! Should be 0x40000000, but it doesn't work */
-#define IRAMORIG (MEMORYSIZE * 0x100000) - IRAMSIZE - LCD_BUFFER_SIZE - TTB_SIZE
+#define IRAMORIG (MEMORYSIZE * 0x100000) - IRAMSIZE - LCD_BUFFER_SIZE - TTB_SIZE + DRAMORIG
#elif CONFIG_CPU==DM320
#define DRAMORIG 0x00900000 + STUBOFFSET
#define IRAMORIG 0x00000000