nemo (mtcoreboot@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12882
-gerrit
commit 2416ee6e46aaaf41b3fbe22cabeeee1ec059b3ac Author: Marian Tietz mtcoreboot@gmail.com Date: Sat Jan 9 18:18:47 2016 +0100
lenovo/x220: Enable USB 3 controller
Since only X220 with i7 have the USB3 controller this was probably overlooked.
Before this patch lspci on Linux would not show the NEC USB 3 controller as well as the PCI bridge it is behind. After, both the bridge and the NEC controller can be found in the output:
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
Change-Id: I5e7e3f0c7d023f6206a7bec42a39f8955a3d9331 Signed-off-by: Marian Tietz mtcoreboot@gmail.com --- src/mainboard/lenovo/x220/devicetree.cb | 4 +++- src/mainboard/lenovo/x220/romstage.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/lenovo/x220/devicetree.cb b/src/mainboard/lenovo/x220/devicetree.cb index 9c9ac7c..9f25658 100644 --- a/src/mainboard/lenovo/x220/devicetree.cb +++ b/src/mainboard/lenovo/x220/devicetree.cb @@ -109,7 +109,9 @@ chip northbridge/intel/sandybridge end end # PCIe Port #5 (SD) device pci 1c.5 off end # PCIe Port #6 - device pci 1c.6 off end # PCIe Port #7 + device pci 1c.6 on + subsystemid 0x17aa 0x21db + end # PCIe Port #7 device pci 1c.7 off end # PCIe Port #8 device pci 1d.0 on subsystemid 0x17aa 0x21db diff --git a/src/mainboard/lenovo/x220/romstage.c b/src/mainboard/lenovo/x220/romstage.c index 1d89d92..ce3f276 100644 --- a/src/mainboard/lenovo/x220/romstage.c +++ b/src/mainboard/lenovo/x220/romstage.c @@ -54,7 +54,7 @@ void pch_enable_lpc(void) void rcba_config(void) { /* Disable unused devices (board specific) */ - RCBA32(FD) = 0x1fe41fe3; + RCBA32(FD) = 0x1fa41fe3; RCBA32(BUC) = 0; }