diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-03-30 08:36:38 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-04-07 08:18:25 +0100 |
commit | 80ca927ebc2bb1ca18aff70215222d55c1f196f8 (patch) | |
tree | b76b237cb68fa78b7c787e463d3afb88c9d129fb | |
parent | 3d59e0f61257ef4dd19a49bd793e24a8e6eaa675 (diff) | |
download | riscv-openocd-80ca927ebc2bb1ca18aff70215222d55c1f196f8.zip riscv-openocd-80ca927ebc2bb1ca18aff70215222d55c1f196f8.tar.gz riscv-openocd-80ca927ebc2bb1ca18aff70215222d55c1f196f8.tar.bz2 |
flash/nor/at91samd: set usage for command "set-security"
The only allowed parameter is the string "enable"
Change-Id: Iefdad38f1b4177e4194e58caf2be654357299ded
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5021
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
-rw-r--r-- | src/flash/nor/at91samd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c index ad0da5d..a0d603a 100644 --- a/src/flash/nor/at91samd.c +++ b/src/flash/nor/at91samd.c @@ -1241,6 +1241,7 @@ static const struct command_registration at91samd_exec_command_handlers[] = { "This makes it impossible to read the Flash contents. " "The only way to undo this is to issue the chip-erase " "command.", + .usage = "'enable'", }, { .name = "eeprom", |