On ARM64 OP-TEE loading requires to be in EL3 so we can't load OP-TEE
via bootm on these systems.

Signed-off-by: Marco Felsch <m.fel...@pengutronix.de>
---
 common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Kconfig b/common/Kconfig
index 02f376c59757..c38cfaed0e9f 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1143,7 +1143,7 @@ config OPTEE_SIZE
 config BOOTM_OPTEE
        bool
        prompt "support booting OP-TEE"
-       depends on BOOTM && ARM
+       depends on BOOTM && ARM && 32BIT
        select HAVE_OPTEE
        help
          OP-TEE is a trusted execution environment (TEE). With this option
-- 
2.39.2


Reply via email to