mb/siemens/mc_apl6: Adjust clock lines used on PCIe-2-PCI bridge
On this mainboard variant the PCIe-2-PCI bridge is used a bit different. Adjust the switched off clock lines to match the mainboard configuration. Change-Id: I16f3b6eed0948c8201baecdfbb8052c6c1c335c8 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
parent
7c276c0dd7
commit
4f7fe494a0
|
@ -60,12 +60,12 @@ void variant_mainboard_final(void)
|
||||||
cmd |= PCI_COMMAND_MASTER;
|
cmd |= PCI_COMMAND_MASTER;
|
||||||
pci_write_config16(dev, PCI_COMMAND, cmd);
|
pci_write_config16(dev, PCI_COMMAND, cmd);
|
||||||
|
|
||||||
/* Disable clock outputs 0 and 2-4 (CLKOUT) for upstream
|
/* Disable clock outputs 0-3 (CLKOUT) for upstream
|
||||||
* XIO2001 PCIe to PCI Bridge.
|
* XIO2001 PCIe to PCI Bridge.
|
||||||
*/
|
*/
|
||||||
struct device *parent = dev->bus->dev;
|
struct device *parent = dev->bus->dev;
|
||||||
if (parent && parent->device == PCI_DEVICE_ID_TI_XIO2001)
|
if (parent && parent->device == PCI_DEVICE_ID_TI_XIO2001)
|
||||||
pci_write_config8(parent, 0xd8, 0x1d);
|
pci_write_config8(parent, 0xd8, 0x0F);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable clock outputs 2-5 (CLKOUT) for another XIO2001 PCIe to PCI
|
/* Disable clock outputs 2-5 (CLKOUT) for another XIO2001 PCIe to PCI
|
||||||
|
|
Loading…
Reference in New Issue