drivers: hwinfo: Exclude NRF53 non-secure from hwinfo driver

Make the NRF hwinfo driver depending on !TRUSTED_EXECUTION_NONSECURE
because the FICR registers are not accessible from the non-secure
world.

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
This commit is contained in:
Alexander Wachter 2020-02-20 09:50:52 +01:00 committed by Carles Cufí
commit e49de0d866

View file

@ -31,7 +31,7 @@ config HWINFO_STM32
config HWINFO_NRF
bool "NRF device ID"
default y
depends on SOC_FAMILY_NRF
depends on SOC_FAMILY_NRF && !TRUSTED_EXECUTION_NONSECURE
select HWINFO_HAS_DRIVER
help
Enable Nordic NRF hwinfo driver.