projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c706c
)
fix 'write_image' usage information
author
Zachary T Welch
<zw@superlucidity.net>
Sat, 12 Dec 2009 02:38:44 +0000
(18:38 -0800)
committer
Zachary 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
patch
|
blob
|
history
diff --git
a/src/flash/nor/tcl.c
b/src/flash/nor/tcl.c
index 5ba941b36f4e528a53b598c08c76dc9dafe1e78d..6ab710bb61ad058f81432aea13927f7327362c2c 100644
(file)
--- a/
src/flash/nor/tcl.c
+++ b/
src/flash/nor/tcl.c
@@
-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"
},
{