]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
console: USB: KBD: Fix incorrect autoboot timeout
authorJim Lin <jilin@nvidia.com>
Thu, 24 Jan 2013 01:05:55 +0000 (01:05 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Feb 2013 14:07:21 +0000 (09:07 -0500)
commitb2f3e0ea3e469a759fd74832ce551e3384bc07c0
tree4e3620ca59a127508cdff87bfae4f9c2af1984ef
parent3fd1e85aaa33c97edf06bea35ce1ae57accd1f47
console: USB: KBD: Fix incorrect autoboot timeout

Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if
CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in
configuration file and when tstc() function for checking key pressed
takes longer time than 10 ms (e.g., 50 ms) to finish.

Signed-off-by: Jim Lin <jilin@nvidia.com>
common/main.c