]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/cpu/mpc5xxx/pci_mpc5200.c
powerpc: remove icecube_5200, Lite5200, cpci5200, mecp5200, pf5200
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc5xxx / pci_mpc5200.c
index a89d5fd7a64cfe9faeac18f6f7d63bb4a66bae53..70b7e6e6cb4e00aa78ca74c9c8cee39abc5dcae0 100644 (file)
@@ -33,21 +33,7 @@ static int mpc5200_read_config_dword(struct pci_controller *hose,
        *(volatile u32 *)MPC5XXX_PCI_CAR = (1 << 31) | dev | offset;
        eieio();
        udelay(10);
-#if (defined CONFIG_PF5200 || defined CONFIG_CPCI5200)
-       if (dev & 0x00ff0000) {
-               u32 val;
-               val  = in_le16((volatile u16 *)(CONFIG_PCI_IO_PHYS+2));
-               udelay(10);
-               val = val << 16;
-               val |= in_le16((volatile u16 *)(CONFIG_PCI_IO_PHYS+0));
-               *value = val;
-       } else {
-               *value = in_le32((volatile u32 *)CONFIG_PCI_IO_PHYS);
-       }
-       udelay(10);
-#else
        *value = in_le32((volatile u32 *)CONFIG_PCI_IO_PHYS);
-#endif
        eieio();
        *(volatile u32 *)MPC5XXX_PCI_CAR = 0;
        udelay(10);