From: Arnd Bergmann Date: Wed, 10 May 2017 19:05:16 +0000 (+0200) Subject: tee: add ARM_SMCCC dependency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e84188852a7239d7a144af12f7e5dac8fa88600b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Arnd Bergmann --- 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