]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
optee: Correct dependencies for BOOTM_OPTEE
authorTom Rini <trini@konsulko.com>
Fri, 20 Mar 2026 17:24:58 +0000 (11:24 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 3 Apr 2026 18:06:07 +0000 (12:06 -0600)
As exposed by "make randconfig", we have an issue with the dependencies
for BOOTM_OPTEE. This symbol needs to select BOOTM_LINUX and in turn
depend on the library symbols that have to be enabled for BOOTM_LINUX to
be valid (LIB_BOOTI, LIB_BOOTM and LIB_BOOTZ).

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
lib/optee/Kconfig

index 34b9d8afe675c5aa2aa2122e6716eda1697e3898..e0de57e293062fe253c5c88062ae727564087bfa 100644 (file)
@@ -40,6 +40,7 @@ config OPTEE_TZDRAM_SIZE
 
 config BOOTM_OPTEE
        bool "Support OPTEE bootm command"
+       depends on LIB_BOOTI || LIB_BOOTM || LIB_BOOTZ
        select BOOTM_LINUX
        select OPTEE_IMAGE
        help