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 <marek.vasut+renesas@mailbox.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2026-03-20 11:24:58 -06:00
parent 021e3828fb
commit 0b1a793502

View 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