From 38e44d1361a5dbefcbbc54cc8fd8b0bd53dbc89f Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 12 Jul 2012 12:30:31 +0100 Subject: flash: fix stm32 flash driver typo's Change-Id: I37f3fee063d7f8729e057dcfe8904651790439e6 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/745 Tested-by: jenkins Reviewed-by: Freddie Chopin --- src/flash/nor/stm32f1x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/flash/nor/stm32f1x.c') diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index b6359a0..2a6604d 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -963,7 +963,7 @@ static int stm32x_probe(struct flash_bank *bank) /* check for early silicon */ if (flash_size_in_kb == 0xffff) { - /* number of sectors may be incorrrect on early silicon */ + /* number of sectors may be incorrect on early silicon */ LOG_WARNING("STM32 flash size failed, probe inaccurate - assuming 128k flash"); flash_size_in_kb = 128; } @@ -986,7 +986,7 @@ static int stm32x_probe(struct flash_bank *bank) /* check for early silicon */ if (flash_size_in_kb == 0xffff) { - /* number of sectors may be incorrrect on early silicon */ + /* number of sectors may be incorrect on early silicon */ LOG_WARNING("STM32 flash size failed, probe inaccurate - assuming 128k flash"); flash_size_in_kb = 128; } @@ -999,7 +999,7 @@ static int stm32x_probe(struct flash_bank *bank) /* check for early silicon */ if (flash_size_in_kb == 0xffff) { - /* number of sectors may be incorrrect on early silicon */ + /* number of sectors may be incorrect on early silicon */ LOG_WARNING("STM32 flash size failed, probe inaccurate - assuming 1024k flash"); flash_size_in_kb = 1024; } -- cgit v1.1