tcl: target: am437x: use entire SRAM area
authorFelipe Balbi <balbi@ti.com>
Sat, 14 Mar 2015 00:32:01 +0000 (19:32 -0500)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 14 Apr 2015 09:59:47 +0000 (10:59 +0100)
According to AM4379 TRM [1], table 2-1 L3 Memory Map,
we have a total of 256KiB and there's no reason not to
use it all.

[1] http://www.ti.com/lit/ug/spruhl7b/spruhl7b.pdf

Change-Id: I117f2afe721bc4e3f0df304d3542e1a91aa69d12
Signed-off-by: Felipe Balbi <balbi@ti.com>
Reviewed-on: http://openocd.zylin.com/2611
Tested-by: jenkins
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
tcl/target/am437x.cfg

index d6e1afaf9ae520403852525a2f974221ff32961d..c58cd894490fe9aefa92355bc4487167a6d50baf 100644 (file)
@@ -47,5 +47,5 @@ jtag configure $_CHIPNAME.jrc -event post-reset "runtest 100"
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.dap -dbgbase 0x80000000
 
-# SRAM: 64K at 0x4030.0000; use the first 16K
-$_TARGETNAME configure -work-area-phys 0x40300000 -work-area-size 0x4000
+# SRAM: 256K at 0x4030.0000
+$_TARGETNAME configure -work-area-phys 0x40300000 -work-area-size 0x40000