diff options
-rw-r--r-- | src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c index 0dfd2d8a5a..36252a79a3 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c @@ -2,6 +2,7 @@ #include <baseboard/variants.h> #include <bootstate.h> +#include <device/pci_ids.h> #include <gpio.h> #include <intelblocks/pcr.h> #include <soc/gpio.h> @@ -9,9 +10,16 @@ void variant_mainboard_final(void) { + struct device *dev; + /* PIR8 register mapping for PCIe root ports INTA#->PIRQC#, INTB#->PIRQD#, INTC#->PIRQA#, INTD#-> PIRQB# */ pcr_write16(PID_ITSS, 0x3150, 0x1032); + + /* Disable clock outputs 1-5 (CLKOUT) for XIO2001 PCIe to PCI Bridge. */ + dev = dev_find_device(PCI_VID_TI, PCI_DID_TI_XIO2001, 0); + if (dev) + pci_write_config8(dev, 0xd8, 0x3e); } static void finalize_boot(void *unused) |