From 6fe9844d566d81b04ebc0030cb2d571d3302ca5d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 16 Dec 2015 14:09:34 -0600 Subject: [PATCH] LaunchXL-TMS57004: Fix linker script. Still had SAMV71 memory map --- configs/launchxl-tms57004/scripts/flash-sram.ld | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/configs/launchxl-tms57004/scripts/flash-sram.ld b/configs/launchxl-tms57004/scripts/flash-sram.ld index 39f29038362..bb4f7f16851 100644 --- a/configs/launchxl-tms57004/scripts/flash-sram.ld +++ b/configs/launchxl-tms57004/scripts/flash-sram.ld @@ -33,18 +33,14 @@ * ****************************************************************************/ -/* The SAMV71Q21 has 2048Kb of FLASH beginning at address 0x0040:0000 and - * 384Kb of SRAM beginining at 0x2040:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0400:0000 address range (Assuming that ITCM is not enable). +/* The TMS570LS0432PZ has 384KB of FLASH beginning at address 0x0000:0000 and + * 32Kb of SRAM beginining at 0x0800:0000 */ MEMORY { - flash (rx) : ORIGIN = 0x00400000, LENGTH = 2048K - sram (rwx) : ORIGIN = 0x20400000, LENGTH = 384K + flash (rx) : ORIGIN = 0x00000000, LENGTH = 384K + sram (rwx) : ORIGIN = 0x08000000, LENGTH = 32K } OUTPUT_ARCH(arm)