summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-07-16 17:35:45 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-07-16 17:35:45 -0700
commit9de4ad3bde144b55b8451fc280c18107c139481c (patch)
tree83e7118391a83d746b73809c88d5b1df2d42f38e
parent17e6a1213058d8759bcf043151c04612df55ebc4 (diff)
firmware: qcom: tzmem: don't ask about allocator mode when not enabled
The Qualcomm firmware code shouldn't ask about what memory allocator mode should be used when the code isn't even enabled. Get rid of pointless config-time question. Link: https://lore.kernel.org/all/CAHk-=wg+38EHPKGou1MqXwAAXC30cM8sMgZAGnZ7TcFO4L9J2w@mail.gmail.com/ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/firmware/qcom/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/qcom/Kconfig b/drivers/firmware/qcom/Kconfig
index 7f6eb4174734..73a1a41bf92d 100644
--- a/drivers/firmware/qcom/Kconfig
+++ b/drivers/firmware/qcom/Kconfig
@@ -16,6 +16,7 @@ config QCOM_TZMEM
choice
prompt "TrustZone interface memory allocator mode"
+ depends on QCOM_TZMEM
default QCOM_TZMEM_MODE_GENERIC
help
Selects the mode of the memory allocator providing memory buffers of