From: Tom Rini Date: Fri, 20 Mar 2026 17:24:58 +0000 (-0600) Subject: optee: Correct dependencies for BOOTM_OPTEE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b1a79350212d0d166135bcfa4dd3a2cfbdc59ce;p=thirdparty%2Fu-boot.git optee: Correct dependencies for BOOTM_OPTEE 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 Signed-off-by: Tom Rini --- diff --git a/lib/optee/Kconfig b/lib/optee/Kconfig index 34b9d8afe67..e0de57e2930 100644 --- a/lib/optee/Kconfig +++ b/lib/optee/Kconfig @@ -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