summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/board
diff options
context:
space:
mode:
authorWolfram Sang <wolfram@the-dreams.de>2011-05-30 20:03:17 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-30 21:51:58 +0200
commit5bbea93772d3e490f0419aa22f33edac96af81c7 (patch)
treedbb10ef873c65c4b2ec6217ee4d701fda339e91b /src/target/firmware/board
parentfc0a28f5241faeb9ff73556ff1d14a2b6ce0e4be (diff)
board: mtk: increase RAM sizes in linker script
gcc3 (and some gcc4) produce code which does not fit into the 0x5000-sized RAM sections. Extend them to 0x6000 for now, so it will build correctly again. The created binary (gcc3) has been successfully tested on my G2. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'src/target/firmware/board')
-rw-r--r--src/target/firmware/board/mediatek/ram.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/board/mediatek/ram.lds b/src/target/firmware/board/mediatek/ram.lds
index 465c0ba9..a2af5609 100644
--- a/src/target/firmware/board/mediatek/ram.lds
+++ b/src/target/firmware/board/mediatek/ram.lds
@@ -11,9 +11,9 @@ ENTRY(_start)
MEMORY
{
/* mtk-loaded binary: our text, initialized data */
- LRAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00005000
+ LRAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00006000
/* mtk-loaded binary: our unitialized data, stacks, heap */
- IRAM (rw) : ORIGIN = 0x40005000, LENGTH = 0x00005000
+ IRAM (rw) : ORIGIN = 0x40006000, LENGTH = 0x00006000
}
SECTIONS
{