]> git.sur5r.net Git - openocd/commit
more xscale cleanup (mostly removing JTAG hooks)
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 12 Oct 2009 09:39:01 +0000 (02:39 -0700)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 12 Oct 2009 09:39:01 +0000 (02:39 -0700)
commit9f6c23f47932eba99acd90949d0388e5ef1fbe35
treebf187f5e1caa568156efd1b79a2dd575e82c910d
parent026559068d889660ad4545ee28b6561c82c39aea
more xscale cleanup (mostly removing JTAG hooks)

Streamline/shrink some needless JTAG stuff:

 - Use #defines for the JTAG instructions; they can't ever change
 - Remove an unused (!) shadow of tap->ir_length
 - Stop using a copy of target->tap
 - Don't bother saving the variant after sanity checking ir_length

Also, make target_create() work as on other targets:  build the
register cache later, making init_target() no longer be a NOP.
Handle malloc failure; remove a comment that was obsoleted by the
not-so-new target syntax.

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