Partially Revert "flash/stm32l4x: introduce flash programming without loader"
authorOleksij Rempel <linux@rempel-privat.de>
Wed, 15 Sep 2021 09:34:21 +0000 (10:34 +0100)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 18 Sep 2021 18:15:35 +0000 (18:15 +0000)
commita0bd3c9924870c3b8f428648410181040dabc33c
tree22eb03c2a51aeb046b409f607659f718490f1c71
parenta1903f2867037ada39ab814658e1034eb96d1827
Partially Revert "flash/stm32l4x: introduce flash programming without loader"

This partially reverts commit 1247eee4e6e5.

There is no reasonable use cases where work-area should be enabled
and working, and it can't be used for the flash loader.

Instead of introducing driver specific property, users can disable
flash load by disabling work-area, for example by setting it to 0.

But still we keep the function stm32l4_write_block_without_loader
to be used when workarea is not available (no sufficient size or zero)

Change-Id: Ibb046c74df354c6067bac978e8ef7efb47d9fd2b
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6569
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
doc/openocd.texi
src/flash/nor/stm32l4x.c