diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-22 04:13:56 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 21:37:34 -0800 |
commit | b595ab8b97ae15babe530a935bb5009cdb02fcd7 (patch) | |
tree | 77ee74bcafaad850dd98c419c7ed67df63d12c3d /src | |
parent | c4aa2fd6e745d7d9fb82673f5845a09c98b10912 (diff) | |
download | openocd+libswd-b595ab8b97ae15babe530a935bb5009cdb02fcd7.tar.gz openocd+libswd-b595ab8b97ae15babe530a935bb5009cdb02fcd7.tar.bz2 openocd+libswd-b595ab8b97ae15babe530a935bb5009cdb02fcd7.tar.xz openocd+libswd-b595ab8b97ae15babe530a935bb5009cdb02fcd7.zip |
cfi: use register_commands()
Diffstat (limited to 'src')
-rw-r--r-- | src/flash/cfi.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 <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; } |