u-boot/include
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
..
andestech andes_pcu.h: header file of andes_pcu power control unit 2011-11-09 16:35:27 +08:00
asm-generic Add gpio_request() to asm-generic header 2012-09-21 21:11:25 +02:00
bedbug ppc: Fix DBSR_IAx defines in <bedbug/regs.h> 2011-10-09 22:20:44 +02:00
configs powerpc: delete Wind River SBC8560/8540 support 2012-10-17 09:39:16 -07:00
cramfs
faraday ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
galileo cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
jffs2
linux COMMON: Add __stringify() function 2012-10-15 11:53:47 -07:00
lzma
mtd cfi_flash: add support for Spansion flash PPB sector protection 2012-08-13 14:34:35 +02:00
pcmcia
synopsys dwcddr21mctl: Synopsys DWC DDR2/1 Memory Controller 2011-11-09 16:35:27 +08:00
u-boot lib: zlib: include deflate into zlib build 2012-09-29 07:26:08 -07:00
usb usb: ulpi: add indicator configuration function 2012-10-15 11:54:01 -07:00
zfs zfs: Add ZFS filesystem support 2012-08-09 23:42:20 +02:00
_exports.h
.gitignore tools: logo: split bmp arrays from bmp_logo.h 2011-11-15 23:58:26 +01:00
74xx_7xx.h
ACEX1K.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
addr_map.h lib/powerpc: addrmap_phys_to_virt() should return a pointer 2012-07-06 17:30:32 -05:00
aes.h Add AES crypto library 2012-05-15 08:31:37 +02:00
ahci.h SATA: add driver for MX5 / MX6 SOCs 2012-05-15 08:31:30 +02:00
ali512x.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
altera.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
amba_clcd.h
ambapp.h
api_public.h api: export LCD device to external apps 2011-11-15 23:58:27 +01:00
arm925t.h
armcoremodule.h
asm-offsets.h
at45.h
at91rm9200_i2c.h
at91rm9200_net.h
ata.h CPCI750: Add CPCI-HD/2 support 2012-03-18 20:10:02 +01:00
atmel_hlcdc.h video: atmel/lcd: add LCD driver for new Atmel SoC 2012-06-05 11:19:02 +02:00
atmel_lcdc.h
atmel_mci.h atmel_mci.h: remove outdated register macros 2012-03-13 14:29:14 +01:00
bcd.h
bcm5221.h
bmp_layout.h
bootcount.h Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
bootstage.h Merge branch 'agust@denx.de-next' of git://git.denx.de/u-boot-staging 2012-10-15 13:37:22 -07:00
bus_vcxk.h
bzlib.h
circbuf.h
clps7111.h
cmd_spl.h Add cmd_spl command 2012-03-27 22:05:28 +02:00
command.h combine block device load commands into common function 2012-09-25 14:43:19 -07:00
common.h ppc4xx: Remove AP1000 board support 2012-10-15 11:53:59 -07:00
commproc.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
compiler.h Define uintptr_t as long int to simplify printf() format strings 2011-11-22 08:39:24 +01:00
config_cmd_all.h zfs: Add ZFS filesystem support 2012-08-09 23:42:20 +02:00
config_cmd_default.h
config_cmd_defaults.h
config_defaults.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
config_fallbacks.h CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there 2012-06-20 20:26:16 +02:00
config_phylib_all_drivers.h phylib: Enable AR8021 phy support 2011-11-11 07:48:59 -06:00
config_uncmd_spl.h OMAP: networking support for SPL 2012-10-01 10:02:14 -07:00
cpsw.h cpsw: add driver for cpsw ethernet device 2012-09-01 14:58:10 +02:00
crc.h
da9030.h
dataflash.h dataflash: fix parameters order in write_dataflash() 2011-11-27 19:46:27 +01:00
ddr_spd.h powerpc/mpc8xxx: Add fine timing support for DDR3 2012-08-23 12:16:55 -05:00
dfu.h dfu: DFU backend implementation 2012-09-01 16:21:50 +02:00
dialog_pmic.h pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
div64.h
dm9000.h
dm9161.h
dp83848.h
ds1722.h
ds4510.h
dtt.h hwmon: Provide dtt_init() 2011-10-22 01:22:21 +02:00
e500.h
elf.h
env_default.h env: cosmetic: Consilidate the default env definition 2012-10-19 15:25:43 -07:00
environment.h env: make "env default" selective, check and apply 2012-09-18 12:01:52 -07:00
errno.h
exports.h Standalone Apps: Standalone apps should need only exports.h. 2011-12-06 20:52:35 +01:00
ext4fs.h ext4: Rename block group descriptor table from gd to bgd 2012-10-03 18:21:33 -07:00
ext_common.h cmd_extX: use common get_device_and_partition function 2012-09-25 14:46:55 -07:00
fat.h FAT: Make it possible to read from any file position 2012-09-26 11:11:32 -07:00
fdc.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
fdt_support.h powerpc/8xxx:Add MPH controller support in USB device-tree fixup 2012-02-15 16:50:14 -06:00
fdt.h
fdtdec.h Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging 2012-09-21 16:22:18 -07:00
fis.h
flash.h cfi: Make the flash erase and write operations abortable 2012-09-03 11:24:27 +02:00
fm_eth.h fm-eth: add function fm_info_get_phy_address() 2012-08-23 10:24:18 -05:00
fpga.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
fsl_diu_fb.h video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
fsl_esdhc.h fsl_esdhc: Remove cache snooping for i.MX 2012-09-01 14:58:30 +02:00
fsl_mdio.h
fsl_nfc.h mxc nand: Homogenize IP revisions with Linux 2012-09-17 19:51:45 -05:00
fsl_pmic.h mx53loco: Turn on VUSB regulator 2012-05-15 08:31:34 +02:00
g_dnl.h dfu:usb: Support for g_dnl composite download gadget. 2012-09-01 16:21:50 +02:00
gdsys_fpga.h powerpc/ppc4xx: Remove typedefs for gdsys FPGA 2012-04-30 15:01:29 +02:00
hush.h common: add run_command2 for running simple or hush commands 2011-10-17 22:25:34 +02:00
hwconfig.h
i2c.h i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards 2012-09-17 09:39:50 +02:00
i8042.h input: Use finer grain udelays while waitng for the i8042 keyboard buffer to empty 2012-10-19 15:25:43 -07:00
ide.h change all versions of input_data() and output_data() to global weak aliases 2012-10-17 07:59:08 -07:00
image.h powerpc/CoreNet: add tool to support pbl image build. 2012-08-23 10:24:16 -05:00
input.h input: Separate out keyboard repeat/delay from init 2012-10-15 11:54:04 -07:00
iomux.h
ioports.h
ipu_pixfmt.h i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU frame buffer 2012-09-24 10:48:19 +02:00
key_matrix.h input: Allow key ghosting filter to be disabled 2012-10-15 11:54:04 -07:00
keyboard.h
kgdb.h
ks8721.h
lattice.h Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
lcd.h video: add dp_enabled variable in vidinfo structure 2012-09-01 14:58:24 +02:00
lcdvideo.h
led-display.h
lh7a40x.h
lh7a400.h
lh7a404.h
libata.h
libfdt_env.h
libfdt.h
libtizen.h create lib/tizen directory 2012-05-25 09:15:10 +02:00
linux_logo.h
lmb.h lmb: do not export anything without CONFIG_LMB 2012-06-19 22:35:10 +02:00
logbuff.h
lpd7a400_cpld.h
lxt971a.h
lynxkdi.h
malloc.h malloc: remove extern declarations of malloc_bin_reloc() in board.c files 2012-09-26 11:08:32 -07:00
max8997_pmic.h misc:pmic:max8997 MAX8997 support for PMIC driver 2012-05-15 08:31:29 +02:00
max8998_pmic.h ARM: Exynos4: ADC: Universal_C210: Enable LDO4 power line for ADC measurement 2012-05-15 08:31:28 +02:00
mb862xx.h
mc9sdz60.h
mc13783.h mc13783.h: create and add regulator mode 0 and 1 2012-02-12 10:11:27 +01:00
mc13892.h MC13892: Add REGMODE0 bits definitions 2011-12-06 23:59:39 +01:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h common, menu: show menu on startup if CONFIG_MENU_SHOW is defined 2012-02-12 10:11:24 +01:00
micrel.h net: phy: add support for Micrel's KSZ9021 2012-02-27 21:19:25 +01:00
mii_phy.h
miiphy.h net/miiphy/serial: drop duplicate "NAMESIZE" define 2012-03-18 20:11:22 +01:00
mk48t59.h
mmc.h mmc: detect boot sectors using EXT_CSD_BOOT_MULT too 2012-09-07 13:54:31 -07:00
mpc5xx.h
mpc5xxx_sdma.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc5xxx.h mpc5xxx: add pci_mpc5xxx_init prototype to common header 2012-09-01 14:19:02 +02:00
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h mpc83xx: Cleanup usage of DDR constants 2011-11-03 18:27:55 -05:00
mpc85xx.h powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros 2011-09-29 19:01:04 -05:00
mpc86xx.h powerpc/mpc86xx: Disable translation for BAT setup 2011-10-09 17:57:54 -05:00
mpc106.h
mpc824x.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8220.h
mpc8260_irq.h
mpc8260.h
mtd_node.h
mv88e6352.h net/phy: support the mv88e6352 switch 2012-09-27 12:21:56 -05:00
mvmfp.h
nand.h nand: Make NAND lock status compatible with Micron 2012-09-17 17:33:43 -05:00
net.h net: Filter incoming netconsole packets by IP 2012-09-24 13:55:44 -05:00
netdev.h net: Add driver for Zynq Gem IP 2012-09-26 12:36:32 -05:00
nios2-epcs.h
nios2-io.h
nios2-yanu.h
nios2.h COMMON: Use __stringify() instead of rest of implementations 2012-10-15 11:53:47 -07:00
nomadik.h
ns9750_bbus.h
ns9750_mem.h
ns9750_ser.h
ns9750_sys.h
ns16550.h serial/ns16550: ns16550 has a different register layout on SOC_DA8XX 2012-09-01 14:58:10 +02:00
ns87308.h
onenand_uboot.h OneNAND: Add simple OneNAND SPL 2011-11-15 22:24:50 +01:00
os.h sandbox: mark os_exit as noreturn 2012-03-12 11:06:48 -04:00
part.h disk: part_efi: parse and store partition UUID 2012-09-25 15:05:44 -07:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h gpio: Adapt PCA9698 to standard GPIO API 2011-11-18 14:04:25 +01:00
pci_ids.h pci: update pci_ids.h with a few new entries 2012-09-02 14:18:52 +02:00
pci.h pci: declare pciauto functions in header 2012-03-30 22:46:00 +02:00
pcmcia.h PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
phy.h net: phy: add support for Micrel's KSZ9021 2012-02-27 21:19:25 +01:00
pmic.h pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
post.h POST: add new memory regions test 2011-10-05 22:03:11 +02:00
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
radeon.h
reiserfs.h cmd_reiser: use common get_device_and_partition function 2012-09-25 14:49:18 -07:00
rtc.h
s6e63d6.h
s_record.h
SA-1100.h
sata.h sata.h: Make all sata/ata drivers include <sata.h> 2012-10-15 11:54:03 -07:00
scsi.h USB: Align buffers at cacheline 2012-05-20 08:32:32 +02:00
sdhci.h mmc: s5p_sdhci: add the set_mmc_clk for cmu control 2012-09-05 17:33:26 -05:00
search.h env: check and apply changes on delete/destroy 2012-09-18 12:01:52 -07:00
sed156x.h
sed13806.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
serial.h serial: Implement default_serial_puts() 2012-10-17 07:55:50 -07:00
sh_pfc.h sh: Add support pin function control using GPIO 2012-08-08 10:24:41 +09:00
sh_tmu.h arm: rmobile: Add support TMU base timer function 2012-10-03 02:04:24 +02:00
sha1.h
sha256.h
sja1000.h
sm501.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
smiLynxEM.h
spartan2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spartan3.h fpga: add definition for Xilinx Spartan-6 XC6SLX4 2012-01-05 16:18:30 +01:00
spd_sdram.h
spd.h
spi_flash.h sf: Add spi_boot() to allow booting from SPI flash in an SPL 2011-12-24 10:23:30 +01:00
spi.h
spl.h OMAP: networking support for SPL 2012-10-01 10:02:14 -07:00
status_led.h sbc82xx: delete support for obsolete SBC8240/SBC8260 2011-10-01 21:57:13 +02:00
stdio_dev.h
stratixII.h
sym53c8xx.h
systemace.h
tegra-kbc.h tegra: Add tegra keyboard driver 2012-05-15 08:31:40 +02:00
timestamp.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
tpm.h Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
tps6586x.h i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
tsec.h
tsi108.h
tsi148.h
twl4030.h omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V 2011-12-09 17:28:28 +01:00
twl6030.h mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
twl6035.h omap5: pbias ldo9 turn on 2012-05-15 08:31:25 +02:00
tws.h
ubi_uboot.h common: move BUILD_BUG_ON define to common.h 2011-07-27 23:45:37 +02:00
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h net: introduce transparent driver private in ueth_data 2012-09-26 12:36:29 -05:00
usb.h usb.h: Add udc_disconnect prototype to usb.h 2012-10-15 11:54:02 -07:00
usbdescriptors.h Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
usbdevice.h Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
version.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h
video_font_data.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_font.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_logo.h
video.h include/video.h: drop unused video_printf() 2012-05-25 09:15:09 +02:00
virtex2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
vsc7385.h
vsprintf.h vsprintf: Move function documentation into header file 2011-12-17 23:34:01 +01:00
vxworks.h ppc4xx: Remove IOP480 support 2012-10-15 11:53:59 -07:00
w83c553f.h
watchdog.h
xilinx.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
xyzModem.h
zfs_common.h cmd_zfs: use common get_device_and_partition function 2012-09-25 14:49:17 -07:00