flash: fix incorrect stm32f2x/stm32f4x flash size register
commit338f5a1d4872b4fd49e8eef6bd1ff03330f284e2
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 13 Feb 2012 16:37:22 +0000 (13 16:37 +0000)
committerPeter Stuge <peter@stuge.se>
Mon, 13 Feb 2012 17:21:24 +0000 (13 17:21 +0000)
tree65bf0c3ecdeba6e97ea329c020e93d23e06bd7b3
parentde545ee93ab59a62a9798391b9c5c3142def56eb
flash: fix incorrect stm32f2x/stm32f4x flash size register

The ref manuals for the stm32f2x (RM0033 Rev4) and stm32f4x (RM0090 rev1)
are unclear to the address of the flash size register (F_ID).

According to contacts @ ST this is the correct address, the manuals will be
updated in due coarse.

Change-Id: If9fb83b3100458d17038cf27c2b23355e1dc5a9e
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/448
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: jenkins
src/flash/nor/stm32f2x.c