summaryrefslogtreecommitdiff
path: root/src/flash/ecos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/ecos.c')
-rw-r--r--src/flash/ecos.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/flash/ecos.c b/src/flash/ecos.c
index f6f3307b..7a0b26f3 100644
--- a/src/flash/ecos.c
+++ b/src/flash/ecos.c
@@ -336,11 +336,6 @@ static int ecosflash_probe(struct flash_bank *bank)
return ERROR_OK;
}
-static int ecosflash_register_commands(struct command_context *cmd_ctx)
-{
- return ERROR_OK;
-}
-
#if 0
static void command(struct flash_bank *bank, uint8_t cmd, uint8_t *cmd_buf)
{
@@ -437,7 +432,6 @@ static int ecosflash_handle_gpnvm_command(struct command_context *cmd_ctx, char
struct flash_driver ecosflash_flash = {
.name = "ecosflash",
- .register_commands = &ecosflash_register_commands,
.flash_bank_command = &ecosflash_flash_bank_command,
.erase = &ecosflash_erase,
.protect = &ecosflash_protect,