From: Felipe Balbi Date: Sat, 14 Mar 2015 00:32:01 +0000 (-0500) Subject: tcl: target: am437x: use entire SRAM area X-Git-Tag: v0.9.0-rc1~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0baecf99437110356917430af396692fbc53a895;p=openocd 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 Reviewed-on: http://openocd.zylin.com/2611 Tested-by: jenkins Reviewed-by: Tom Rini Reviewed-by: Paul Fertser --- diff --git a/tcl/target/am437x.cfg b/tcl/target/am437x.cfg index d6e1afaf..c58cd894 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