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/intel/d510mo/devicetree.cb | 5 ++++- src/mainboard/intel/d945gclf/devicetree.cb | 19 +++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'src/mainboard/intel') diff --git a/src/mainboard/intel/d510mo/devicetree.cb b/src/mainboard/intel/d510mo/devicetree.cb index 473303842e..a80180a32e 100644 --- a/src/mainboard/intel/d510mo/devicetree.cb +++ b/src/mainboard/intel/d510mo/devicetree.cb @@ -49,12 +49,15 @@ chip northbridge/intel/pineview # Northbridge device pci 1c.1 on end # PCIe 2 device pci 1c.2 on end # PCIe 3 device pci 1c.3 on 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/winbond/w83627thg # Super I/O device pnp 4e.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 # ICS9EPRS525 diff --git a/src/mainboard/intel/d945gclf/devicetree.cb b/src/mainboard/intel/d945gclf/devicetree.cb index d9eda6ba02..eaa26ef4f1 100644 --- a/src/mainboard/intel/d945gclf/devicetree.cb +++ b/src/mainboard/intel/d945gclf/devicetree.cb @@ -55,20 +55,20 @@ chip northbridge/intel/i945 register "p_cnt_throttling_supported" = "0" device pci 1b.0 on end # High Definition Audio - device pci 1c.0 on end # PCIe - device pci 1c.1 on end # PCIe - device pci 1c.2 on end # PCIe - #device pci 1c.3 off end # PCIe port 4 - #device pci 1c.4 off end # PCIe port 5 - #device pci 1c.5 off end # PCIe port 6 + device pci 1c.0 on end # PCIe port 1 + device pci 1c.1 off end # PCIe port 2 + device pci 1c.2 on end # PCIe port 3 + device pci 1c.3 on end # PCIe port 4 + device pci 1c.4 off end # PCIe port 5 + device pci 1c.5 off end # PCIe port 6 device pci 1d.0 on end # USB UHCI device pci 1d.1 on end # USB UHCI device pci 1d.2 on end # USB UHCI device pci 1d.3 on end # USB UHCI device pci 1d.7 on end # USB2 EHCI 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 1e.2 off end # AC'97 Audio + device pci 1e.3 off end # AC'97 Modem device pci 1f.0 on # LPC bridge chip superio/smsc/lpc47m15x device pnp 2e.0 off # Floppy @@ -100,10 +100,9 @@ chip northbridge/intel/i945 end end end - #device pci 1f.1 off end # IDE + device pci 1f.1 off end # IDE device pci 1f.2 on end # SATA device pci 1f.3 on end # SMBus - #device pci 1f.4 off end # Realtek ID Codec end end end -- cgit v1.2.3