This is an automated email from Gerrit. Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/745
-- gerrit commit b2d94c36b0d4a2573be95b11a4e378c9a2c943d7 Author: Spencer Oliver <[email protected]> Date: Thu Jul 12 12:30:31 2012 +0100 flash: fix stm32 flash driver typo's Change-Id: I37f3fee063d7f8729e057dcfe8904651790439e6 Signed-off-by: Spencer Oliver <[email protected]> diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index 6734a1f..4655266 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -964,7 +964,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; } @@ -987,7 +987,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; } @@ -1000,7 +1000,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; } diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 5f5bfb8..c7abd6a 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; } diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 27a446d..fedab30 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -490,14 +490,14 @@ static int stm32lx_probe(struct flash_bank *bank) if ((device_id & 0xfff) == 0x416) { /* 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; } } else if ((device_id & 0xfff) == 0x436) { /* 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 384k flash"); flash_size_in_kb = 384; } -- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
