flash: use correct stm32f1x option read mask91/991/2
commitbf2b0a03614ab8185eddb06c66e184b305b4fe75
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 20 Nov 2012 15:17:46 +0000 (20 15:17 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 31 Dec 2012 19:08:17 +0000 (31 19:08 +0000)
treee4030183594a652207bc34b0ba2510d647dae2de
parent9060ae7de5967b76f7dfa69939a00c56830f74a7
flash: use correct stm32f1x option read mask

Make sure we do not mask out the BFB2 boot bank bit, as this is used on
the larger XL devices.

Change-Id: Iacfdf874140e409e0c4ca9b9aee8f5c2f90dc9be
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/991
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/stm32f1x.c