projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disk: convert CONFIG_ISO_PARTITION to Kconfig
[platform/kernel/u-boot.git]
/
include
/
wait_bit.h
diff --git
a/include/wait_bit.h
b/include/wait_bit.h
index
061a2db
..
06ad43a
100644
(file)
--- a/
include/wait_bit.h
+++ b/
include/wait_bit.h
@@
-11,7
+11,8
@@
#include <common.h>
#include <console.h>
-#include <asm/errno.h>
+#include <watchdog.h>
+#include <linux/errno.h>
#include <asm/io.h>
/**
@@
-59,6
+60,7
@@
static inline int wait_for_bit(const char *prefix, const u32 *reg,
}
udelay(1);
+ WATCHDOG_RESET();
}
debug("%s: Timeout (reg=%p mask=%08x wait_set=%i)\n", prefix, reg, mask,