fb387dfb92
All the additional work that needs to be done in EHCI BAR relocation is independent of the hardware platform and was functionally identical in all the copies removed. When USBDEBUG is not selected, PCI EHCI controllers use standard pci_dev_read_resources() call. With USBDEBUG selected, PCI EHCI controller's device_operations .read_resources is replaced with pci_ehci_read_resources() call, which in turn will replace the device_operations .set_resources call. The replacement for .set_resources reconfigures usbdebug driver side, and calls the original .set_resources to configure hardware side. Change-Id: I8e136a5da4efedf60b6dd7068c0488153efaaf8e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3412 Reviewed-by: Aaron Durbin <adurbin@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> |
||
---|---|---|
.. | ||
bootblock.c | ||
chip.h | ||
early_setup.c | ||
enable_usbdebug.c | ||
fadt.c | ||
hda.c | ||
ide.c | ||
Kconfig | ||
lpc.c | ||
Makefile.inc | ||
pci.c | ||
pcie.c | ||
reset.c | ||
sata.c | ||
sb800.c | ||
sb800.h | ||
sm.c | ||
smbus.c | ||
smbus.h | ||
usb.c |