projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9659eb4
)
cmd: fastboot: handle watchdog while waiting for fastboot commands.
author
Sean Nyekjaer
<sean@geanix.com>
Thu, 24 Jan 2019 14:17:21 +0000
(15:17 +0100)
committer
Marek Vasut
<marex@denx.de>
Sat, 16 Mar 2019 12:29:43 +0000
(13:29 +0100)
Watchdog is not handled while waiting for fastboot commands.
Tested on a i.MX6 ULL EVK board.
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
cmd/fastboot.c
patch
|
blob
|
history
diff --git
a/cmd/fastboot.c
b/cmd/fastboot.c
index 0be83b78ac130fda28873596fcee64274913f516..1b4215114d7e5d7e7393667f9b3365457fa07459 100644
(file)
--- a/
cmd/fastboot.c
+++ b/
cmd/fastboot.c
@@
-13,6
+13,7
@@
#include <fastboot.h>
#include <net.h>
#include <usb.h>
+#include <watchdog.h>
static int do_fastboot_udp(int argc, char *const argv[],
uintptr_t buf_addr, size_t buf_size)
@@
-74,6
+75,7
@@
static int do_fastboot_usb(int argc, char *const argv[],
break;
if (ctrlc())
break;
+ WATCHDOG_RESET();
usb_gadget_handle_interrupts(controller_index);
}