aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-01-09 16:14:18 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-01-12 20:45:01 +0000
commit2a34cc8eb6a8431ecebad1279d19ce919978a778 (patch)
tree4851ff907f3070470b303cadb51555f7ba4c62b5 /src/flash/nor
parent0aefdbd446ed35bbc507c517b96e99d5e6e01e3d (diff)
cmd: add missing usage var
Change-Id: I0f05d643b0801b19cc3beb88f0d12d7e4c83ef9c Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/356 Tested-by: jenkins
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/at91sam3.c1
-rw-r--r--src/flash/nor/at91sam7.c1
-rw-r--r--src/flash/nor/avrf.c1
-rw-r--r--src/flash/nor/em357.c1
-rw-r--r--src/flash/nor/fm3.c1
-rw-r--r--src/flash/nor/lpc2000.c2
-rw-r--r--src/flash/nor/lpc2900.c1
-rw-r--r--src/flash/nor/pic32mx.c1
-rw-r--r--src/flash/nor/stellaris.c1
-rw-r--r--src/flash/nor/stm32f1x.c1
-rw-r--r--src/flash/nor/stm32f2x.c1
-rw-r--r--src/flash/nor/stm32lx.c1
-rw-r--r--src/flash/nor/str7x.c1
-rw-r--r--src/flash/nor/str9x.c1
-rw-r--r--src/flash/nor/str9xpec.c1
-rw-r--r--src/flash/nor/tms470.c1
16 files changed, 17 insertions, 0 deletions
diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c
index 85395cdd..21bfa39c 100644
--- a/src/flash/nor/at91sam3.c
+++ b/src/flash/nor/at91sam3.c
@@ -3244,6 +3244,7 @@ static const struct command_registration at91sam3_command_handlers[] = {
.name = "at91sam3",
.mode = COMMAND_ANY,
.help = "at91sam3 flash command group",
+ .usage = "",
.chain = at91sam3_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/at91sam7.c b/src/flash/nor/at91sam7.c
index 2b822b7d..c2506be3 100644
--- a/src/flash/nor/at91sam7.c
+++ b/src/flash/nor/at91sam7.c
@@ -1287,6 +1287,7 @@ static const struct command_registration at91sam7_command_handlers[] = {
.name = "at91sam7",
.mode = COMMAND_ANY,
.help = "at91sam7 flash command group",
+ .usage = "",
.chain = at91sam7_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c
index 1ade4526..462aee2c 100644
--- a/src/flash/nor/avrf.c
+++ b/src/flash/nor/avrf.c
@@ -492,6 +492,7 @@ static const struct command_registration avrf_command_handlers[] = {
.name = "avrf",
.mode = COMMAND_ANY,
.help = "AVR flash command group",
+ .usage = "",
.chain = avrf_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/em357.c b/src/flash/nor/em357.c
index c045d577..2e40601f 100644
--- a/src/flash/nor/em357.c
+++ b/src/flash/nor/em357.c
@@ -946,6 +946,7 @@ static const struct command_registration em357_command_handlers[] = {
.name = "em357",
.mode = COMMAND_ANY,
.help = "em357 flash command group",
+ .usage = "",
.chain = em357_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/fm3.c b/src/flash/nor/fm3.c
index 78e71d29..2119e4f2 100644
--- a/src/flash/nor/fm3.c
+++ b/src/flash/nor/fm3.c
@@ -886,6 +886,7 @@ static const struct command_registration fm3_command_handlers[] = {
.name = "fm3",
.mode = COMMAND_ANY,
.help = "fm3 Flash command group",
+ .usage = "",
.chain = fm3_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c
index b4e17e7e..b9b04fef 100644
--- a/src/flash/nor/lpc2000.c
+++ b/src/flash/nor/lpc2000.c
@@ -836,6 +836,7 @@ static const struct command_registration lpc2000_exec_command_handlers[] = {
.handler = lpc2000_handle_part_id_command,
.mode = COMMAND_EXEC,
.help = "print part id of lpc2000 flash bank <num>",
+ .usage = "<bank>",
},
COMMAND_REGISTRATION_DONE
};
@@ -844,6 +845,7 @@ static const struct command_registration lpc2000_command_handlers[] = {
.name = "lpc2000",
.mode = COMMAND_ANY,
.help = "lpc2000 flash command group",
+ .usage = "",
.chain = lpc2000_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c
index 4960e9c6..5a80b323 100644
--- a/src/flash/nor/lpc2900.c
+++ b/src/flash/nor/lpc2900.c
@@ -1004,6 +1004,7 @@ static const struct command_registration lpc2900_command_handlers[] = {
.name = "lpc2900",
.mode = COMMAND_ANY,
.help = "LPC2900 flash command group",
+ .usage = "",
.chain = lpc2900_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/pic32mx.c b/src/flash/nor/pic32mx.c
index 957bfc2a..cc7d99c7 100644
--- a/src/flash/nor/pic32mx.c
+++ b/src/flash/nor/pic32mx.c
@@ -855,6 +855,7 @@ static const struct command_registration pic32mx_command_handlers[] = {
.name = "pic32mx",
.mode = COMMAND_ANY,
.help = "pic32mx flash command group",
+ .usage = "",
.chain = pic32mx_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 13b7071e..10e4d559 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -1451,6 +1451,7 @@ static const struct command_registration stellaris_command_handlers[] = {
.name = "stellaris",
.mode = COMMAND_EXEC,
.help = "Stellaris flash command group",
+ .usage = "",
.chain = stellaris_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index 738c2dac..b4ec93f6 100644
--- a/src/flash/nor/stm32f1x.c
+++ b/src/flash/nor/stm32f1x.c
@@ -1671,6 +1671,7 @@ static const struct command_registration stm32x_command_handlers[] = {
.name = "stm32f1x",
.mode = COMMAND_ANY,
.help = "stm32f1x flash command group",
+ .usage = "",
.chain = stm32x_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c
index b7e10096..6457f203 100644
--- a/src/flash/nor/stm32f2x.c
+++ b/src/flash/nor/stm32f2x.c
@@ -807,6 +807,7 @@ static const struct command_registration stm32x_command_handlers[] = {
.name = "stm32f2x",
.mode = COMMAND_ANY,
.help = "stm32f2x flash command group",
+ .usage = "",
.chain = stm32x_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c
index 2cd16d6f..8ba2b83d 100644
--- a/src/flash/nor/stm32lx.c
+++ b/src/flash/nor/stm32lx.c
@@ -740,6 +740,7 @@ static const struct command_registration stm32lx_command_handlers[] =
.name = "stm32lx",
.mode = COMMAND_ANY,
.help = "stm32lx flash command group",
+ .usage = "",
.chain = stm32lx_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c
index 0bfe7c9e..86db9ab4 100644
--- a/src/flash/nor/str7x.c
+++ b/src/flash/nor/str7x.c
@@ -853,6 +853,7 @@ static const struct command_registration str7x_command_handlers[] = {
.name = "str7x",
.mode = COMMAND_ANY,
.help = "str7x flash command group",
+ .usage = "",
.chain = str7x_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c
index 674522c7..1f2c9581 100644
--- a/src/flash/nor/str9x.c
+++ b/src/flash/nor/str9x.c
@@ -735,6 +735,7 @@ static const struct command_registration str9x_command_handlers[] = {
.name = "str9x",
.mode = COMMAND_ANY,
.help = "str9x flash command group",
+ .usage = "",
.chain = str9x_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/str9xpec.c b/src/flash/nor/str9xpec.c
index 0e095a30..fc2ed359 100644
--- a/src/flash/nor/str9xpec.c
+++ b/src/flash/nor/str9xpec.c
@@ -1279,6 +1279,7 @@ static const struct command_registration str9xpec_command_handlers[] = {
.name = "str9xpec",
.mode = COMMAND_ANY,
.help = "str9xpec flash command group",
+ .usage = "",
.chain = str9xpec_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
diff --git a/src/flash/nor/tms470.c b/src/flash/nor/tms470.c
index b28aee43..393ca76e 100644
--- a/src/flash/nor/tms470.c
+++ b/src/flash/nor/tms470.c
@@ -863,6 +863,7 @@ static const struct command_registration tms470_command_handlers[] = {
.name = "tms470",
.mode = COMMAND_ANY,
.help = "TI tms470 flash command group",
+ .usage = "",
.chain = tms470_any_command_handlers,
},
COMMAND_REGISTRATION_DONE