[PATCH v2] stm32mp: add binman support for STM32MP15x
Patrice CHOTARD
patrice.chotard at foss.st.com
Wed Nov 10 17:04:54 CET 2021
Hi Patrick
On 10/13/21 6:58 PM, Simon Glass wrote:
> On Wed, 13 Oct 2021 at 07:11, Patrick Delaunay
> <patrick.delaunay at foss.st.com> wrote:
>>
>> 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 at foss.st.com>
>> ---
>>
>> Changes in v2:
>> - deactivate CONFIG_BINMAN_FDT
>>
>> arch/arm/dts/stm32mp15-u-boot.dtsi | 29 +++++++++++++++++++
>> arch/arm/mach-stm32mp/Kconfig | 1 +
>> arch/arm/mach-stm32mp/config.mk | 29 -------------------
>> ...stm32mp15-icore-stm32mp1-ctouch2_defconfig | 1 +
>> ...tm32mp15-icore-stm32mp1-edimm2.2_defconfig | 1 +
>> ...-microgea-stm32mp1-microdev2-of7_defconfig | 1 +
>> ...mp15-microgea-stm32mp1-microdev2_defconfig | 1 +
>> configs/stm32mp15_basic_defconfig | 1 +
>> configs/stm32mp15_defconfig | 1 +
>> configs/stm32mp15_dhcom_basic_defconfig | 1 +
>> configs/stm32mp15_dhcor_basic_defconfig | 1 +
>> configs/stm32mp15_trusted_defconfig | 1 +
>> 12 files changed, 39 insertions(+), 29 deletions(-)
>> delete mode 100644 arch/arm/mach-stm32mp/config.mk
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Suggest lower-case hex for the addresses though.
>
Applied on u-boot-stm/master
Thanks
More information about the U-Boot
mailing list