usbdebug: Refactor early enable

Hardware / Coreboot - Kyösti Mälkki [gmail.com] - 7 August 2017 08:35 EDT

Always sanity check for EHCI class device and move PCI function power enablement up.

Change-Id: I1eebe813fbb420738af2d572178213fc660f392a

6683e40 usbdebug: Refactor early enable
src/drivers/usb/pci_ehci.c | 6 ++++-
src/include/device/pci_ehci.h | 5 +++-
src/soc/amd/stoneyridge/enable_usbdebug.c | 12 ++++------
src/soc/intel/broadwell/usb_debug.c | 13 +---------
src/southbridge/amd/agesa/hudson/enable_usbdebug.c | 12 ++++------
src/southbridge/amd/pi/hudson/enable_usbdebug.c | 12 ++++------
src/southbridge/amd/sb600/enable_usbdebug.c | 4 ----
src/southbridge/amd/sb700/enable_usbdebug.c | 4 ----
src/southbridge/amd/sb800/enable_usbdebug.c | 12 ++++------
src/southbridge/intel/common/usb_debug.c | 28 ++++++----------------
src/southbridge/nvidia/ck804/enable_usbdebug.c | 4 ----
src/southbridge/nvidia/mcp55/enable_usbdebug.c | 4 ----
src/southbridge/sis/sis966/enable_usbdebug.c | 4 ----
13 files changed, 33 insertions(+), 87 deletions(-)

Upstream: review.coreboot.org


  • Share