From e49de0d8664d6aab8394755c8b2ce19a38ade44c Mon Sep 17 00:00:00 2001 From: Alexander Wachter Date: Thu, 20 Feb 2020 09:50:52 +0100 Subject: [PATCH] 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 --- drivers/hwinfo/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwinfo/Kconfig b/drivers/hwinfo/Kconfig index 0aff7de69c5..737bb481980 100644 --- a/drivers/hwinfo/Kconfig +++ b/drivers/hwinfo/Kconfig @@ -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.