diff options
author | Tom Rini <trini@konsulko.com> | 2019-01-15 20:33:07 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-15 20:33:07 -0500 |
commit | e807f6b5f9a164dc1fc35e1c733fa343acf335c0 (patch) | |
tree | 73d8d68a2d4497ec6000f44d4ae8d4db80b40be2 /common/xyzModem.c | |
parent | d3689267f92c5956e09cc7d1baa4700141662bff (diff) | |
parent | 03dcf17dba3dbd6f1cfe9ecaa0665ea8c11e0ef2 (diff) |
Merge branch '2019-01-14-master-imports'
- MediaTek improvements (eth support)
- DM conversion for HI6220
- ISEE, Toby Churchill, other platform updates
- Various format code printf fixes
- Build race fixes
- Command repeat functionality enhanced, command autocomplete support
enhanced.
Diffstat (limited to 'common/xyzModem.c')
-rw-r--r-- | common/xyzModem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c index e5c65b480a2..e85da74a698 100644 --- a/common/xyzModem.c +++ b/common/xyzModem.c @@ -25,6 +25,7 @@ #include <xyzModem.h> #include <stdarg.h> #include <u-boot/crc.h> +#include <watchdog.h> /* Assumption - run xyzModem protocol over the console port */ @@ -63,6 +64,7 @@ CYGACC_COMM_IF_GETC_TIMEOUT (char chan, char *c) { ulong now = get_timer(0); + WATCHDOG_RESET(); while (!tstc ()) { if (get_timer(now) > xyzModem_CHAR_TIMEOUT) |