X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fstm32f2x.c;h=c7abd6a837992091fbae5857f925fd0dda1d9694;hp=5f5bfb853aa5f01d6a1a8908fb2fe861ca20b661;hb=38e44d1361a5dbefcbbc54cc8fd8b0bd53dbc89f;hpb=055abd0b9cb3427fb9b52263d2be49620e8e4c97 diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 5f5bfb853a..c7abd6a837 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -613,14 +613,14 @@ static int stm32x_probe(struct flash_bank *bank) if ((device_id & 0xfff) == 0x411) { /* 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; } } else if ((device_id & 0xfff) == 0x413) { /* 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; }