flash/nor/stm32h7: (minor) use proper variable names and enhance logging 62/5362/4
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Mon, 16 Dec 2019 14:21:33 +0000 (15:21 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 2 Jan 2020 21:18:22 +0000 (21:18 +0000)
commitbc0667c2371b7b142356aaab7f125c30f76168fd
treef7cf2dbf969d580651ed3938f146c61dd5ea79a8
parent9c5c3ab3d60285fb7976341031705d0340c5fe33
flash/nor/stm32h7: (minor) use proper variable names and enhance logging

-fsize_base should be fsize_addr as it is the address of FLASH_SIZE register
-flash_base should be flash_regs_base to avoid confusion with flash block start
-add LOG_ERROR to functions stm32x_[read|write]_flash_reg(...)

Change-Id: I86f035314bcd616fc0bdf445692d945a85c15481
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/5362
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/stm32h7x.c