summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-16 14:59:10 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-16 14:59:10 +0000
commit1bcbd44ed3a3165f1845b9da1f8c282321fe5988 (patch)
treeca896c0e714a0a178d64374ca8bd91261e16e6e7
parent72f5449e4bfc1d6b656812ddc3fc2a4280333577 (diff)
downloadopenocd+libswd-1bcbd44ed3a3165f1845b9da1f8c282321fe5988.tar.gz
openocd+libswd-1bcbd44ed3a3165f1845b9da1f8c282321fe5988.tar.bz2
openocd+libswd-1bcbd44ed3a3165f1845b9da1f8c282321fe5988.tar.xz
openocd+libswd-1bcbd44ed3a3165f1845b9da1f8c282321fe5988.zip
fix naming of at91sam7 driver
git-svn-id: svn://svn.berlios.de/openocd/trunk@1799 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/flash/at91sam7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/at91sam7.c b/src/flash/at91sam7.c
index c840d505..fb87aa3b 100644
--- a/src/flash/at91sam7.c
+++ b/src/flash/at91sam7.c
@@ -62,7 +62,7 @@ static int at91sam7_handle_gpnvm_command(struct command_context_s *cmd_ctx, char
flash_driver_t at91sam7_flash =
{
- .name = "at91sam7_new",
+ .name = "at91sam7",
.register_commands = at91sam7_register_commands,
.flash_bank_command = at91sam7_flash_bank_command,
.erase = at91sam7_erase,
@@ -104,7 +104,7 @@ static long SRAMSIZ[16] = {
static int at91sam7_register_commands(struct command_context_s *cmd_ctx)
{
- command_t *at91sam7_cmd = register_command(cmd_ctx, NULL, "at91sam7_new", NULL, COMMAND_ANY, NULL);
+ command_t *at91sam7_cmd = register_command(cmd_ctx, NULL, "at91sam7", NULL, COMMAND_ANY, NULL);
register_command(cmd_ctx, at91sam7_cmd, "gpnvm", at91sam7_handle_gpnvm_command, COMMAND_EXEC,
"at91sam7 gpnvm <bit> set|clear, set or clear one gpnvm bit");