]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: add binman support for STM32MP15x
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 13 Oct 2021 13:11:18 +0000 (15:11 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 10 Nov 2021 14:12:16 +0000 (15:12 +0100)
commit5564b4cd4d5c69a86d25dff1a4fce05cccac9246
tree4a56a52ededfa07ba1616133f85ca549abcd3c62
parent3067971aa9ab01cff82d9e4f8f1b776054388c2c
stm32mp: add binman support for STM32MP15x

Use binman to add the stm32image header on SPL binary for basic boot
or on U-Boot binary when it is required, i.e. for TF-A boot without FIP
support, when CONFIG_STM32MP15x_STM32IMAGE is activated.

The "binman" tool is the recommended tool for specific image generation.
This patch allows to suppress the config.mk file and it is a preliminary
step to manage FIT generation with binman.

The init_r parsing of U-Boot device tree to search the binman
information is not required for STM32MP15, so the binman library
can be removed in U-Boot (CONFIG_BINMAN_FDT is deactivated).

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
12 files changed:
arch/arm/dts/stm32mp15-u-boot.dtsi
arch/arm/mach-stm32mp/Kconfig
arch/arm/mach-stm32mp/config.mk [deleted file]
configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
configs/stm32mp15_trusted_defconfig