]> git.sur5r.net Git - openocd/commit
jtag/tcl.c cleanup -- split out "adapter.c"
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 27 Mar 2010 17:07:13 +0000 (10:07 -0700)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 27 Mar 2010 17:07:13 +0000 (10:07 -0700)
commitd60ebc0ab535e54f76e734d00d9ac1b5c9b6eb93
treef5a43ea7905a1eed6d03d7a26ab8e76b73dfdabd
parenta092e8d237e7d23b1b952c4d400d8210523f9ce2
jtag/tcl.c cleanup -- split out "adapter.c"

Clean up the jtag/tcl.c file, which was one of the biggest and
messiest ones in that directory.  Do it by splitting out all the
generic adapter commands to a separate "adapter.c" file (leaving
the "tcl.c" file holding only JTAG utilities).

Also rename the little-used "jtag interface" to "adapter_name", which
should have been at least re-categorized earlier (it's not jtag-only).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
NEWS
doc/openocd.texi
src/jtag/Makefile.am
src/jtag/adapter.c [new file with mode: 0644]
src/jtag/startup.tcl
src/jtag/tcl.c