summaryrefslogtreecommitdiff
path: root/src/flash/at91sam7.c
diff options
context:
space:
mode:
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-12-10 19:46:04 +0000
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-12-10 19:46:04 +0000
commit9c999216b1601d762d4928b201bc7a9d8778f2aa (patch)
treebeaa8678e2e7fed7a963a61caaa7c199370ec9be /src/flash/at91sam7.c
parent25ba5741f4fc8dcaec6236402c9ad0a16f13ae02 (diff)
downloadopenocd+libswd-9c999216b1601d762d4928b201bc7a9d8778f2aa.tar.gz
openocd+libswd-9c999216b1601d762d4928b201bc7a9d8778f2aa.tar.bz2
openocd+libswd-9c999216b1601d762d4928b201bc7a9d8778f2aa.tar.xz
openocd+libswd-9c999216b1601d762d4928b201bc7a9d8778f2aa.zip
- Fixing two compiler warnings
- Reducing stack usage for recursive scripts - Do not exit on bogus arguments to reset_config. No longer exit the application upon bogus arguments to reset_config, but return errors. thanks to Øyvind Harboe for these patches. git-svn-id: svn://svn.berlios.de/openocd/trunk@226 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/at91sam7.c')
-rw-r--r--src/flash/at91sam7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/at91sam7.c b/src/flash/at91sam7.c
index 0115c18b..907302eb 100644
--- a/src/flash/at91sam7.c
+++ b/src/flash/at91sam7.c
@@ -674,7 +674,7 @@ int at91sam7_erase(struct flash_bank_s *bank, int first, int last)
int at91sam7_protect(struct flash_bank_s *bank, int set, int first, int last)
{
- u32 cmd, pagen, status;
+ u32 cmd, pagen;
u8 flashplane;
int lockregion;