summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/x200/devicetree.cb
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-12 14:18:18 +0200
committerArthur Heymans <arthur@aheymans.xyz>2019-10-14 08:15:49 +0000
commit9ed0df4c380dc56a81a59a104b1ccac19cd52c35 (patch)
treece96a0374015a55cf9a44e3fc490c1e70c39b236 /src/mainboard/lenovo/x200/devicetree.cb
parentd3a1a4171ee9f64f7721660f185b649ef874cc15 (diff)
downloadcoreboot-9ed0df4c380dc56a81a59a104b1ccac19cd52c35.tar.gz
coreboot-9ed0df4c380dc56a81a59a104b1ccac19cd52c35.tar.bz2
coreboot-9ed0df4c380dc56a81a59a104b1ccac19cd52c35.zip
sb/intel/i82801ix: Add common code to set up LPC IO decode ranges
This does the following: - Add gen[1-4]_dec options to the devicetree to set up generic LPC decode ranges in the southbridge code. - Move setting up some default decode ranges to a common place. If somehow a board needs to override this behavior it can happen in the mb_setup_superio() hook (that will be renamed when moving to C_ENVIRONMENT_BOOTBLOCK). Change-Id: I3d904b1125bc410c11aa73a89b1969284e88dac1 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35991 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lenovo/x200/devicetree.cb')
-rw-r--r--src/mainboard/lenovo/x200/devicetree.cb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x200/devicetree.cb b/src/mainboard/lenovo/x200/devicetree.cb
index 2ed4308cfab6..4efcc255ec1c 100644
--- a/src/mainboard/lenovo/x200/devicetree.cb
+++ b/src/mainboard/lenovo/x200/devicetree.cb
@@ -79,6 +79,9 @@ chip northbridge/intel/gm45
# Maybe we should set less for Mini PCIe.
register "pcie_power_limits" = "{ { 10, 0 }, { 10, 0 }, { 0, 0 }, { 10, 0 }, { 0, 0 }, { 0, 0 } }"
register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
+ register "gen1_dec" = "0x007c1601"
+ register "gen2_dec" = "0x000c15e1"
+ register "gen3_dec" = "0x001c1681"
device pci 19.0 on end # LAN
device pci 1a.0 on # UHCI