Minor behavior fixes for the two JTAG reset events (C/internal,
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 19 Sep 2009 06:49:40 +0000 (06:49 +0000)
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 19 Sep 2009 06:49:40 +0000 (06:49 +0000)
commit2d3bcddf0490620cb17089bdfe523eb547b41aa3
tree60956f5acecfa732b0455bc8bef5eea1153c3a4f
parent74ae645623f328b54f570dbe14c3cffb6046d269
Minor behavior fixes for the two JTAG reset events (C/internal,
and Tcl/external):

 - Reorder so *both* paths (TCK/TMS or TRST) can enable TAPs with
   ICEpick ... first C code flags TAPs that got disabled, then call
   any Tcl code that might want to re-enable them.

 - Always call the C/internal handlers when JTAG operations can be
   issued; previously that wasn't done when TRST was used.

Plus some small cleanups (whitespace, strings, better messaging
during debug and on some errors) to reset-related code.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2730 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/core.c
src/target/target.c