[PATCH] ARM: stm32: Add missing build of ST DFU virt code on DH STM32MP1 DHSOM
Patrice CHOTARD
patrice.chotard at foss.st.com
Mon Nov 17 08:07:40 CET 2025
On 10/31/25 10:48, Patrice CHOTARD wrote:
>
>
> On 10/31/25 05:16, Marek Vasut wrote:
>> Commit 6d91f0a3a14d ("board: st: common: cleanup dfu support") split
>> the vendor-specific DFU implementation into two files, but failed to
>> update other non-ST boards. This did not lead to noticable breakage
>> with plain simple dfu-util, but it makes the ST proprietary programmer
>> CLI tool end in an infinite loop. Update the Makefile accordingly to
>> allow even that kind of tooling to work.
>>
>> Fixes: 6d91f0a3a14d ("board: st: common: cleanup dfu support")
>> Signed-off-by: Marek Vasut <marek.vasut at mailbox.org>
>> ---
>> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
>> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
>> Cc: Tom Rini <trini at konsulko.com>
>> Cc: u-boot at dh-electronics.com
>> Cc: u-boot at lists.denx.de
>> Cc: uboot-stm32 at st-md-mailman.stormreply.com
>> ---
>> board/dhelectronics/dh_stm32mp1/Makefile | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/board/dhelectronics/dh_stm32mp1/Makefile b/board/dhelectronics/dh_stm32mp1/Makefile
>> index ffd221ac224..2f4a301d1a0 100644
>> --- a/board/dhelectronics/dh_stm32mp1/Makefile
>> +++ b/board/dhelectronics/dh_stm32mp1/Makefile
>> @@ -7,3 +7,4 @@ obj-$(CONFIG_PMIC_STPMIC1) += ../../st/common/stpmic1.o
>> obj-y += board.o
>>
>> obj-$(CONFIG_SET_DFU_ALT_INFO) += ../../st/common/stm32mp_dfu.o
>> +obj-$(CONFIG_$(PHASE_)DFU_VIRT) += ../../st/common/stm32mp_dfu_virt.o
>
> Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
>
> Thanks
> Patrice
Applied to u-boot-stm32/master
Thanks
Patrice
More information about the U-Boot
mailing list