]> git.sur5r.net Git - openocd/commit
ARM7/ARM9: improved reset support
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 14 Jan 2010 20:45:58 +0000 (12:45 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 14 Jan 2010 20:46:33 +0000 (12:46 -0800)
commit1d140c4dcd79cf5e6257d53986db23dc71c2521b
tree85529af0837bdf4d3b02bcc00734b8c33779711a
parent000a1cfd011d0b1e9ae30446df4eabe269202550
ARM7/ARM9: improved reset support

Teach most remaining ARM cores how to use the "reset-assert" event.

Same model as elsewhere:  iff a handler is provided for that event,
use that instead of trying to assert SRST (which may be unavailable,
or inappropriate since it resets too much).  Else no change.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm7_9_common.c