Anton Kochkov (anton.kochkov@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1106
-gerrit
commit 52a69339c11dd9df23b8e7d3df0f1ecea7a6cbf2 Author: Anton Kochkov anton.kochkov@gmail.com Date: Wed Jun 20 04:03:37 2012 +0400
libpayload: reg_base reading for USB EHCI driver
Added reading registers base address for USB EHCI driver in ehci_init() function.
Change-Id: I59443ca9823588d70822b4f14486caf217a5ac26 Signed-off-by: Anton Kochkov anton.kochkov@gmail.com --- payloads/libpayload/drivers/usb/ehci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c index 1094c78..31d176e 100644 --- a/payloads/libpayload/drivers/usb/ehci.c +++ b/payloads/libpayload/drivers/usb/ehci.c @@ -623,6 +623,7 @@ ehci_init (pcidev_t addr) controller->destroy_intr_queue = ehci_destroy_intr_queue; controller->poll_intr_queue = ehci_poll_intr_queue; controller->bus_address = addr; + controller->reg_base = pci_read_config32 (controller->bus_address, 0x10); for (i = 0; i < 128; i++) { controller->devices[i] = 0; }