diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/bootretry.c | 2 | ||||
-rw-r--r-- | boot/image-board.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/boot/bootretry.c b/boot/bootretry.c index 2bc9c6866e0..8d850df9d48 100644 --- a/boot/bootretry.c +++ b/boot/bootretry.c @@ -44,7 +44,7 @@ int bootretry_tstc_timeout(void) while (!tstc()) { /* while no incoming data */ if (retry_time >= 0 && get_ticks() > endtime) return -ETIMEDOUT; - WATCHDOG_RESET(); + schedule(); } return 0; diff --git a/boot/image-board.c b/boot/image-board.c index 1be0a359aba..98f903f93fb 100644 --- a/boot/image-board.c +++ b/boot/image-board.c @@ -181,7 +181,7 @@ void memmove_wd(void *to, void *from, size_t len, ulong chunksz) while (len > 0) { size_t tail = (len > chunksz) ? chunksz : len; - WATCHDOG_RESET(); + schedule(); if (to > from) { to -= tail; from -= tail; |