]> git.sur5r.net Git - openocd/commit
tcl: target: am437x.cfg: pass correct dbgbase
authorFelipe Balbi <balbi@ti.com>
Fri, 13 Mar 2015 22:10:42 +0000 (17:10 -0500)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 14 Apr 2015 09:59:08 +0000 (10:59 +0100)
commit589affe35bf49da421e977928120111cea8eb27e
tree969b5c616b721d31e65da5bcb0076ba31ed43826
parentd3c2679bcb8e8ba25e7b6e443b39f57474afc099
tcl: target: am437x.cfg: pass correct dbgbase

Since commit ec9ccaa28849 (arm_adi_v5: make dap_lookup_cs_component()
traverse subtables and handle multicore) AM437x devices can't be used
with OpenOCD anymore. The reason is that dbgbase used to be set to zero
before that commit and that just happens to work with AM437x devices.

A more robust solution is to pass correct dbgbase when creating the
target, which this commit does.

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