summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:40:10 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:40:10 +0000
commit4ce93ac479c29210c4b472a16733bed2537c35f9 (patch)
tree32b3f91bc20272afc249a4bd683956f2d98a5852 /src/flash
parent128a73342856217e98a5da64b2805e062fd4e00d (diff)
downloadopenocd_libswd-4ce93ac479c29210c4b472a16733bed2537c35f9.tar.gz
openocd_libswd-4ce93ac479c29210c4b472a16733bed2537c35f9.tar.bz2
openocd_libswd-4ce93ac479c29210c4b472a16733bed2537c35f9.tar.xz
openocd_libswd-4ce93ac479c29210c4b472a16733bed2537c35f9.zip
- Fixes '>=' whitespace
- Replace ')\(>=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(>=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2367 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/ocl/at91sam7x/samflash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/ocl/at91sam7x/samflash.c b/src/flash/ocl/at91sam7x/samflash.c
index d7c21f72..66a857b3 100644
--- a/src/flash/ocl/at91sam7x/samflash.c
+++ b/src/flash/ocl/at91sam7x/samflash.c
@@ -82,7 +82,7 @@ int flash_page_program(uint32 *data, int page_num)
uint32 *data_ptr;
/* select proper controller */
- if (page_num>=1024) efc_ofs=0x10;
+ if (page_num >= 1024) efc_ofs=0x10;
else efc_ofs=0;
/* wait until FLASH is ready, just for sure */