]> git.sur5r.net Git - openocd/commitdiff
omap3530.cfg: yes we have SRAM!
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 26 Nov 2009 00:19:53 +0000 (16:19 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 26 Nov 2009 00:19:53 +0000 (16:19 -0800)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
tcl/target/omap3530.cfg

index 45f3c01ce59dd6493b39c69e11ef12e6adb1e97b..0a83423c68243319c085a30e07c3a74b4457d8f1 100644 (file)
@@ -38,6 +38,9 @@ jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME cortex_a8 -chain-position $_CHIPNAME.dap
 
+# SRAM: 64K at 0x4020.0000; use the first 16K
+$_TARGETNAME configure -work-area-phys 0x40200000 -work-area-size 0x4000
+
 ###################
 
 # the reset sequence is event-driven