]> git.sur5r.net Git - u-boot/blobdiff - board/pcippc2/cpc710_pci.c
cmc_pu2: fix misc_init_r prototype
[u-boot] / board / pcippc2 / cpc710_pci.c
index 9975cdaa587abd5b7408678fe55474c5e43adccf..ccd18e1513c9accb84d8fbee7143b20358ee5725 100644 (file)
@@ -53,7 +53,7 @@ void cpc710_pci_init (void)
   u32                  sdram_size = pcippc2_sdram_size();
 
   cpc710_mapped_ram = sdram_size < PCI_MEMORY_MAXSIZE ?
-                      sdram_size : PCI_MEMORY_MAXSIZE;
+                     sdram_size : PCI_MEMORY_MAXSIZE;
 
     /* Select the local PCI
      */
@@ -215,7 +215,7 @@ void cpc710_pci_init (void)
                 PCI_MEMORY_BUS,
                 PCI_MEMORY_PHYS,
                 PCI_MEMORY_MAXSIZE,
-                PCI_REGION_MEM | PCI_REGION_MEMORY);
+                PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
 
   /* PCI memory space */
   pci_set_region(local_hose.regions + 1,
@@ -265,7 +265,7 @@ void cpc710_pci_init (void)
                 PCI_MEMORY_BUS,
                 PCI_MEMORY_PHYS,
                 PCI_MEMORY_MAXSIZE,
-                PCI_REGION_MEMORY);
+                PCI_REGION_SYS_MEMORY);
 
   /* PCI memory space */
   pci_set_region(cpci_hose.regions + 1,