without this, usb gadget can't enumerate during boot once the timeout command is launched (thus preventing usbserial console access to take control of the board before autoboot) Signed-off-by: Eric Bénard <eric@xxxxxxxxxx> --- commands/timeout.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/commands/timeout.c b/commands/timeout.c index 5f2ab9a..70b41e3 100644 --- a/commands/timeout.c +++ b/commands/timeout.c @@ -25,6 +25,7 @@ #include <errno.h> #include <getopt.h> #include <clock.h> +#include <poller.h> #define TIMEOUT_RETURN (1 << 0) #define TIMEOUT_CTRLC (1 << 1) @@ -70,6 +71,7 @@ static int do_timeout(struct command *cmdtp, int argc, char *argv[]) printf("%2d", countdown--); do { + poller_call(); if (tstc()) { int key = getc(); if (flags & TIMEOUT_CTRLC && key == 3) -- 1.7.7.5 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox