-From c48608cb8f563d183c1ea2e1a8c4456e9000911e Mon Sep 17 00:00:00 2001
+From 602d867fe5581718942a631a76d9e222e44346b6 Mon Sep 17 00:00:00 2001
 From: Brad <bradjc5@gmail.com>
 Date: Thu, 25 May 2017 14:16:31 -0400
-Subject: [PATCH 5/6] HACK: dfu: add optional timeout
+Subject: [PATCH] HACK: dfu: add optional timeout
 
 When the `dfu` command is called from the U-Boot environment, it now
 accepts an optional fourth parameter that specifies a timeout (in

 
 	int controller_index = simple_strtoul(usb_controller, NULL, 0);
 
@@ -61,11 +65,18 @@ done:
 
 U_BOOT_CMD(dfu, CONFIG_SYS_MAXARGS, 1, do_dfu,
 	"Device Firmware Upgrade",
+#ifdef CONFIG_DFU_TIMEOUT
+	"<USB_controller> <interface> <dev> [list|timeout]\n"
+#else

 7 files changed, 65 insertions(+)

diff --git a/cmd/dfu.c b/cmd/dfu.c
index 68b1a7fec9..bdb919a073 100644
--- a/cmd/dfu.c
+++ b/cmd/dfu.c
@@ -51,6 +51,10 @@ static int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		dfu_show_entities();
 		goto done;
 	}
