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
This commit is contained in:
parent
726b0c5928
commit
6132694036
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue