From: Zachary T Welch Date: Sun, 22 Nov 2009 12:13:56 +0000 (-0800) Subject: cfi: use register_commands() X-Git-Tag: v0.4.0-rc1~379 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b595ab8b97ae15babe530a935bb5009cdb02fcd7;p=openocd cfi: use register_commands() --- diff --git a/src/flash/cfi.c b/src/flash/cfi.c index e743fe9e..b92ecbd8 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -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 [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 "); - */ return ERROR_OK; }