platform: nordic_nrf: Lock and enable write protection for S_CODE

Lock and enable write protection for S_CODE from region_defs.h.

Locking the region prevents malicious code in the PRoT from
configuring secure code to be non-secure.

Enabling write protection prevents malicious code in the PRoT from
overwriting the FW.

Change-Id: Ifd3a67ac2274fa8d7ceec19482f7cec02b2cac54
Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
1 file changed