aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/at91sam4.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2019-01-04 18:16:00 +0100
committerTomas Vanek <vanekt@fbl.cz>2019-04-07 08:19:34 +0100
commitb61e454869c988e7fafc1c16982ccfec04415b51 (patch)
tree8fa731aa7ccd09ddde2bc427ebc6a3e10a08a67f /src/flash/nor/at91sam4.c
parentb6ea92247de948579715379abb591e61e887e7a5 (diff)
downloadriscv-openocd-b61e454869c988e7fafc1c16982ccfec04415b51.zip
riscv-openocd-b61e454869c988e7fafc1c16982ccfec04415b51.tar.gz
riscv-openocd-b61e454869c988e7fafc1c16982ccfec04415b51.tar.bz2
Set empty usage field for commands that do not need parameters
The missing field causes runtime debug message BUG: command '%s' does not have the '.usage' field filled out While there, fix some minor typo in the help messages: s/deasert/deassert/ s/Deasert/Deassert/ Change-Id: If3dd18265cda103ca0d05609f67f4ca58e7cbb27 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5024 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash/nor/at91sam4.c')
-rw-r--r--src/flash/nor/at91sam4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nor/at91sam4.c b/src/flash/nor/at91sam4.c
index 446f798..c89c502 100644
--- a/src/flash/nor/at91sam4.c
+++ b/src/flash/nor/at91sam4.c
@@ -3212,6 +3212,7 @@ static const struct command_registration at91sam4_exec_command_handlers[] = {
.mode = COMMAND_EXEC,
.help = "Print information about the current at91sam4 chip"
"and its flash configuration.",
+ .usage = "",
},
{
.name = "slowclk",