aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2023-04-27 16:05:02 +0200
committerTomas Vanek <vanekt@fbl.cz>2023-05-25 16:25:09 +0000
commit3733cf196153f56be3a790311aeb95e3c15c56f3 (patch)
treed5d179ec6a2a2d2afd2872043620c990c41c4545 /src
parent5924d9f30cd68333d37caa7ac8cad43f036148dc (diff)
downloadriscv-openocd-3733cf196153f56be3a790311aeb95e3c15c56f3.zip
riscv-openocd-3733cf196153f56be3a790311aeb95e3c15c56f3.tar.gz
riscv-openocd-3733cf196153f56be3a790311aeb95e3c15c56f3.tar.bz2
flash/nor/stm32f2x: Fix typos in log messages
Change-Id: I0f27e1c64972a58ac146c391761008cdca610afe Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Reviewed-on: https://review.openocd.org/c/openocd/+/7614 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/stm32f2x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c
index 36b7a0d..fd538d0 100644
--- a/src/flash/nor/stm32f2x.c
+++ b/src/flash/nor/stm32f2x.c
@@ -230,11 +230,11 @@ static int stm32x_otp_enable(struct flash_bank *bank)
struct stm32x_flash_bank *stm32x_info = bank->driver_priv;
if (!stm32x_info->otp_unlocked) {
- LOG_INFO("OTP memory bank #%u is is enabled for write commands.",
+ LOG_INFO("OTP memory bank #%u is enabled for write commands.",
bank->bank_number);
stm32x_info->otp_unlocked = true;
} else {
- LOG_WARNING("OTP memory bank #%u is is already enabled for write commands.",
+ LOG_WARNING("OTP memory bank #%u is already enabled for write commands.",
bank->bank_number);
}
return ERROR_OK;