ARM: stm32: Add missing build of ST DFU virt code on DH STM32MP1 DHSOM
PATCH 1/1 ARM: stm32: Add missing build of ST DFU virt code on DH STM32MP1 DHSOM
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.
---
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(+)
board/dhelectronics/dh_stm32mp1/Makefile +1 -0
@@ -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
Signature · 1 line
2.51.0
Quoted 25 lines · Marek Vasut
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 theMakefileaccordingly 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(+)board/dhelectronics/dh_stm32mp1/Makefile +0
-0
board/dhelectronics/dh_stm32mp1/Makefile obj-$(CONFIG_PMIC_STPMIC1) += ../../st/common/stpmic1.o · line 10
Quoted 4 lines
board/dhelectronics/dh_stm32mp1/Makefile +1
-0@@ -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
Thanks
Patrice
Quoted 30 lines · Patrice CHOTARD
Quoted 27 lines · Marek Vasut
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 theMakefileaccordingly 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(+)board/dhelectronics/dh_stm32mp1/Makefile +0
-0@@ -7,3 +7,4 @@ obj-$(CONFIG_PMIC_STPMIC1) += ../../st/common/stpmic1.o obj-y += board.o
Quoted 7 lines
board/dhelectronics/dh_stm32mp1/Makefile obj-$(CONFIG_PMIC_STPMIC1) += ../../st/common/stpmic1.o · line 10
Quoted 2 lines
board/dhelectronics/dh_stm32mp1/Makefile +1
-0obj-$(CONFIG_SET_DFU_ALT_INFO) += ../../st/common/stm32mp_dfu.o +obj-$(CONFIG_$(PHASE_)DFU_VIRT) += ../../st/common/stm32mp_dfu_virt.oReviewed-by Patrice Chotard <[email protected]>Thanks
Patrice
Applied to u-boot-stm32/master
Thanks
Patrice