From 59aef5c79e7ae85854a88db4803334617d7b83fd Mon Sep 17 00:00:00 2001 From: Nicolas Reinecke Date: Thu, 16 Apr 2015 23:25:00 +0200 Subject: southbrige/intel/bd82x6x: add XHCI overcurrent map config Change-Id: I9a40e5a1028c7674e6dd54742e6646ba48ce7696 Signed-off-by: Nicolas Reinecke Reviewed-on: http://review.coreboot.org/9449 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Aaron Durbin --- src/southbridge/intel/bd82x6x/usb_xhci.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/southbridge/intel/bd82x6x/usb_xhci.c') diff --git a/src/southbridge/intel/bd82x6x/usb_xhci.c b/src/southbridge/intel/bd82x6x/usb_xhci.c index 3e6ce6b341..639d640d3d 100644 --- a/src/southbridge/intel/bd82x6x/usb_xhci.c +++ b/src/southbridge/intel/bd82x6x/usb_xhci.c @@ -33,6 +33,9 @@ static void usb_xhci_init(struct device *dev) printk(BIOS_DEBUG, "XHCI: Setting up controller.. "); + if (config->xhci_overcurrent_mapping) + pci_write_config32(dev, XOCM, config->xhci_overcurrent_mapping); + /* lock overcurrent map */ reg32 = pci_read_config32(dev, 0x44); reg32 |= 1; -- cgit v1.2.3