summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-19 16:02:50 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-19 16:05:54 +0100
commit741fe4708895d8289e1ea91d4ffd856d5c725918 (patch)
tree2c2ba7e2f6cffa7d98be5587d98d61c797f1fc4d
parentbsp/imx7: Rename linker command file (diff)
downloadrtems-741fe4708895d8289e1ea91d4ffd856d5c725918.tar.bz2
bsp/lpc32xx: Fix linker command file
-rw-r--r--bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore5
1 files changed, 4 insertions, 1 deletions
diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore
index b79447f98d..2459da2557 100644
--- a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore
+++ b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore
@@ -38,7 +38,8 @@
MEMORY {
RAM_INT : ORIGIN = 0x08000000, LENGTH = 256k
RAM_MMU : ORIGIN = 0x80000000, LENGTH = 16k /* SDRAM on DYCS0 */
- RAM_EXT : ORIGIN = 0x80004000, LENGTH = 64M - 16k /* SDRAM on DYCS0 */
+ RAM_SCRATCH : ORIGIN = 0x80004000, LENGTH = 4k /* SDRAM on DYCS0 */
+ RAM_EXT : ORIGIN = 0x80004000, LENGTH = 64M - 20k /* SDRAM on DYCS0 */
ROM_EXT : ORIGIN = 0xe0000000, LENGTH = 2M /* NOR flash on CS0 */
}
@@ -60,6 +61,8 @@ REGION_ALIAS ("REGION_STACK", RAM_INT);
REGION_ALIAS ("REGION_NOCACHE", RAM_INT);
REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM_INT);
+lpc32xx_scratch_area = ORIGIN (RAM_SCRATCH);
+
bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;