diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-07-17 02:35:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-07-17 02:35:45 +0200 |
commit | 9de4ad3bde144b55b8451fc280c18107c139481c (patch) | |
tree | 83e7118391a83d746b73809c88d5b1df2d42f38e /drivers/firmware/qcom | |
parent | um: Use generic runtime constant implementation (diff) | |
download | linux-9de4ad3bde144b55b8451fc280c18107c139481c.tar.xz linux-9de4ad3bde144b55b8451fc280c18107c139481c.zip |
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>
Diffstat (limited to 'drivers/firmware/qcom')
-rw-r--r-- | drivers/firmware/qcom/Kconfig | 1 |
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 |