flash/nor/nrf5: implement BPROT protection check for nRF52810,832 64/4864/4
authorTomas Vanek <vanekt@fbl.cz>
Sun, 20 Jan 2019 22:56:46 +0000 (23:56 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Tue, 26 Nov 2019 07:19:50 +0000 (07:19 +0000)
commitb2dbaf9e1569ddc75f461b0b378f6614ecb7a45d
tree9dbdc272cecc09c1756198d9d9c7fa6fb1812cc3
parent5da746fa09dc1fbc28b4b4431035f5058a7e76a2
flash/nor/nrf5: implement BPROT protection check for nRF52810,832

Also refuse 'flash protect' on any nRF52.
Fail protection check on nRF52840 until ACL protection is implemented.

Change-Id: I84fcf117427e4894147c3ad92e2a3597566b4fcf
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4864
Tested-by: jenkins
src/flash/nor/nrf5.c