flash/nor/stm32f1x: fix error message
authorTomas Vanek <vanekt@fbl.cz>
Sun, 8 Nov 2020 09:09:33 +0000 (10:09 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sun, 15 Nov 2020 22:10:02 +0000 (22:10 +0000)
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
src/flash/nor/stm32f1x.c

index 78efc8b479184395ae0475193b8a1dbf8ab70177..9cd282d65d7088055f0091b6f7daba719d2c1ecb 100644 (file)
@@ -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;
        }