]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
firmware: qcom: tzmem: don't ask about allocator mode when not enabled
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2024 00:35:45 +0000 (17:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2024 00:35:45 +0000 (17:35 -0700)
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>
drivers/firmware/qcom/Kconfig

index 7f6eb41747346a4f62833a0e288377285413c18d..73a1a41bf92dddc0bdd58a5bed1e575c5817cb90 100644 (file)
@@ -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