u-boot/include
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
..
andestech
asm-generic
bedbug
cavium
configs Merge branch 'next' 2020-01-06 17:07:49 -05:00
cramfs
crypto lib: crypto: add pkcs7 message parser 2019-12-06 16:44:20 -05:00
dm pci: Add support for p2sb uclass 2019-12-15 11:44:11 +08:00
dt-bindings dt-bindings: phy: dp83867: Add documentation for disabling clock output 2019-12-09 09:47:42 -06:00
environment/ti mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
faraday
fsl-mc drivers/fsl-mc: Support DPSPARSER object and apply spb command 2019-12-26 16:00:20 +05:30
jffs2
keys lib: crypto: add public key utility 2019-12-06 16:44:20 -05:00
linux Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-net 2019-12-09 13:48:22 -05:00
lzma
mtd ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
mvebu
net
power x86: power: Add an ACPI PMC uclass 2019-12-15 11:44:10 +08:00
samsung
spmi
synopsys
tee image: fdt: copy possible optee nodes to a loaded devicetree 2019-11-14 07:09:34 -06:00
test tests: add OP-TEE test suite 2019-11-14 07:09:34 -06:00
u-boot include/u-boot/crc.h: pull 'uint' definition on musl targets 2020-01-03 09:47:10 -05:00
usb rockchip: usb: Migrate to use ofnode 2019-11-17 17:22:53 +08:00
zfs
.gitignore
_exports.h
ACEX1K.h
acpi_s3.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_ab.h
android_bootloader_message.h
android_image.h image: android: Fix possible build errors 2019-10-15 09:56:04 -04:00
ansi.h
api.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h
axi.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
binman.h binman: Add a library to access binman entries 2019-12-15 08:48:33 +08:00
binman_sym.h
bios_emul.h
bitfield.h
blk.h
bloblist.h
bmp_layout.h
board.h
boot_fit.h
bootcount.h common: Move bootcount functions to their header file 2019-12-02 18:23:08 -05:00
bootm.h
bootretry.h
bootstage.h x86: fsp: Add FSP2 base support 2019-12-15 11:44:16 +08:00
bouncebuf.h
btrfs.h
bus_vcxk.h
bzlib.h
cache.h
capitalization.h
cbfs.h cbfs: do not pack struct cbfs_cachenode 2019-11-02 18:00:51 +08:00
charset.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h
clk.h drivers: clk: Fix using assigned-clocks in the node of the clock it sets up 2019-10-22 16:14:05 +02:00
cmd_spl.h
command.h common: Move command functions out of common.h 2019-12-02 18:25:02 -05:00
common.h common: remove duplicate typedef for uchar 2019-12-13 13:01:53 -05:00
common_timing_params.h
compiler.h include: fix 'ulong' definition on musl targets 2020-01-03 09:47:10 -05:00
config_defaults.h
config_distro_bootcmd.h NVMe: do PCI enumerate before nvme scan 2019-10-31 07:22:53 -04:00
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
console.h
cortina.h
cp437.h
cp1250.h
cpsw.h net: ti: cpsw: convert to use dev/ofnode api 2019-11-04 12:56:37 -05:00
cpu.h
cpu_func.h common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
cros_ec.h
cros_ec_message.h
ddr_spd.h
debug_uart.h
dfu.h dfu: Add optional timeout parameter 2020-01-07 14:37:50 +01:00
dialog_pmic.h
display.h
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma-uclass.h dma: Introduce dma_get_cfg() interface 2019-12-09 09:47:43 -06:00
dma.h dma: Introduce dma_get_cfg() interface 2019-12-09 09:47:43 -06:00
dp83848.h
ds1722.h
dsi_host.h dm: Add a dsi host uclass 2019-10-13 23:34:43 +02:00
dt-structs.h
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
dwc_ahsata.h
dwmmc.h
e500.h
ec_commands.h
edid.h
eeprom.h common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
eeprom_field.h
eeprom_layout.h
efi.h
efi_api.h
efi_driver.h
efi_loader.h efi_loader: remove unused function efi_dp_from_dev() 2019-11-19 12:10:22 +01:00
efi_selftest.h
elf.h
env.h cmd: Migrate from_env() from pxe.c to nvedit.c 2019-12-06 16:44:18 -05:00
env_attr.h
env_callback.h
env_default.h
env_flags.h
env_internal.h env: Finish migration of common ENV options 2019-11-20 18:32:09 -05:00
errno.h lib: errno: avoid error format-overflow 2019-10-31 07:22:53 -04:00
ethsw.h
exception.h
exports.h common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h common: fdt_support: add support for setting usable memory 2019-12-06 12:09:25 +01:00
fdtdec.h fdtdec: only create phandle if caller wants it in fdtdec_add_reserved_memory() 2019-11-14 07:09:34 -06:00
fis.h
flash.h mtd: rename CONFIG_MTD -> CONFIG_DM_MTD 2019-12-03 23:04:10 -05:00
fm_eth.h
fpga.h
fs.h fs: add fs_get_type() for current filesystem type 2019-10-17 19:19:56 +02:00
fs_internal.h
fs_loader.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h mmc: fsl_esdhc: always check write protect state 2019-11-05 11:21:25 +08:00
fsl_esdhc_imx.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h
fsl_sec.h armv8: lx2160a: add icid setup for platform devices 2019-11-08 11:13:38 +05:30
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
generic-phy.h drivers: phy: Handle gracefully NULL pointers 2019-10-31 07:22:53 -04:00
gt64120.h
gzip.h
handoff.h
hash.h
hda_codec.h
hexdump.h
host_arch.h efi_loader: support building UEFI binaries on sandbox 2019-11-12 23:13:54 +01:00
hw_sha.h
hwconfig.h
hwspinlock.h
i2c.h i2c: add support for offset overflow in to address 2019-12-17 06:57:12 +01:00
i2c_eeprom.h misc: i2c_eeprom: add size query 2019-12-17 06:58:19 +01:00
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h tools: image.h: Use portable uint32_t instead of linux-specific __be32 2019-10-28 13:32:50 -04:00
imx8image.h
imx_lpi2c.h i2c: imx_lpi2c: add ipg clk 2019-10-14 09:31:41 +02:00
imx_sip.h
imx_thermal.h
imximage.h tools: imx8mimage: add ROM VERSION 2019-11-05 10:27:18 +01:00
init.h x86: fsp: Add a new arch_fsp_init_r() hook 2019-12-15 11:44:17 +08:00
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h trace: Remove the const from write functions 2019-10-11 17:37:19 +08:00
ipu_pixfmt.h
irq.h x86: Move UCLASS_IRQ into a separate file 2019-12-15 11:44:12 +08:00
irq_func.h common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
k3-avs.h misc: k3_avs: Add j721e support 2019-11-07 18:39:16 -05:00
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led.h
libata.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
log.h
lxt971a.h
lynxkdi.h
lz4.h common: Add a new lz4.h header file 2019-12-02 18:23:11 -05:00
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h net: mdio-uclass: add dm_eth_phy_connect helper function 2019-12-09 09:47:43 -06:00
mipi_display.h include: Add new DCS commands in the enum list 2019-10-13 21:24:47 +02:00
mipi_dsi.h video: add support of MIPI DSI interface 2019-10-13 21:24:47 +02:00
misc.h
mk48t59.h
mmc.h mmc: add a driver callback for power-cycle 2019-10-10 10:59:48 +08:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
mxs_nand.h nand: mxs_nand: add API for switching different BCH layouts 2019-11-03 21:49:19 +01:00
nand.h
net.h net: Improve documentation for string_to_ip() 2019-12-09 09:47:41 -06:00
netdev.h
ns16550.h
ns87308.h
nuvoton_nct6102d.h
nvme.h
of_live.h
onenand_uboot.h
opensbi.h spl: opensbi: specify main hart as preferred boot hart 2019-12-10 08:23:10 +08:00
os.h
p2sb.h pci: Add support for p2sb uclass 2019-12-15 11:44:11 +08:00
palmas.h
panel.h
part.h
part_efi.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h dm: pci: Move pci_get_devfn() into a common file 2019-12-15 08:52:29 +08:00
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pe.h
phy-sun4i-usb.h
phy.h include: phy: add data field for private driver data 2019-12-09 09:47:42 -06:00
phy_interface.h include: phy: define XFI and USXGMII interface types 2019-12-09 09:47:42 -06:00
phys2bus.h
physmem.h
post.h
power-domain-uclass.h
power-domain.h power: domain: Introduce dev_power_domain_off 2019-10-15 08:40:03 -06:00
ppc_asm.tmpl
ppc_defs.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h x86: Move qemu CPU fixup function into its own file 2019-12-15 11:44:25 +08:00
radeon.h
ram.h
rand.h common: Move random-number functions into their own header 2019-12-02 18:23:07 -05:00
rc4.h
regmap.h dm: regmap: Fix mask in regmap_update_bits() 2019-10-27 10:56:41 -06:00
reiserfs.h
relocate.h
remoteproc.h remoteproc: elf_loader: Introduce rproc_elf_get_boot_addr() api 2019-10-11 10:07:34 -04:00
reset-uclass.h
reset.h
rtc.h rtc.h: add struct udevice declaration 2019-12-06 16:44:19 -05:00
rtc_def.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scsi.h scsi: Add dma direction member to command structure 2019-10-23 20:47:12 -04:00
sdhci.h
sdp.h
search.h
serial.h common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
sh_pfc.h
sja1000.h
slre.h
smbios.h
smem.h
smsc_lpc47m.h
smsc_sio1007.h
sort.h common: Move sorting functions to their own header file 2019-12-02 18:23:08 -05:00
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h
spi.h spi: Correct operations check in dm_spi_xfer() 2019-12-15 11:44:21 +08:00
spi_flash.h mtd: spi: Export spi_flash_std_probe() 2019-12-15 11:44:24 +08:00
spl.h spl: Add methods to find the position/size of next phase 2019-12-15 11:44:28 +08:00
spl_gpio.h
splash.h
st_logo_data.h
status_led.h status_led: Tidy up the code style 2019-12-02 18:23:06 -05:00
stdint.h
stdio.h
stdio_dev.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tee.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
timer.h
timestamp.h
tmu.h
tpm-common.h
tpm-v1.h
tpm-v2.h
tps6586x.h
trace.h
tsec.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
ufs.h ufs: Add Initial Support for UFS subsystem 2019-10-23 20:47:12 -04:00
universe.h
usb.h usb: kbd: move USB_KBD_BOOT_REPORT_SIZE to usb.h 2019-11-25 13:28:53 +01:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
versalpl.h
version.h
video.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_osd.h
virtex2.h
virtio.h
virtio_ring.h
virtio_types.h
vsc7385.h
vsc9953.h
vsprintf.h Move strtomhz() to vsprintf.h 2019-12-02 18:23:09 -05:00
vxworks.h bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC 2019-12-03 08:43:23 -05:00
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h waitbit: Add the generic wait_for_bit macros for 16 and 32 bits. 2019-10-11 10:09:16 -04:00
watchdog.h
wdt.h
winbond_w83627.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request() 2019-10-24 13:37:01 +02:00
zynqmp_tap_delay.h
zynqmppl.h
zynqpl.h