mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
ARM: tegra124: convert TEGRA_SUPPORT_NON_SECURE into Kconfig
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
parent
bb8a602ca9
commit
27e69fe99a
3 changed files with 7 additions and 10 deletions
7
README
7
README
|
@ -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)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue