]> git.dujemihanovic.xyz Git - u-boot.git/commit
ns16550: kick watchdog while waiting for a character
authorLadislav Michl <ladis@linux-mips.org>
Mon, 1 Feb 2010 22:34:25 +0000 (23:34 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 3 Feb 2010 21:46:58 +0000 (22:46 +0100)
commita1b322a98319de568b3bc38029ef7e123643c1e8
tree1bcfca1646cfeb2b1411776ddf7c7128c52944da
parent84d36b30181acfb72f22d1105c15574b30ea2fa1
ns16550: kick watchdog while waiting for a character

ns16550 busyloops waiting for incoming byte causing watchdog to reboot
while waiting for a key press. A call to WATCHDOG_RESET in NS16550_getc
loop fixes it.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
drivers/serial/ns16550.c