aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2020-11-08 10:09:33 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-11-15 22:10:02 +0000
commit61326940361b2242feb8adfefb9ca12727154693 (patch)
treef9d49a6db8389c7047b693cb8d1225a19ac90f67 /src
parent726b0c592884566a7580780418ba763ffc51c745 (diff)
downloadriscv-openocd-61326940361b2242feb8adfefb9ca12727154693.zip
riscv-openocd-61326940361b2242feb8adfefb9ca12727154693.tar.gz
riscv-openocd-61326940361b2242feb8adfefb9ca12727154693.tar.bz2
flash/nor/stm32f1x: fix error message
Backported from gd32vf103.c Change-Id: I9c5bb7b36e6efcee0473c97047058ef26cc46eb7 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/5927 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/stm32f1x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index 78efc8b..9cd282d 100644
--- a/src/flash/nor/stm32f1x.c
+++ b/src/flash/nor/stm32f1x.c
@@ -215,7 +215,7 @@ static int stm32x_check_operation_supported(struct flash_bank *bank)
/* if we have a dual flash bank device then
* we need to perform option byte stuff on bank0 only */
if (stm32x_info->register_base != FLASH_REG_BASE_B0) {
- LOG_ERROR("Option Byte Operation's must use bank0");
+ LOG_ERROR("Option byte operations must use bank 0");
return ERROR_FLASH_OPERATION_FAILED;
}