]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc8260/pci.c
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc8260 / pci.c
index 079b6e60d46a2b5920c3b0fceb34b0f565411571..56f290ca92d682a2adf2f6c5731571ed372aaa54 100644 (file)
 #include <fdt_support.h>
 #endif
 
-#if defined CONFIG_PM826
-DECLARE_GLOBAL_DATA_PTR;
-#endif
-
 /*
  *   Local->PCI map (from CPU)                            controlled by
  *   MPC826x master window
@@ -342,17 +338,10 @@ void pci_mpc8250_init (struct pci_controller *hose)
        hose->last_busno = 0xff;
 
        /* System memory space */
-#if defined CONFIG_PM826
-       pci_set_region (hose->regions + 0,
-                       PCI_SLV_MEM_BUS,
-                       PCI_SLV_MEM_LOCAL,
-                       gd->ram_size, PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
-#else
        pci_set_region (hose->regions + 0,
                        CONFIG_SYS_SDRAM_BASE,
                        CONFIG_SYS_SDRAM_BASE,
                        0x4000000, PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
-#endif
 
        /* PCI memory space */
        pci_set_region (hose->regions + 1,