diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-10 21:05:16 +0200 |
---|---|---|
committer | Joonyoung Shim <jy0922.shim@samsung.com> | 2017-07-03 17:32:31 +0900 |
commit | ea3bf0767a2668abf5957aedf62b095add5ddf73 (patch) | |
tree | 7466814323b07c2b0b5a765648b44c4511e2b84c | |
parent | 2702cfbe7a952d45e9894b1ac2ddb9110ae18423 (diff) | |
download | linux-rpi3-ea3bf0767a2668abf5957aedf62b095add5ddf73.tar.gz linux-rpi3-ea3bf0767a2668abf5957aedf62b095add5ddf73.tar.bz2 linux-rpi3-ea3bf0767a2668abf5957aedf62b095add5ddf73.zip |
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>
[egukim: Backported from mainline kernel v4.12]
Signed-off-by:eunggu kim <egukim@dignsys.com>
Change-Id: I1eaf9f24ff79dd9532632500f47cdbfa9918546e
-rw-r--r-- | drivers/tee/Kconfig | 1 |
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 |