]> git.sur5r.net Git - openocd/commitdiff
David Brownell <david-b@pacbell.net>:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Aug 2009 09:37:59 +0000 (09:37 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Aug 2009 09:37:59 +0000 (09:37 +0000)
Warn about anyone using "jtag_speed" commands; that command is obsolete, and will someday be removed.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2578 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/tcl.c

index 727c21366ccaa9573ec781e4da5252213a1e0e3b..c81f161740c4195943b837f29d2068dfdb2ae37b 100644 (file)
@@ -942,6 +942,9 @@ static int handle_jtag_speed_command(struct command_context_s *cmd_ctx, char *cm
 {
        int retval = ERROR_OK;
 
+       command_print(cmd_ctx, "OLD SYNTAX: DEPRECATED - "
+                       "use jtag_khz, not jtag_speed");
+
        if (argc > 1)
                return ERROR_COMMAND_SYNTAX_ERROR;
        if (argc == 1)