From: Tomas Vanek Date: Sun, 8 Nov 2020 09:09:33 +0000 (+0100) Subject: flash/nor/stm32f1x: fix error message X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=61326940361b2242feb8adfefb9ca12727154693;hp=726b0c592884566a7580780418ba763ffc51c745;p=fw%2Fopenocd flash/nor/stm32f1x: fix error message Backported from gd32vf103.c Change-Id: I9c5bb7b36e6efcee0473c97047058ef26cc46eb7 Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/5927 Reviewed-by: Antonio Borneo Tested-by: jenkins --- diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index 78efc8b47..9cd282d65 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; }