aboutsummaryrefslogtreecommitdiff
path: root/src/flash/at91sam3.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-13flash_driver_t -> struct flash_driverZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct flash_driver.
2009-11-13use FLASH_BANK_COMMAND_HANDLER macroZachary T Welch1-6/+1
Defines all flash_bank_command handlers using the new macro.
2009-11-13use COMMAND_HANDLER macro to define all commandsZachary T Welch1-6/+3
2009-11-11change argv to args in command handlersZachary T Welch1-11/+11
Subsequent patches expect all command handlers to use a uniform parameter naming scheme. In the entire tree, these two files used standard 'argv' instead of our non-standard 'args'. This patch opts to reduces the noise required to unify the command handlers, using dominant 'args' form. A future patch may be used to convert us back to the standard argv, but that requires coordination with all developers to minimize disruptions.
2009-11-09flash/at91sam[37].c: remove useless declarationsZachary T Welch1-16/+13
Remove useless forward declarations. Moves command registration to end of file. Moves flash structure definitions to end of files. Changes a few references to global flash structure to local refs. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-05Improve at91sam3.c command argument parsing.Zachary T Welch1-11/+6
2009-09-23Nico Coesel <ncoesel@dealogic.nl> fix warnings. . I'm wondering why theseoharboe1-1/+1
didn't turn up earlier. Is everyone still using gcc 3.x? Or is the x86 version of gcc 4.x much more relaxed? git-svn-id: svn://svn.berlios.de/openocd/trunk@2749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30- remove cygwin build warnings in at91sam3.cntfreak1-3/+3
git-svn-id: svn://svn.berlios.de/openocd/trunk@2434 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30Fix doxygen warnings in new at91sam3 source file; normalize style.zwelch1-46/+37
Remove editor configuration from end of file. git-svn-id: svn://svn.berlios.de/openocd/trunk@2423 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-27Change from alloca() to malloc()duane1-14/+32
git-svn-id: svn://svn.berlios.de/openocd/trunk@2407 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-25Fixes from Oleksandr Tymoshenko "gonzo@bluezbox.com"duane1-0/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2401 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24Minor fixes to new at91sam3 files for x86-32/64 compilation problems.zwelch1-22/+49
git-svn-id: svn://svn.berlios.de/openocd/trunk@2399 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24Remove whitespace at end of lines, step 2.zwelch1-172/+172
- Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2398 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Replace '){' with ') {'.zwelch1-143/+143
git-svn-id: svn://svn.berlios.de/openocd/trunk@2397 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24Remove whitespace that occurs before ')'.zwelch1-335/+335
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2396 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24Remove whitespace that occurs after '('.zwelch1-321/+321
- Replace '([ \t]*' with '('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2395 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Fixes '[|]' whitespacezwelch1-1/+1
- Replace '\(\w\)\([|]\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2393 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Fixes '+' whitespacezwelch1-3/+3
- Replace '\(\w\)\(+\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2392 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Fixes '=' whitespacezwelch1-6/+6
- Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2391 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Fixes '==' whitespacezwelch1-1/+1
- Replace '\(\w\)\(==\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2390 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Replace 'for(' with 'for ('.zwelch1-10/+10
git-svn-id: svn://svn.berlios.de/openocd/trunk@2389 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Replace 'switch(' with 'switch ('.zwelch1-6/+6
git-svn-id: svn://svn.berlios.de/openocd/trunk@2388 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Replace 'while(' with 'while ('.zwelch1-12/+12
git-svn-id: svn://svn.berlios.de/openocd/trunk@2387 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24- Replace 'if(' with 'if ('.zwelch1-115/+115
git-svn-id: svn://svn.berlios.de/openocd/trunk@2386 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24Fix end-of-line style properties on newly added files.zwelch1-0/+0
git-svn-id: svn://svn.berlios.de/openocd/trunk@2384 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24Add support for ATMEL AT91SAM3U - CortexM3 Familyduane1-0/+2494
git-svn-id: svn://svn.berlios.de/openocd/trunk@2383 b42882b7-edfa-0310-969c-e2dbd0fdcd60