[PATCH v1 3/3] ARM: tegra114: support nonsecure state detection

Svyatoslav Ryhel clamor95 at gmail.com
Sat Dec 23 17:45:25 CET 2023


Prinsiple is exactly the same as on T124, testing of register
which behaves differently in secure and non-secure states.

Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
---
 arch/arm/mach-tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index fb1a46b780..c8907bccec 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -178,7 +178,7 @@ config TEGRA_DISCONNECT_UDC_ON_BOOT
 
 config TEGRA_SUPPORT_NON_SECURE
 	bool "Support executing U-Boot in non-secure (NS) mode"
-	depends on TEGRA124
+	depends on TEGRA114 || TEGRA124
 	help
 	  Certain impossible actions will be skipped if the CPU is in NS mode,
 	  such as ARM architectural timer initialization.
-- 
2.40.1



More information about the U-Boot mailing list