Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MMC U-Boot Custodian Tree
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
U-Boot
Custodians
MMC U-Boot Custodian Tree
Commits
27e69fe9
Commit
27e69fe9
authored
1 year ago
by
Svyatoslav Ryhel
Browse files
Options
Downloads
Patches
Plain Diff
ARM: tegra124: convert TEGRA_SUPPORT_NON_SECURE into Kconfig
Signed-off-by:
Svyatoslav Ryhel
<
clamor95@gmail.com
>
parent
bb8a602c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+0
-7
0 additions, 7 deletions
README
arch/arm/mach-tegra/Kconfig
+7
-0
7 additions, 0 deletions
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/board.c
+0
-3
0 additions, 3 deletions
arch/arm/mach-tegra/board.c
with
7 additions
and
10 deletions
README
+
0
−
7
View file @
27e69fe9
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-tegra/Kconfig
+
7
−
0
View file @
27e69fe9
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-tegra/board.c
+
0
−
3
View file @
27e69fe9
...
...
@@ -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
)
{
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment