diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2019-01-19 15:04:20 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-02-04 10:26:47 +0000 |
commit | 346ce2f13f48f36550b2a1a3862801496e20c81b (patch) | |
tree | e32f1aa0ccb6dd4f54d46cc5f3b5a6f9c9b32bc6 /tcl | |
parent | e978e53c7710a3643abea628245a0e155ad4dfd9 (diff) | |
download | riscv-openocd-346ce2f13f48f36550b2a1a3862801496e20c81b.zip riscv-openocd-346ce2f13f48f36550b2a1a3862801496e20c81b.tar.gz riscv-openocd-346ce2f13f48f36550b2a1a3862801496e20c81b.tar.bz2 |
flash/nor/stm32f1x: use address instead of offset in stm32x_write_block()
stm32x_write_options() uses stm32x_write_block() at STM32_OB_RDP address.
The change eliminates subtracting bank->base (and later adding it back).
Change-Id: Icdd24afc7178b814be58e6033d4b93fdfb2d2a16
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4859
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Christopher Head <chead@zaber.com>
Diffstat (limited to 'tcl')
0 files changed, 0 insertions, 0 deletions