summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)