Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexandre Courbot and committed by
Stephen Warren
1a5de3ae fb2947c7

+8
+5
Documentation/devicetree/bindings/arm/tegra.txt
··· 32 32 nvidia,whistler 33 33 toradex,colibri_t20-512 34 34 toradex,iris 35 + 36 + Trusted Foundations 37 + ------------------------------------------- 38 + Tegra supports the Trusted Foundation secure monitor. See the 39 + "tlm,trusted-foundations" binding's documentation for more details.
+1
arch/arm/mach-tegra/Kconfig
··· 2 2 bool "NVIDIA Tegra" if ARCH_MULTI_V7 3 3 select ARCH_HAS_CPUFREQ 4 4 select ARCH_REQUIRE_GPIOLIB 5 + select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS 5 6 select ARM_GIC 6 7 select CLKSRC_MMIO 7 8 select CLKSRC_OF
+2
arch/arm/mach-tegra/tegra.c
··· 40 40 #include <asm/mach/arch.h> 41 41 #include <asm/mach/time.h> 42 42 #include <asm/setup.h> 43 + #include <asm/trusted_foundations.h> 43 44 44 45 #include "apbio.h" 45 46 #include "board.h" ··· 91 90 92 91 static void __init tegra_init_early(void) 93 92 { 93 + of_register_trusted_foundations(); 94 94 tegra_apb_io_init(); 95 95 tegra_init_fuse(); 96 96 tegra_cpu_reset_handler_init();