coreboot-kgpe-d16/payloads/libpayload/drivers
Nico Huber 0b78de2ee9 libpayload: Add a generic driver for usb hubs
The current drivers for external usb hubs and root hubs all follow
the same pattern. Before adding another one with 90% of the same code,
extract the common parts and rewrite them with a simple interface.

This also adds debouncing of new attachments. Current drivers just
waited 100ms before they reset the device. However, we should check
if the device becomes disconnected and reconnected during this period.

Porting of the current hub drivers will take place in separate
commits (when I have time to test the older HCIs).

Change-Id: I0c0ce0ac1b1cc51fb4cd009b3f9fcd1b9d2ba8fe
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/3450
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-06-13 22:17:42 +02:00
..
storage libpayload: Whitelist Mobile Panther Point AHCI controller 2013-06-04 21:14:32 +02:00
usb libpayload: Add a generic driver for usb hubs 2013-06-13 22:17:42 +02:00
video libpayload: If no video drivers initialize in video_init, return 1. 2013-03-13 23:06:14 +01:00
cbmem_console.c libpayload: Fix license headers 2013-02-20 02:41:24 +01:00
hid.c make keyboard reset driver generic (not pc keyboard driver dependent) 2010-03-25 18:52:24 +00:00
keyboard.c libpayload: Make keycode constants available outside of curses.h. 2013-03-18 20:45:48 +01:00
Makefile.inc libpayload: Add a generic driver for usb hubs 2013-06-13 22:17:42 +02:00
nvram.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
options.c libpayload: Fix lookup by label in CMOS layouts 2012-11-30 06:05:50 +01:00
pci.c [PATCH] libpayload: Fix the PCI search function 2008-10-20 16:52:06 +00:00
serial.c libpayload: Fix the logic for hardware-less serial consoles 2013-05-15 16:56:33 +02:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00