tcl: am437x: disable watchdog on reset-end
commitd85a0a6a0c6a73fbccf2dbdce3c25280d9ff8522
authorFelipe Balbi <balbi@ti.com>
Mon, 16 Mar 2015 04:15:15 +0000 (15 23:15 -0500)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 14 Apr 2015 10:11:52 +0000 (14 11:11 +0100)
treefdef19625e906f697e75674dc06ec7d602ad414f
parent92a01329c95670867d8506491e194fe54276f1ff
tcl: am437x: disable watchdog on reset-end

sometimes, watchdog might be left running and
it could expire in the middle of a debug session,
to prevent that, just make sure to disable watchdog
on reset-end if current state is 'halted'.

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