]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp: stm32prog: handle the next phase after USB re-enumeration
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 18 May 2021 13:12:08 +0000 (15:12 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 18 Jun 2021 08:09:41 +0000 (10:09 +0200)
commit587f0df38e1faaf1d64b056d49e34a2c59b9f8c0
tree81eceec1eb16838e90bd9ed2acb0a513c669ec7e
parent790a55b05b44113ad8f1158665e1f2e8d4729823
stm32mp: stm32prog: handle the next phase after USB re-enumeration

Handle the second USB enumeration only when the flashlayout is received
and when phase is PHASE_FLASHLAYOUT. This patch removes the call of
stm32prog_next_phase as it is already done in stm32prog_dfu_init().

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c