]> git.sur5r.net Git - openocd/commit
stm32: enable flash bank size override
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 5 Feb 2013 16:41:30 +0000 (16:41 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 25 Feb 2013 11:56:18 +0000 (11:56 +0000)
commitbd5df8520b5d1755c8c8a86a0f64d3aa452729ca
tree1738560d120bd402930f71c8bfaf61ee9b9ab8db
parent87668aebf1851c06af2513ab5f27ebb9ebf1ff16
stm32: enable flash bank size override

It has been seen on some stm32 targets that the flash size register that
is probed by the driver may contain an invalid size.

This change enables the user to override the probed value.

Change-Id: I09359e59a96f9133d3d939670957d32a830a944e
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1132
Tested-by: jenkins
Reviewed-by: Johan Almquist <johan.almquist@assaabloy.com>
doc/openocd.texi
src/flash/nor/stm32f1x.c
src/flash/nor/stm32f2x.c
src/flash/nor/stm32lx.c