mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 09:30:10 +00:00
751f918bdb
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:
|
||
---|---|---|
.. | ||
cmd_stm32prog | ||
include/mach | ||
boot_params.c | ||
bsec.c | ||
cmd_stm32key.c | ||
config.mk | ||
cpu.c | ||
dram_init.c | ||
fdt.c | ||
Kconfig | ||
Makefile | ||
psci.c | ||
pwr_regulator.c | ||
spl.c | ||
syscon.c |