projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rtc: add Microcrystal RV-8803 driver
[oweals/u-boot.git]
/
common
/
xyzModem.c
diff --git
a/common/xyzModem.c
b/common/xyzModem.c
index 830fca8387536f372f9988fe7f9ee2b6f0c6acc3..e85da74a698f373c837987228f2a99b4a318a136 100644
(file)
--- a/
common/xyzModem.c
+++ b/
common/xyzModem.c
@@
-24,7
+24,8
@@
#include <common.h>
#include <xyzModem.h>
#include <stdarg.h>
#include <common.h>
#include <xyzModem.h>
#include <stdarg.h>
-#include <crc.h>
+#include <u-boot/crc.h>
+#include <watchdog.h>
/* Assumption - run xyzModem protocol over the console port */
/* 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);
{
ulong now = get_timer(0);
+ WATCHDOG_RESET();
while (!tstc ())
{
if (get_timer(now) > xyzModem_CHAR_TIMEOUT)
while (!tstc ())
{
if (get_timer(now) > xyzModem_CHAR_TIMEOUT)