summaryrefslogtreecommitdiff
path: root/src/flash/ocl/at91sam7x/samflash.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:45:15 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:45:15 +0000
commitfb1a9b2cb2f844a17d26dfeb3d26849364d93e26 (patch)
tree70153522e64c9302588460cc670119055d9610ce /src/flash/ocl/at91sam7x/samflash.c
parent8959de9f679cfd0436d731fd91b88a68b9a75fa6 (diff)
downloadopenocd_libswd-fb1a9b2cb2f844a17d26dfeb3d26849364d93e26.tar.gz
openocd_libswd-fb1a9b2cb2f844a17d26dfeb3d26849364d93e26.tar.bz2
openocd_libswd-fb1a9b2cb2f844a17d26dfeb3d26849364d93e26.tar.xz
openocd_libswd-fb1a9b2cb2f844a17d26dfeb3d26849364d93e26.zip
- Fixes '[|]' whitespace
- Replace ')\([|]\)(' with ') \1 ('. - 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@2374 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/ocl/at91sam7x/samflash.c')
-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 caa3dad4..6f7bf5f5 100644
--- a/src/flash/ocl/at91sam7x/samflash.c
+++ b/src/flash/ocl/at91sam7x/samflash.c
@@ -164,7 +164,7 @@ int flash_erase_plane(int efc_ofs)
if ((inr(MC_FSR + efc_ofs)&MC_LOCKE)) return FLASH_STAT_LOCKE;
/* set no erase before programming */
- outr(MC_FMR + efc_ofs, inr(MC_FMR + efc_ofs)|0x80);
+ outr(MC_FMR + efc_ofs, inr(MC_FMR + efc_ofs) | 0x80);
return FLASH_STAT_OK;
}