summaryrefslogtreecommitdiff
path: root/src/flash/stellaris.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-09 23:56:52 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 10:51:45 -0800
commitcfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e (patch)
treef129c414d90f81a2caf6054ab7bbcd1306ac1f26 /src/flash/stellaris.c
parentddb6138ed428f666064d26bb08036de3afe44bc8 (diff)
downloadopenocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.gz
openocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.bz2
openocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.xz
openocd_libswd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.zip
use COMMAND_HANDLER macro to define all commands
Diffstat (limited to 'src/flash/stellaris.c')
-rw-r--r--src/flash/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c
index bd561a61..22d5bc46 100644
--- a/src/flash/stellaris.c
+++ b/src/flash/stellaris.c
@@ -1127,7 +1127,7 @@ static int stellaris_mass_erase(struct flash_bank_s *bank)
return ERROR_OK;
}
-static int stellaris_handle_mass_erase_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc)
+COMMAND_HANDLER(stellaris_handle_mass_erase_command)
{
int i;