tee: add ARM_SMCCC dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 10 May 2017 19:05:16 +0000 (21:05 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 May 2017 19:05:16 +0000 (21:05 +0200)
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>
drivers/tee/Kconfig

index 2330a4e..a6df12d 100644 (file)
@@ -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