From 21d11f13ec533dab4d810ba631bb860768ee2cee Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Sat, 20 Nov 2021 14:27:45 +0100 Subject: [PATCH] flash/nor/at91samd: remove 'at91samd info' command The command is a stub only, does nothing. Change-Id: Ib3b8c2122a9f6f2e179bee34ac56d0adf367bfcc Signed-off-by: Tomas Vanek Reviewed-on: https://review.openocd.org/c/openocd/+/6730 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/flash/nor/at91samd.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c index a8fab486c0..5f314d82b2 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); @@ -1211,14 +1206,6 @@ static const struct command_registration at91samd_exec_command_handlers[] = { .help = "Deassert internal reset held by DSU.", .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, -- 2.30.2