]> git.sur5r.net Git - openocd/commitdiff
cfi: use register_commands()
authorZachary T Welch <zw@superlucidity.net>
Sun, 22 Nov 2009 12:13:56 +0000 (04:13 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 05:37:34 +0000 (21:37 -0800)
src/flash/cfi.c

index e743fe9e5636559bce442c89b4cf542b025fd754..b92ecbd8bc41f0e9217337e2e9ba6b67774f74ad 100644 (file)
@@ -591,12 +591,6 @@ static int cfi_intel_info(struct flash_bank *bank, char *buf, int buf_size)
 
 static int cfi_register_commands(struct command_context *cmd_ctx)
 {
-       /*struct command *cfi_cmd = */
-       COMMAND_REGISTER(cmd_ctx, NULL, "cfi", NULL, COMMAND_ANY, "flash bank cfi <base> <size> <chip_width> <bus_width> <targetNum> [jedec_probe/x16_as_x8]");
-       /*
-       COMMAND_REGISTER(cmd_ctx, cfi_cmd, "part_id", cfi_handle_part_id_command, COMMAND_EXEC,
-                                        "print part id of cfi flash bank <num>");
-       */
        return ERROR_OK;
 }