aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-03-13 19:32:01 -0500
committerPaul Fertser <fercerpav@gmail.com>2015-04-14 10:59:47 +0100
commit0baecf99437110356917430af396692fbc53a895 (patch)
tree34186ad624a1a96c83e0f30b985fd7d62b6c6c6f
parent589affe35bf49da421e977928120111cea8eb27e (diff)
downloadriscv-openocd-0baecf99437110356917430af396692fbc53a895.zip
riscv-openocd-0baecf99437110356917430af396692fbc53a895.tar.gz
riscv-openocd-0baecf99437110356917430af396692fbc53a895.tar.bz2
tcl: target: am437x: use entire SRAM area
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>
-rw-r--r--tcl/target/am437x.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/am437x.cfg b/tcl/target/am437x.cfg
index d6e1afa..c58cd89 100644
--- a/tcl/target/am437x.cfg
+++ b/tcl/target/am437x.cfg
@@ -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