summaryrefslogtreecommitdiff
path: root/src/flash/at91sam7.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 07:50:03 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 07:50:03 +0000
commite482118106c63edd3c9f6647e4232e90b4c16066 (patch)
tree3e0e8e1c4a135b5631a7ba32f383f844576cfc30 /src/flash/at91sam7.c
parent815c3b353307796fb4d86a1880679dacaed00b6e (diff)
downloadopenocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.tar.gz
openocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.tar.bz2
openocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.tar.xz
openocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.zip
- using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places
- some more flash cleanup of checking halted state - moved output handler into options.c - very slightly tweaked server.c to make it a bit more compatible with eCos - retired arch_state. Not quite sure how I managed to leave that out last time. git-svn-id: svn://svn.berlios.de/openocd/trunk@338 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/at91sam7.c')
-rw-r--r--src/flash/at91sam7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/at91sam7.c b/src/flash/at91sam7.c
index 3e920e3d..a9776d48 100644
--- a/src/flash/at91sam7.c
+++ b/src/flash/at91sam7.c
@@ -955,8 +955,7 @@ int at91sam7_handle_gpnvm_command(struct command_context_s *cmd_ctx, char *cmd,
}
else
{
- command_print(cmd_ctx, "usage: at91sam7 gpnvm <num> <bit> <set|clear>");
- return ERROR_OK;
+ return ERROR_COMMAND_SYNTAX_ERROR;
}
/* Configure the flash controller timing */