flash/stm32*: Remove the halted check in protect_check
commit3646e86c974948fdae4bd0771377e1910966bc8e
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 9 Jul 2013 20:32:24 +0000 (9 22:32 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 15 Jul 2013 09:55:44 +0000 (15 09:55 +0000)
tree63ee0e62b84276f652645c14edcdc058bd37cc1f
parent9c298cd27874c77bd9f5aa84c0380349f002cffa
flash/stm32*: Remove the halted check in protect_check

These chips are capable of reading the flash registers while they're
running.

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