u-boot/drivers/input
Gabe Black ef94f7fa64 input: Use finer grain udelays while waitng for the i8042 keyboard buffer to empty
On x86, the i8042 keyboard controller driver frequently waits for the keyboard
input buffer to be empty to make sure the controller has had a chance to
process the data it was given. The way the delay loop was structured, if the
controller hadn't cleared the corresponding status bit immediately, it would
wait 1ms before checking again. If the keyboard responded quickly but not
instantly, the driver would still wait a full 1ms when perhaps 1us would have
been sufficient. Because udelay is a busy wait anyway, this change decreases
the delay between checks to 1us.

Also, this change gets rid of a hardcoded 250ms delay.

On Stumpy, this saves 100-150ms during boot.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@ti.com>
2012-10-19 15:25:43 -07:00
..
i8042.c input: Use finer grain udelays while waitng for the i8042 keyboard buffer to empty 2012-10-19 15:25:43 -07:00
input.c input: Separate out keyboard repeat/delay from init 2012-10-15 11:54:04 -07:00
key_matrix.c input: Add debugging for key matrix key codes 2012-10-15 11:54:04 -07:00
keyboard.c License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
Makefile Tegra: Change Tegra20 to Tegra in common code, prep for T30 2012-09-10 13:01:24 -07:00
pc_keyb.c License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
ps2mult.c License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
ps2ser.c Remove HMI10 board support 2010-09-19 21:28:25 +02:00
tegra-kbc.c Tegra20: Move some include files to arch-tegra for sharing with Tegra30 2012-10-15 11:54:06 -07:00