From: Arnd Bergmann Date: Wed, 10 May 2017 19:05:16 +0000 (+0200) Subject: tee: add ARM_SMCCC dependency X-Git-Tag: accepted/tizen/unified/20190130.053716~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c9d6dd7f0fae07c42f12d3ebab8c85aab385749;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.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 [egukim: Backported from mainline kernel v4.12] Signed-off-by:eunggu kim Change-Id: I043b28e0e44ee8b9bb1310af4ff811af39fd5f84 --- diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig index 2330a4e..a6df12d 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