diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-09 08:58:38 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-09 10:25:03 -0800 |
commit | 1c5c57ec8e3f285cc81d4ad101edccb82b721beb (patch) | |
tree | 155a6af8cff6aa050f047f736529e5963f7ba666 /src/flash/nor/str9x.c | |
parent | 70738bd75dbc122e380ff3288542ac4e73700eed (diff) |
src/flash/nor: usage/help/doc updates
Make "usage" messages use the same EBNF as the User's Guide;
no angle brackets. Improve and correct various helptexts.
Don't use "&function"; a function's name is its address.
Remove a couple instances of pointless whitespace; shrink a
few overlong lines; fix some bad indents.
Add TODO list entry re full support for NAND/NOR bank names.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor/str9x.c')
-rw-r--r-- | src/flash/nor/str9x.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c index 9cddb506..bf3f750f 100644 --- a/src/flash/nor/str9x.c +++ b/src/flash/nor/str9x.c @@ -679,11 +679,12 @@ COMMAND_HANDLER(str9x_handle_flash_config_command) static const struct command_registration str9x_config_command_handlers[] = { { - .name = "disable_jtag", + .name = "flash_config", .handler = &str9x_handle_flash_config_command, .mode = COMMAND_EXEC, - .help = "configure str9x flash controller", - .usage = "<bank_id> <BBSR> <NBBSR> <BBADR> <NBBADR>", + .help = "Configure str9x flash controller, prior to " + "programming the flash.", + .usage = "bank_id BBSR NBBSR BBADR NBBADR", }, COMMAND_REGISTRATION_DONE }; |