mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
98a8f445fd
When the `dfu` command is called from the U-Boot environment,
it now accepts an optional parameter that specifies a timeout (in seconds).
If a DFU connection is not made within that time the `dfu` command exits
(as it would if Ctrl+C was pressed). If the timeout is left empty or being
zero the `dfu` command behaves as it does now.
This is useful for allowing U-Boot to check to see if anything wants to
upload new firmware before continuing to boot.
The patch is based on the commit
|
||
---|---|---|
.. | ||
dfu.c | ||
dfu_mmc.c | ||
dfu_mtd.c | ||
dfu_nand.c | ||
dfu_ram.c | ||
dfu_sf.c | ||
dfu_tftp.c | ||
dfu_virt.c | ||
Kconfig | ||
Makefile |