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>
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user