aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/stm32f1x.c6
-rw-r--r--src/flash/nor/stm32f2x.c4
-rw-r--r--src/flash/nor/stm32lx.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index b6359a0a..2a6604dc 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;
}
diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c
index 5f5bfb85..c7abd6a8 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 27a446de..fedab300 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;
}