fix 'write_image' usage information
authorZachary T Welch <zw@superlucidity.net>
Sat, 12 Dec 2009 02:38:44 +0000 (18:38 -0800)
committerZachary T Welch <zw@superlucidity.net>
Sat, 12 Dec 2009 02:45:34 +0000 (18:45 -0800)
The 'flash write_image' command erroneously listed the bank number,
when it actually uses target addresses to do that lookup for the user.

src/flash/nor/tcl.c

index 5ba941b36f4e528a53b598c08c76dc9dafe1e78d..6ab710bb61ad058f81432aea13927f7327362c2c 100644 (file)
@@ -726,7 +726,7 @@ static const struct command_registration flash_exec_command_handlers[] = {
                .name = "write_image",
                .handler = &handle_flash_write_image_command,
                .mode = COMMAND_EXEC,
-               .usage = "<bank> [erase] [unlock] <file> [offset] [type]",
+               .usage = "[erase] [unlock] <file> [offset] [type]",
                .help = "write an image to flash"
        },
        {