diff options
author | Jagan Teki <jagan@edgeble.ai> | 2022-11-03 11:49:47 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-22 15:39:13 -0500 |
commit | f36597122906391afd20fd9663939f9ce4a060f4 (patch) | |
tree | 9380d2512236c094837b030ba6bdc2e7392e601c | |
parent | dcb0cc01692cd231f817c4c4b3c59901a854e63e (diff) | |
download | u-boot-f36597122906391afd20fd9663939f9ce4a060f4.zip u-boot-f36597122906391afd20fd9663939f9ce4a060f4.tar.gz u-boot-f36597122906391afd20fd9663939f9ce4a060f4.tar.bz2 |
spl: Kconfig: Fix SPL_OPTEE_IMAGE dependency
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@edgeble.ai>
-rw-r--r-- | common/spl/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 6c4848f..d774c93 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -1481,6 +1481,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 |