summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:34 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:34 +0000
commit319fdecb76318ec982855f298b1a4a3a60375748 (patch)
tree6f7c3e4c5019e44c6e6f714882b3d177028e940f /src/flash
parentd61714f4d5d72f9f39fbccbb1c3ba5f3d8982020 (diff)
downloadopenocd+libswd-319fdecb76318ec982855f298b1a4a3a60375748.tar.gz
openocd+libswd-319fdecb76318ec982855f298b1a4a3a60375748.tar.bz2
openocd+libswd-319fdecb76318ec982855f298b1a4a3a60375748.tar.xz
openocd+libswd-319fdecb76318ec982855f298b1a4a3a60375748.zip
- Fixes '[*]=' whitespace
- Replace '\(\w\)\([*]=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2365 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index 1d4ae537..774424e0 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -114,7 +114,7 @@ static __inline__ uint32_t flash_address(flash_bank_t *bank, int sector, uint32_
{
cfi_flash_bank_t *cfi_info = bank->driver_priv;
- if (cfi_info->x16_as_x8) offset*=2;
+ if (cfi_info->x16_as_x8) offset *= 2;
/* while the sector list isn't built, only accesses to sector 0 work */
if (sector == 0)