]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit79e48e1a22a80124a7dc9bc0b72bba7a0f77146c
tree9380d2512236c094837b030ba6bdc2e7392e601c
parente03a6442d37b509eeb0f9cc76747d420bc2c7064
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