u-boot-brain/arch/arm
Patrick Delaunay 751f918bdb arm: stm32mp: stm32prog: always flush DFU on start command for uart
Remove the test on data->dfu_seq, because dfu_seq=0 not only when
the DFU is not started (mask with 0xffff). This flush is mandatory
as the final treatment, common with USB, is done in DFU callback.

This patch avoids issue if the received length is a multiple of
the DFU packet.

For example if size of bootfs partition is egual to 0x4000000,
data->dfu_seq=0 at the end of the partition, the flush it not
requested and the phase is not increased in the callback.
U-Boot continue to request the bootfs in the next GetPhase command.

Fixes: 468f0508b5 ("stm32mp: stm32prog: add serial link support")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-01-13 09:52:58 +01:00
..
cpu sunxi: Add arm64 FEL support 2021-01-11 23:19:34 +00:00
dts ARM: dts: stm32: Switch to MCO2 for PHY 50 MHz clock 2021-01-13 09:52:58 +01:00
include Merge tag 'ti-v2021.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti 2021-01-12 09:32:48 -05:00
lib dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-aspeed dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-at91 First set of u-boot-atmel features for 2021.04 cycle 2021-01-12 09:32:20 -05:00
mach-bcm283x dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mach-bcmstb
mach-cortina
mach-davinci serial: Rename ns16550 functions to lower case 2021-01-05 12:24:40 -07:00
mach-exynos common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mach-highbank common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-imx Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
mach-integrator
mach-ipq40xx dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mach-k3 dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-keystone serial: Rename ns16550 functions to lower case 2021-01-05 12:24:40 -07:00
mach-kirkwood Convert CONFIG_NETCONSOLE to Kconfig 2020-08-23 13:06:36 -04:00
mach-lpc32xx dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
mach-mediatek dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-meson ARM: mach-meson: update SoC IDs 2020-11-12 14:28:37 +01:00
mach-mvebu arm: mvebu: a38x: Configurable USB2 high-speed impedance threshold 2020-12-07 07:11:37 +01:00
mach-nexell dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mach-octeontx arm: octeontx: Add support for OcteonTX SoC platforms 2020-08-25 08:01:16 +02:00
mach-octeontx2 arm: octeontx2: Add support for OcteonTX2 SoC platforms 2020-08-25 08:01:16 +02:00
mach-omap2 video: omap: drop domain clock enabling by SOC api 2021-01-12 10:58:29 +05:30
mach-orion5x treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mach-owl Actions: OWL: Calculate SDRAM size 2020-07-07 16:09:22 -04:00
mach-qemu qemu: arm: Initialise virtio devices in board_late_init 2020-12-31 14:41:31 +01:00
mach-rmobile pinctrl: renesas: r8a77951: Add R8A774E1 PFC support 2020-11-22 12:49:22 +01:00
mach-rockchip dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-s5pc1xx common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
mach-snapdragon dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mach-socfpga dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-sti
mach-stm32 treewide: Update email address Patrick Delaunay and Patrice Chotard 2020-12-09 10:57:50 +01:00
mach-stm32mp arm: stm32mp: stm32prog: always flush DFU on start command for uart 2021-01-13 09:52:58 +01:00
mach-sunxi sunxi: board: add a config option to fixup a Bluetooth address 2021-01-11 23:19:34 +00:00
mach-tegra Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
mach-u8500 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-uniphier dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-versal xilinx: kconfig: Move sourcing of board Kconfig to mach folders 2020-09-23 10:31:40 +02:00
mach-versatile
mach-zynq dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mach-zynqmp arm64: zynqmp: Get rid of unused macros 2020-11-20 10:42:54 +01:00
mach-zynqmp-r5 xilinx: r5: Fix MPU setting for R5 2020-09-23 10:31:41 +02:00
thumb1/include/asm/proc-armv
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
Kconfig Merge tag 'ti-v2021.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti 2021-01-12 09:32:48 -05:00
Kconfig.debug
Makefile arm: octeontx2: Add support for OcteonTX2 SoC platforms 2020-08-25 08:01:16 +02:00