From b9d2589ca40026b543ecb5b008ce0d1bc346bf53 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 15 Jun 2018 22:02:28 +0200 Subject: mb/*/*: Harmonise FD and devicetree on boards featuring ICH7 On some boards the devicetree and Function Disable register did not match. In this case the FD values are put in the devicetree as these were the values that were actually used in practice. A complete devicetree will make it easier to automatically disable devices in ramstage. Change-Id: I1692ca5f490ea84e2fc520d3f66044ad7514f76e Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/27122 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/foxconn/d41s/devicetree.cb | 8 ++++---- src/mainboard/foxconn/g41s-k/devicetree.cb | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'src/mainboard/foxconn') diff --git a/src/mainboard/foxconn/d41s/devicetree.cb b/src/mainboard/foxconn/d41s/devicetree.cb index e03a596916..0fd9e29cc9 100644 --- a/src/mainboard/foxconn/d41s/devicetree.cb +++ b/src/mainboard/foxconn/d41s/devicetree.cb @@ -48,12 +48,15 @@ chip northbridge/intel/pineview # Northbridge device pci 1c.1 on end # PCIe 2 (NIC) device pci 1c.2 off end # PCIe 3 device pci 1c.3 off end # PCIe 4 + # (PCIe 5 and 6 not on nm10?) device pci 1d.0 on end # USB device pci 1d.1 on end # USB device pci 1d.2 on end # USB device pci 1d.3 on end # USB device pci 1d.7 on end # USB device pci 1e.0 on end # PCI bridge + #device pci 1e.2 off end # AC'97 Audio (not on nm10?) + #device pci 1e.3 off end # AC'97 Modem (not on nm10?) device pci 1f.0 on # ISA bridge chip superio/ite/it8721f # Super I/O device pnp 2e.0 off end # Floppy @@ -90,7 +93,7 @@ chip northbridge/intel/pineview # Northbridge end end end - device pci 1f.1 off end + device pci 1f.1 off end # PATA device pci 1f.2 on end # SATA device pci 1f.3 on # SMbus chip drivers/i2c/ck505 @@ -101,9 +104,6 @@ chip northbridge/intel/pineview # Northbridge device i2c 69 on end end end - device pci 1f.4 off end - device pci 1f.5 off end - device pci 1f.6 off end end end end diff --git a/src/mainboard/foxconn/g41s-k/devicetree.cb b/src/mainboard/foxconn/g41s-k/devicetree.cb index e57436ae7c..a63845760c 100644 --- a/src/mainboard/foxconn/g41s-k/devicetree.cb +++ b/src/mainboard/foxconn/g41s-k/devicetree.cb @@ -66,6 +66,8 @@ chip northbridge/intel/x4x # Northbridge end device pci 1c.2 off end # PCIe 3 device pci 1c.3 off end # PCIe 4 + device pci 1c.4 off end # PCIe 5 + device pci 1c.5 off end # PCIe 6 device pci 1d.0 on # USB subsystemid 0x105b 0x0dda end @@ -82,6 +84,8 @@ chip northbridge/intel/x4x # Northbridge subsystemid 0x105b 0x0dda end device pci 1e.0 on end # PCI bridge + device pci 1e.2 off end # AC'97 Audio + device pci 1e.3 off end # AC'97 Modem device pci 1f.0 on # ISA bridge subsystemid 0x105b 0x0dda chip superio/ite/it8720f # Super I/O @@ -181,9 +185,6 @@ chip northbridge/intel/x4x # Northbridge device pci 1f.3 on # SMbus subsystemid 0x105b 0x0dda end - device pci 1f.4 off end - device pci 1f.5 off end - device pci 1f.6 off end end end end -- cgit v1.2.3