u-boot-brain/drivers/dfu
Andy Shevchenko 98a8f445fd dfu: Add optional timeout parameter
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
5e966ccc3c
by Sebastien Colleur, which has been heavily reworked due to U-Boot changes
in the past.

Signed-off-by: Brad Campbell <bradjc5@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2020-01-07 14:37:50 +01:00
..
dfu_mmc.c dfu: mmc: add support for in-partition offset 2019-10-31 12:12:31 +01:00
dfu_mtd.c dfu: add partition support for MTD backend 2019-10-31 12:12:31 +01:00
dfu_nand.c dfu: dfu_nand: reduce verbosity 2019-10-31 12:12:31 +01:00
dfu_ram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu_sf.c dfu: sf: add partition support for nor backend 2019-10-31 12:12:31 +01:00
dfu_tftp.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu_virt.c dfu: add DFU virtual backend 2019-10-31 12:12:31 +01:00
dfu.c dfu: Add optional timeout parameter 2020-01-07 14:37:50 +01:00
Kconfig dfu: Add optional timeout parameter 2020-01-07 14:37:50 +01:00
Makefile dfu: add DFU virtual backend 2019-10-31 12:12:31 +01:00