summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/boot.lds')
-rw-r--r--firmware/target/arm/as3525/boot.lds10
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/boot.lds b/firmware/target/arm/as3525/boot.lds
index 7a13d67a43..a98763e8f6 100644
--- a/firmware/target/arm/as3525/boot.lds
+++ b/firmware/target/arm/as3525/boot.lds
@@ -1,18 +1,22 @@
1#include "config.h" 1#include "config.h"
2#include "cpu.h"
2 3
3ENTRY(start) 4ENTRY(start)
4OUTPUT_FORMAT(elf32-littlearm) 5OUTPUT_FORMAT(elf32-littlearm)
5OUTPUT_ARCH(arm) 6OUTPUT_ARCH(arm)
6STARTUP(target/arm/crt0.o) 7STARTUP(target/arm/crt0.o)
7 8
8#define DRAMSIZE (MEMORYSIZE * 0x100000) 9/*
10No need for DRAM in our bootloader
11#define DRAMSIZE (MEMORYSIZE * 0x100000) - TTB_SIZE
9#define DRAMORIG 0x30000000 12#define DRAMORIG 0x30000000
10#define IRAMORIG 0 13*/
14#define IRAMORIG 0x81000000
11#define IRAMSIZE 0x50000 15#define IRAMSIZE 0x50000
12 16
13MEMORY 17MEMORY
14{ 18{
15 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE 19 /*DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE*/
16 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE 20 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
17} 21}
18 22