]> git.sur5r.net Git - openocd/commitdiff
NOR: bugfix "flash fill[bwh] ..." helptext
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 16 Dec 2009 19:57:59 +0000 (11:57 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 16 Dec 2009 19:57:59 +0000 (11:57 -0800)
These commands don't have a "bank" parameter.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/flash/nor/tcl.c

index 6ab710bb61ad058f81432aea13927f7327362c2c..1e933b2733a36bd7a2e1671771c60acf8ddc029f 100644 (file)
@@ -697,21 +697,21 @@ static const struct command_registration flash_exec_command_handlers[] = {
                .name = "fillw",
                .handler = &handle_flash_fill_command,
                .mode = COMMAND_EXEC,
-               .usage = "<bank> <address> <word_pattern> <count>",
+               .usage = "<address> <word_pattern> <count>",
                .help = "fill with pattern (no autoerase)",
        },
        {
                .name = "fillh",
                .handler = &handle_flash_fill_command,
                .mode = COMMAND_EXEC,
-               .usage = "<bank> <address> <halfword_pattern> <count>",
+               .usage = "<address> <halfword_pattern> <count>",
                .help = "fill with pattern",
        },
        {
                .name = "fillb",
                .handler = &handle_flash_fill_command,
                .mode = COMMAND_EXEC,
-               .usage = "<bank> <address> <byte_pattern> <count>",
+               .usage = "<address> <byte_pattern> <count>",
                .help = "fill with pattern",
 
        },