summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/app.lds4
-rw-r--r--firmware/boot.lds4
-rw-r--r--firmware/rom.lds4
3 files changed, 12 insertions, 0 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index edb259aa2b..8e7dc02e27 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -100,7 +100,11 @@ _pluginbuf = 0;
100 100
101 101
102 102
103#if MEMORYSIZE >= 32
104#define PLUGINSIZE 0xC0000
105#else
103#define PLUGINSIZE 0x8000 106#define PLUGINSIZE 0x8000
107#endif
104 108
105#ifdef DEBUG 109#ifdef DEBUG
106#define STUBOFFSET 0x10000 110#define STUBOFFSET 0x10000
diff --git a/firmware/boot.lds b/firmware/boot.lds
index c61a4c836a..9493db7887 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -8,7 +8,11 @@ OUTPUT_FORMAT(elf32-sh)
8#endif 8#endif
9INPUT(crt0.o) 9INPUT(crt0.o)
10 10
11#if MEMORYSIZE >= 32
12#define PLUGINSIZE 0xC0000
13#else
11#define PLUGINSIZE 0x8000 14#define PLUGINSIZE 0x8000
15#endif
12 16
13#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE 17#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE
14 18
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 4da1e24c60..749998b637 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -8,7 +8,11 @@ OUTPUT_FORMAT(elf32-sh)
8#endif 8#endif
9INPUT(crt0.o) 9INPUT(crt0.o)
10 10
11#if MEMORYSIZE >= 32
12#define PLUGINSIZE 0xC0000
13#else
11#define PLUGINSIZE 0x8000 14#define PLUGINSIZE 0x8000
15#endif
12 16
13#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE 17#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE
14 18