summaryrefslogtreecommitdiffstats
path: root/drivers/tee
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-10 21:05:16 +0200
committerArnd Bergmann <arnd@arndb.de>2017-05-10 21:05:16 +0200
commite84188852a7239d7a144af12f7e5dac8fa88600b (patch)
tree362838b0d7531717c74bcb4ffdabce3420a92dce /drivers/tee
parente038d5515b4a0c0946f331f4eeaa538453a89c36 (diff)
downloadlinux-e84188852a7239d7a144af12f7e5dac8fa88600b.tar.bz2
tee: add ARM_SMCCC dependency
For the moment, the tee subsystem only makes sense in combination with the op-tee driver that depends on ARM_SMCCC, so let's hide the subsystem from users that can't select that. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/tee')
-rw-r--r--drivers/tee/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig
index 2330a4eb4e8b..a6df12d88f90 100644
--- a/drivers/tee/Kconfig
+++ b/drivers/tee/Kconfig
@@ -1,6 +1,7 @@
# Generic Trusted Execution Environment Configuration
config TEE
tristate "Trusted Execution Environment support"
+ depends on HAVE_ARM_SMCCC || COMPILE_TEST
select DMA_SHARED_BUFFER
select GENERIC_ALLOCATOR
help