diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-16 13:35:23 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-18 21:45:02 +0000 |
commit | 0c2f8b6eb8f4b379aa0c78caba73ec1ebaae8414 (patch) | |
tree | 3f8761f0c60686a39c4b82b7ef48beb1c24aaf27 /src/flash/nand | |
parent | eae6353ca459e38289d6d619772ef88ad24cc5c8 (diff) |
cmd: add missing usage vars
we should have caught them all - hopefully.
Change-Id: I35435317fccaf5ad0216244d69f76db6857bb582
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/381
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Diffstat (limited to 'src/flash/nand')
-rw-r--r-- | src/flash/nand/at91sam9.c | 1 | ||||
-rw-r--r-- | src/flash/nand/lpc3180.c | 1 | ||||
-rw-r--r-- | src/flash/nand/lpc32xx.c | 1 | ||||
-rw-r--r-- | src/flash/nand/tcl.c | 3 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/flash/nand/at91sam9.c b/src/flash/nand/at91sam9.c index 6648953e..42924c98 100644 --- a/src/flash/nand/at91sam9.c +++ b/src/flash/nand/at91sam9.c @@ -716,6 +716,7 @@ static const struct command_registration at91sam9_command_handler[] = { .name = "at91sam9", .mode = COMMAND_ANY, .help = "AT91SAM9 NAND flash controller commands", + .usage = "", .chain = at91sam9_sub_command_handlers, }, COMMAND_REGISTRATION_DONE diff --git a/src/flash/nand/lpc3180.c b/src/flash/nand/lpc3180.c index 9d8cbae1..b370e112 100644 --- a/src/flash/nand/lpc3180.c +++ b/src/flash/nand/lpc3180.c @@ -1338,6 +1338,7 @@ static const struct command_registration lpc3180_command_handler[] = { .name = "lpc3180", .mode = COMMAND_ANY, .help = "LPC3180 NAND flash controller commands", + .usage = "", .chain = lpc3180_exec_command_handlers, }, COMMAND_REGISTRATION_DONE diff --git a/src/flash/nand/lpc32xx.c b/src/flash/nand/lpc32xx.c index addc323b..f6ac8ff8 100644 --- a/src/flash/nand/lpc32xx.c +++ b/src/flash/nand/lpc32xx.c @@ -1806,6 +1806,7 @@ static const struct command_registration lpc32xx_command_handler[] = { .name = "lpc32xx", .mode = COMMAND_ANY, .help = "LPC32xx NAND flash controller commands", + .usage = "", .chain = lpc32xx_exec_command_handlers, }, COMMAND_REGISTRATION_DONE diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c index c6ea3f3b..29d4e1e1 100644 --- a/src/flash/nand/tcl.c +++ b/src/flash/nand/tcl.c @@ -629,12 +629,14 @@ static const struct command_registration nand_config_command_handlers[] = { .handler = &handle_nand_list_drivers, .mode = COMMAND_ANY, .help = "lists available NAND drivers", + .usage = "" }, { .name = "init", .mode = COMMAND_CONFIG, .handler = &handle_nand_init_command, .help = "initialize NAND devices", + .usage = "" }, COMMAND_REGISTRATION_DONE }; @@ -643,6 +645,7 @@ static const struct command_registration nand_command_handlers[] = { .name = "nand", .mode = COMMAND_ANY, .help = "NAND flash command group", + .usage = "", .chain = nand_config_command_handlers, }, COMMAND_REGISTRATION_DONE |