Add an EHCI driver to libpayload's USB stack.

Interrupt transfer support is missing (ie. no keyboard),
bulk and control transfers work (ie. mass storage).

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5845 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi
2010-09-25 17:01:13 +00:00
parent 5df4168db8
commit 7f43dc1060
8 changed files with 818 additions and 7 deletions

View File

@ -31,7 +31,7 @@
#include <usb/usb.h>
#include "uhci.h"
#include "ohci.h"
//#include "ehci.h"
#include "ehci.h"
#include "xhci.h"
#include <usb/usbdisk.h>
@ -90,8 +90,7 @@ usb_controller_initialize (int bus, int dev, int func)
if (prog_if == 0x20) {
printf ("EHCI controller\n");
#ifdef CONFIG_USB_EHCI
//ehci_init(addr);
printf ("Not supported.\n");
ehci_init(addr);
#else
printf ("Not supported.\n");
#endif