X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fadapter.c;h=2f5f6b436262a657590dfdc10514224654eed64f;hp=1abda49ea63c74d15c405f941faa8434104d6743;hb=4ed3a1efa2e653836133cabddb0a7e50150b3bd4;hpb=71d43007c6a3fe32cfcac0712b294029ced4c61b diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c index 1abda49ea6..2f5f6b4362 100644 --- a/src/jtag/adapter.c +++ b/src/jtag/adapter.c @@ -25,7 +25,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -48,7 +48,7 @@ */ extern struct jtag_interface *jtag_interface; -const char *jtag_only[] = { "jtag", NULL }; +const char * const jtag_only[] = { "jtag", NULL }; static int jim_adapter_name(Jim_Interp *interp, int argc, Jim_Obj * const *argv) { @@ -519,7 +519,8 @@ static const struct command_registration interface_command_handlers[] = { "[srst_pulls_trst|trst_pulls_srst|combined|separate] " "[srst_gates_jtag|srst_nogate] " "[trst_push_pull|trst_open_drain] " - "[srst_push_pull|srst_open_drain]", + "[srst_push_pull|srst_open_drain] " + "[connect_deassert_srst|connect_assert_srst]", }, COMMAND_REGISTRATION_DONE };