aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2021-11-20 14:27:45 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2021-12-03 21:53:36 +0000
commit21d11f13ec533dab4d810ba631bb860768ee2cee (patch)
tree42ea8e21be036d43db9ea3bf898b0fec7aa86f35
parentc07e4b37829067a872e2a52f9a490bd8903e66da (diff)
downloadriscv-openocd-21d11f13ec533dab4d810ba631bb860768ee2cee.zip
riscv-openocd-21d11f13ec533dab4d810ba631bb860768ee2cee.tar.gz
riscv-openocd-21d11f13ec533dab4d810ba631bb860768ee2cee.tar.bz2
flash/nor/at91samd: remove 'at91samd info' command
The command is a stub only, does nothing. Change-Id: Ib3b8c2122a9f6f2e179bee34ac56d0adf367bfcc Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/6730 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--src/flash/nor/at91samd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c
index a8fab48..5f314d8 100644
--- a/src/flash/nor/at91samd.c
+++ b/src/flash/nor/at91samd.c
@@ -946,11 +946,6 @@ FLASH_BANK_COMMAND_HANDLER(samd_flash_bank_command)
return ERROR_OK;
}
-COMMAND_HANDLER(samd_handle_info_command)
-{
- return ERROR_OK;
-}
-
COMMAND_HANDLER(samd_handle_chip_erase_command)
{
struct target *target = get_current_target(CMD_CTX);
@@ -1212,14 +1207,6 @@ static const struct command_registration at91samd_exec_command_handlers[] = {
.usage = "",
},
{
- .name = "info",
- .handler = samd_handle_info_command,
- .mode = COMMAND_EXEC,
- .help = "Print information about the current at91samd chip "
- "and its flash configuration.",
- .usage = "",
- },
- {
.name = "chip-erase",
.handler = samd_handle_chip_erase_command,
.mode = COMMAND_EXEC,