Commit 4cb5d9ec authored by Thierry Reding's avatar Thierry Reding
Browse files

firmware: Move Trusted Foundations support



Move the Trusted Foundations support out of arch/arm/firmware and into
drivers/firmware where most other firmware support implementations are
located.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent c8e7755e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -899,8 +899,6 @@ config PLAT_PXA
config PLAT_VERSATILE
	bool

source "arch/arm/firmware/Kconfig"

source "arch/arm/mm/Kconfig"

config IWMMXT
+0 −1
Original line number Diff line number Diff line
@@ -290,7 +290,6 @@ core-y += arch/arm/kernel/ arch/arm/mm/ arch/arm/common/
core-y				+= arch/arm/probes/
core-y				+= arch/arm/net/
core-y				+= arch/arm/crypto/
core-y				+= arch/arm/firmware/
core-y				+= $(machdirs) $(platdirs)

drivers-$(CONFIG_OPROFILE)      += arch/arm/oprofile/

arch/arm/firmware/Kconfig

deleted100644 → 0
+0 −29
Original line number Diff line number Diff line
config ARCH_SUPPORTS_FIRMWARE
	bool

config ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
	bool
	select ARCH_SUPPORTS_FIRMWARE

menu "Firmware options"
	depends on ARCH_SUPPORTS_FIRMWARE

config TRUSTED_FOUNDATIONS
	bool "Trusted Foundations secure monitor support"
	depends on ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
	default y
	help
	  Some devices (including most Tegra-based consumer devices on the
	  market) are booted with the Trusted Foundations secure monitor
	  active, requiring some core operations to be performed by the secure
	  monitor instead of the kernel.

	  This option allows the kernel to invoke the secure monitor whenever
	  required on devices using Trusted Foundations. See
	  arch/arm/include/asm/trusted_foundations.h or the
	  tlm,trusted-foundations device tree binding documentation for details
	  on how to use it.

	  Say n if you don't know what this is about.

endmenu

arch/arm/firmware/Makefile

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
obj-$(CONFIG_TRUSTED_FOUNDATIONS)	+= trusted_foundations.o

# tf_generic_smc() fails to build with -fsanitize-coverage=trace-pc
KCOV_INSTRUMENT                := n
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@ menuconfig ARCH_TEGRA
	bool "NVIDIA Tegra"
	depends on ARCH_MULTI_V7
	select ARCH_HAS_RESET_CONTROLLER
	select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
	select ARM_AMBA
	select ARM_GIC
	select CLKSRC_MMIO
Loading