ARM: tegra114: support nonsecure state detection
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 11 Dec 2023 09:37:07 +0000 (11:37 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 3 Jan 2024 18:20:12 +0000 (20:20 +0200)
Principle 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@gmail.com>
arch/arm/mach-tegra/Kconfig

index fb1a46b..c8907bc 100644 (file)
@@ -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.