summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-04-14 14:39:34 +0200
committerPatrick Rudolph <siro@das-labor.org>2019-05-08 14:56:12 +0000
commit49df54a1dc0596e23e7865e65a45544c947efc9e (patch)
tree5963a324309256a0206b8374e7dbb182feb8879c /src/mainboard/lenovo
parent976e3e9ae68d64c374e7e2ace2df86173bd5bec8 (diff)
downloadcoreboot-49df54a1dc0596e23e7865e65a45544c947efc9e.tar.xz
mb/lenovo/t520: Fix devicetree
Disable unused PCI devices. Reduces idle power by around 0.5Watt. Tested on Lenovo T520. Change-Id: I6990dc5810084261b75d2a327b6a103be44fd4cc Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32317 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t520/variants/t520/devicetree.cb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb
index 5f1bc60863..eff2d69304 100644
--- a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb
+++ b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb
@@ -88,6 +88,8 @@ chip northbridge/intel/sandybridge
device pci 1c.6 off end # PCIe Port #7 USB 3.0 only W520
device pci 1c.7 off end # PCIe Port #8
device pci 1d.0 on end # USB2 EHCI #1
+ device pci 1e.0 off end # PCI-2-PCI bridge
+
device pci 1f.0 on #LPC bridge
chip ec/lenovo/pmh7
device pnp ff.1 on # dummy
@@ -167,6 +169,8 @@ chip northbridge/intel/sandybridge
device i2c 5f on end
end
end # SMBus
+ device pci 1f.5 off end # IDE controller
+ device pci 1f.6 off end # Thermal controller
end
end
end