spl: Kconfig: Fix SPL_OPTEE_IMAGE dependency
authorJagan Teki <jagan@edgeble.ai>
Thu, 3 Nov 2022 06:19:47 +0000 (11:49 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 20:39:13 +0000 (15:39 -0500)
commitf36597122906391afd20fd9663939f9ce4a060f4
tree9380d2512236c094837b030ba6bdc2e7392e601c
parentdcb0cc01692cd231f817c4c4b3c59901a854e63e
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>
common/spl/Kconfig