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