stm32f1x: fix stm32f0/f3 broken unlock
commit9060ae7de5967b76f7dfa69939a00c56830f74a7
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 19 Nov 2012 12:46:33 +0000 (19 12:46 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 31 Dec 2012 19:08:10 +0000 (31 19:08 +0000)
treef3db8177392f8a7b5d8ab190cdc69bcd660d5674
parentaebe7596f647d1d5a37cf5668063b74376d7c253
stm32f1x: fix stm32f0/f3 broken unlock

The STM32F0 and F3 devices use a different default RDP to configure a
unlocked device, make sure we use that.

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