diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-11-24 15:30:49 +0900 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-12-13 12:50:31 -0700 |
commit | 1a5de3aeb015e495b7ffe03186cc598f17d8ad88 (patch) | |
tree | 0f5be4164e6c9d9cbcb08b4ae9d208b42afe6a36 /arch/arm/mach-tegra | |
parent | fb2947c74b422f8aaef844128d20bc7c641356ea (diff) | |
download | linux-1a5de3aeb015e495b7ffe03186cc598f17d8ad88.tar.gz linux-1a5de3aeb015e495b7ffe03186cc598f17d8ad88.tar.bz2 linux-1a5de3aeb015e495b7ffe03186cc598f17d8ad88.zip |
ARM: tegra: add support for Trusted Foundations
Register the firmware operations for Trusted Foundations if the device
tree indicates it is active on the device.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 09e740f58b27..00b85fd9285d 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -2,6 +2,7 @@ config ARCH_TEGRA bool "NVIDIA Tegra" if ARCH_MULTI_V7 select ARCH_HAS_CPUFREQ select ARCH_REQUIRE_GPIOLIB + select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS select ARM_GIC select CLKSRC_MMIO select CLKSRC_OF diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index 73368176c6e8..09a1f8d98ca2 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c @@ -40,6 +40,7 @@ #include <asm/mach/arch.h> #include <asm/mach/time.h> #include <asm/setup.h> +#include <asm/trusted_foundations.h> #include "apbio.h" #include "board.h" @@ -90,6 +91,7 @@ static void __init tegra_init_cache(void) static void __init tegra_init_early(void) { + of_register_trusted_foundations(); tegra_apb_io_init(); tegra_init_fuse(); tegra_cpu_reset_handler_init(); |