]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sbc8548/sbc8548.c
powerpc/8xxx: Replace is_fsl_pci_cfg with is_serdes_configured
[karo-tx-uboot.git] / board / sbc8548 / sbc8548.c
index 272428fbf8027f1bbe7cda993a9cc04be02d328f..06c1eea37792bd0fbb21585ef93da81327bcb8da 100644 (file)
@@ -32,6 +32,7 @@
 #include <asm/immap_85xx.h>
 #include <asm/fsl_pci.h>
 #include <asm/fsl_ddr_sdram.h>
+#include <asm/fsl_serdes.h>
 #include <spd_sdram.h>
 #include <netdev.h>
 #include <tsec.h>
@@ -364,7 +365,7 @@ pci_init_board(void)
        setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_PCI2); /* disable PCI2 */
 
 #ifdef CONFIG_PCIE1
-       pcie_configured = is_fsl_pci_cfg(LAW_TRGT_IF_PCIE_1, io_sel);
+       pcie_configured = is_serdes_configured(PCIE1);
 
        if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE)){
                SET_STD_PCIE_INFO(pci_info[num], 1);