summaryrefslogtreecommitdiff
path: root/src/flash/ocl/at91sam7x
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:40:42 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:40:42 +0000
commit0e2c2fe1d1eec5482078147d551215a58604cc3a (patch)
tree5b829774e1f67afc86acb0a0f968d0a6a4766246 /src/flash/ocl/at91sam7x
parent6319ea33f7369823043eaefdb72b7463e760be27 (diff)
downloadopenocd_libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.tar.gz
openocd_libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.tar.bz2
openocd_libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.tar.xz
openocd_libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.zip
- Fixes '>>' whitespace
- Replace ')\(>>\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(>>\)(' with '\1 \2 ('. - Replace '\(\w\)\(>>\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2369 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/ocl/at91sam7x')
-rw-r--r--src/flash/ocl/at91sam7x/samflash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/ocl/at91sam7x/samflash.c b/src/flash/ocl/at91sam7x/samflash.c
index 66a857b3..b5255191 100644
--- a/src/flash/ocl/at91sam7x/samflash.c
+++ b/src/flash/ocl/at91sam7x/samflash.c
@@ -32,7 +32,7 @@ int flash_init(void)
{
unsigned int nvpsiz;
- nvpsiz=(inr(DBGU_CIDR)>>8)&0xf;
+ nvpsiz=(inr(DBGU_CIDR) >> 8)&0xf;
switch (nvpsiz) {
case 3:
@@ -129,7 +129,7 @@ int flash_erase_plane(int efc_ofs)
int page_num;
page_num=0;
- lockbits=inr(MC_FSR+efc_ofs)>>16;
+ lockbits=inr(MC_FSR+efc_ofs) >> 16;
while (lockbits) {
if (lockbits&1) {