flash: fix stm32f1x dual bank detection 44/1544/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 6 Aug 2013 13:36:12 +0000 (14:36 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 29 Aug 2013 12:59:37 +0000 (12:59 +0000)
commit017a202086603119793d8da56989591512d08ed0
treeaa32c9a6cc3a07e873dd4d903e58a224bc7c6df2
parentef1f2c0a3d585718d0db4faadb115a15c8019849
flash: fix stm32f1x dual bank detection

Not all devices with devce id 0x419 have dual flash banks, only those
with > 1024kB.

Change-Id: I197d2b87df7599cd0837e25648af48439f2f1e50
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1544
Tested-by: jenkins
src/flash/nor/stm32f2x.c