]> git.sur5r.net Git - openocd/commit
flash: use stm32f2x flash size register
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 4 Jan 2012 22:43:59 +0000 (22:43 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 9 Jan 2012 09:49:54 +0000 (09:49 +0000)
commite024bcc3d93b9b0a665a2d32b747733f90cbcfac
tree35fce2885991cc7d302e99d65296388835311da2
parenta77ba6a8b4cce753f0c2d58133fb2eeffe5a268f
flash: use stm32f2x flash size register

Use the flash size register to calculate flash info.

Change-Id: Ia230db8a08d440710c030a9e5001f20561c9f420
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/337
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
src/flash/nor/stm32f2x.c