]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tee: QCOMTEE should depend on ARCH_QCOM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 30 Sep 2025 14:44:27 +0000 (16:44 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 2 Oct 2025 06:31:10 +0000 (08:31 +0200)
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>
drivers/tee/qcomtee/Kconfig

index 927686abceb1536e50329dc1fc2eac84a3586d03..9f19dee08db491c382fad0a998115e144f82e4c4 100644 (file)
@@ -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