summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31')
-rw-r--r--firmware/target/arm/imx31/app.lds10
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/target/arm/imx31/app.lds b/firmware/target/arm/imx31/app.lds
index d8d7f4c642..ebfd2e9c60 100644
--- a/firmware/target/arm/imx31/app.lds
+++ b/firmware/target/arm/imx31/app.lds
@@ -9,18 +9,12 @@ STARTUP(target/arm/imx31/crt0.o)
9#define PLUGINSIZE PLUGIN_BUFFER_SIZE 9#define PLUGINSIZE PLUGIN_BUFFER_SIZE
10#define CODECSIZE CODEC_SIZE 10#define CODECSIZE CODEC_SIZE
11 11
12#ifdef DEBUG
13#define STUBOFFSET 0x10000
14#else
15#define STUBOFFSET 0
16#endif
17
18#include "imx31l.h" 12#include "imx31l.h"
19/* Subtract 1MB for the FRAME/TTB section */ 13/* Subtract 1MB for the FRAME/TTB section */
20#define DRAMSIZE ((MEMORYSIZE * 0x100000) - STUBOFFSET - CODECSIZE - \ 14#define DRAMSIZE ((MEMORYSIZE * 0x100000) - CODECSIZE - \
21 PLUGINSIZE - QHARRAY_SIZE - FRAME_SIZE - TTB_SIZE) 15 PLUGINSIZE - QHARRAY_SIZE - FRAME_SIZE - TTB_SIZE)
22 16
23#define DRAMORIG (0x0 + STUBOFFSET) 17#define DRAMORIG 0x0
24/* #define IRAMORIG 0x1FFFC000 */ 18/* #define IRAMORIG 0x1FFFC000 */
25#define IRAMORIG DRAMORIG 19#define IRAMORIG DRAMORIG
26#define IRAM DRAM 20#define IRAM DRAM