flash/nor/nrf5: remove check for protected sector 48/5348/2
authorTomas Vanek <vanekt@fbl.cz>
Thu, 9 May 2019 14:38:47 +0000 (16:38 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 12 Dec 2019 14:31:59 +0000 (14:31 +0000)
commit22b4abc46c552bfc21003853b74e732da773cd1d
tree9d91dde41ac5e2bc4959210372db81ec4d8bfb64
parent0f12d792ed5ab2b8f934e689b8a23f8c55f1f218
flash/nor/nrf5: remove check for protected sector

The new "Access control list" flash protection scheme used in nRF52840
is not yet supported. Do not prevent sector erase if protection
state is unknown.

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