]>
git.sur5r.net Git - u-boot/blobdiff - cpu/mcf52x2/serial.c
#include <common.h>
#include <command.h>
+#include <watchdog.h>
#include <asm/mcfuart.h>
}
int serial_getc(void) {
- while(!rs_is_char());
+ while(!rs_is_char())
+ WATCHDOG_RESET();
+
return rs_get_char();
}