u-boot-brain/drivers
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
..
bios_emulator Add abs() macro to return absolute value 2012-05-15 08:31:37 +02:00
block sata.h: Make all sata/ata drivers include <sata.h> 2012-10-15 11:54:03 -07:00
bootcount Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
dfu dfu:usb:fix: Read the "filesize" environment variable only when file read 2012-09-21 00:05:00 +02:00
dma MX28: DMA: Prolong the DMA timeout 2012-09-01 14:58:29 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio Tegra20: Move some include files to arch-tegra for sharing with Tegra30 2012-10-15 11:54:06 -07:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c i2c: sh_i2c: use setbits/clrbits macro 2012-10-16 05:47:21 +02:00
input input: Use finer grain udelays while waitng for the i8042 keyboard buffer to empty 2012-10-19 15:25:43 -07:00
misc powerpc/corenet_ds: Slave module for boot from PCIE 2012-08-23 10:24:15 -05:00
mmc Tegra20: Move some include files to arch-tegra for sharing with Tegra30 2012-10-15 11:54:06 -07:00
mtd tegra: nand: add board pinmux 2012-10-15 11:54:07 -07:00
net m68k: net: Fix unused variable in mcfmii.c 2012-10-19 23:47:41 +08:00
pci Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2012-09-25 12:23:55 -07:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
qe powerpc/mpc8xxx: Remove P1015 and P1016 from CPU list 2012-08-23 10:24:16 -05:00
rtc rtc: pcf8563: Make century compatible with Linux 2012-09-02 17:31:00 +02:00
serial ColdFire: uart: fix build failure for missing header files 2012-10-19 23:52:16 +08:00
spi Tegra20: Move some include files to arch-tegra for sharing with Tegra30 2012-10-15 11:54:06 -07:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb mx51: Fix USB PHY clocks 2012-10-15 11:54:11 -07:00
video mx5: Use explicit clock gate names 2012-10-15 11:54:10 -07:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00