]> git.gag.com Git - fw/openocd/blobdiff - src/flash/ecos.c
move nand drivers to src/flash/nand/
[fw/openocd] / src / flash / ecos.c
index f6f3307b068ca7e7efe1c5483e2f3a868d816eb3..7a0b26f323d44f0e220542824f2c8c3798c75603 100644 (file)
@@ -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,