arm: stm32mp: add config for STM32IMAGE support
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 26 Jul 2021 09:21:34 +0000 (11:21 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 16 Aug 2021 07:34:27 +0000 (09:34 +0200)
commit6de57b41ddeddf6a01a61ea14614a90aba0bcd92
tree3a75dc879f2cc0f721b3c29cbe395166cddb76ff
parent28e5acef72fb04cd7a2f9ecb63894b603a65b8b5
arm: stm32mp: add config for STM32IMAGE support

By default for trusted boot with TF-A, U-Boot (u-boot-nodtb)
is located in FIP container with its device tree and with
the secure monitor (provided by TF-A or OP-TEE).
The FIP file is loaded by TF-A BL2 and each components is
extracted at the final location.

This patch add CONFIG_STM32MP15x_STM32IMAGE to request the
STM32 image generation for SOC STM32MP15x
when FIP container is not used (u-boot.stm32 is loaded by TF-A
as done previously to keep the backward compatibility).

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/Kconfig
arch/arm/mach-stm32mp/config.mk
board/st/stm32mp1/stm32mp1.c
configs/stm32mp15_trusted_defconfig