Skip to content
Snippets Groups Projects
Commit 27e69fe9 authored by Svyatoslav Ryhel's avatar Svyatoslav Ryhel
Browse files

ARM: tegra124: convert TEGRA_SUPPORT_NON_SECURE into Kconfig

parent bb8a602c
No related branches found
No related tags found
No related merge requests found
......@@ -300,13 +300,6 @@ The following options need to be configured:
different from COUNTER_FREQUENCY, and can only be determined
at run time.
- Tegra SoC options:
CONFIG_TEGRA_SUPPORT_NON_SECURE
Support executing U-Boot in non-secure (NS) mode. Certain
impossible actions will be skipped if the CPU is in NS mode,
such as ARM architectural timer initialization.
- Linux Kernel Interface:
CONFIG_OF_LIBFDT
......
......@@ -176,6 +176,13 @@ config TEGRA_DISCONNECT_UDC_ON_BOOT
USB controller when U-Boot boots to avoid leaving a stale USB device
present.
config TEGRA_SUPPORT_NON_SECURE
bool "Support executing U-Boot in non-secure (NS) mode"
depends on TEGRA124
help
Certain impossible actions will be skipped if the CPU is in NS mode,
such as ARM architectural timer initialization.
config CI_UDC_HAS_HOSTPC
def_bool y
depends on CI_UDC && !TEGRA20
......
......@@ -77,9 +77,6 @@ bool spl_was_boot_source(void)
}
#if defined(CONFIG_TEGRA_SUPPORT_NON_SECURE)
#if !defined(CONFIG_TEGRA124)
#error tegra_cpu_is_non_secure has only been validated on Tegra124
#endif
bool tegra_cpu_is_non_secure(void)
{
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment