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 <[email protected]>
> ---
> Cc: Patrice Chotard <[email protected]>
> Cc: Patrick Delaunay <[email protected]>
> Cc: Tom Rini <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>  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 <[email protected]>

Thanks
Patrice

Reply via email to