summaryrefslogtreecommitdiff
path: root/drivers/tee
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2025-09-30 16:44:27 +0200
committerJens Wiklander <jens.wiklander@linaro.org>2025-10-02 08:31:10 +0200
commit3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177 (patch)
tree6ca80b7472bfcfd08972d3017d7ab74dd4e21d37 /drivers/tee
parenta9ee2c461e5c361545f0c45e9f149159ba369c64 (diff)
downloadlinux-3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177.tar.gz
linux-3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177.tar.bz2
linux-3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177.zip
tee: QCOMTEE should depend on ARCH_QCOM
The Qualcomm Trusted Execution Environment (QTEE) is only available on Qualcomm SoCs. Hence add a dependency on ARCH_QCOM, to prevent asking the user about this driver when configuring a kernel without Qualcomm platform support. Fixes: d6e290837e50f73f ("tee: add Qualcomm TEE driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee')
-rw-r--r--drivers/tee/qcomtee/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tee/qcomtee/Kconfig b/drivers/tee/qcomtee/Kconfig
index 927686abceb1..9f19dee08db4 100644
--- a/drivers/tee/qcomtee/Kconfig
+++ b/drivers/tee/qcomtee/Kconfig
@@ -2,6 +2,7 @@
# Qualcomm Trusted Execution Environment Configuration
config QCOMTEE
tristate "Qualcomm TEE Support"
+ depends on ARCH_QCOM || COMPILE_TEST
depends on !CPU_BIG_ENDIAN
select QCOM_SCM
select QCOM_TZMEM_MODE_SHMBRIDGE