[PATCH v2 1/3] spl: Kconfig: Fix SPL_OPTEE_IMAGE dependency
Jagan Teki
jagan at edgeble.ai
Thu Nov 3 07:19:47 CET 2022
fdt_addr will build as part of SPL_LOAD_FIT or SPL_LOAD_FIT_FULL
which is indeed required to build optee image support in SPL.
common/spl/spl.c: In function ‘jump_to_image_optee’:
common/spl/spl.c:220:46: error: ‘struct spl_image_info’ has no member named ‘fdt_addr’
220 | spl_optee_entry(NULL, NULL, spl_image->fdt_addr,
Fix the dependency support.
Signed-off-by: Jagan Teki <jagan at edgeble.ai>
---
Changes for v2:
- none
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b738c749ff..95a4b8e855 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1479,6 +1479,7 @@ config SPL_AM33XX_ENABLE_RTC32K_OSC
config SPL_OPTEE_IMAGE
bool "Support OP-TEE Trusted OS image in SPL"
depends on ARM
+ depends on SPL_LOAD_FIT || SPL_LOAD_FIT_FULL
help
OP-TEE is an open source Trusted OS which is loaded by SPL.
More detail at: https://github.com/OP-TEE/optee_os
--
2.25.1
More information about the U-Boot
mailing list