]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/mpc8260/pci.c
Added support for the TQM8272 board from TQ
[karo-tx-uboot.git] / cpu / mpc8260 / pci.c
index b14fc159be3efb68bca5a912fa765d9529899d3e..1edd6fb8ddd0ba138c462516d145f0ca2acd276a 100644 (file)
@@ -274,7 +274,23 @@ void pci_mpc8250_init (struct pci_controller *hose)
                                  | SIUMCR_CS10PC00
                                  | SIUMCR_BCTLC00
                                  | SIUMCR_MMR11;
-
+#elif defined(CONFIG_TQM8272)
+#if 0
+       immap->im_siu_conf.sc_siumcr = (immap->im_siu_conf.sc_siumcr &
+                                               ~SIUMCR_LBPC11 &
+                                               ~SIUMCR_CS10PC11 &
+                                               ~SIUMCR_LBPC11) |
+                                       SIUMCR_LBPC01 |
+                                       SIUMCR_CS10PC01 |
+                                       SIUMCR_APPC10;
+#else
+#if 0
+       immap->im_siu_conf.sc_siumcr = (immap->im_siu_conf.sc_siumcr |
+                                       SIUMCR_APPC10);
+#else
+       immap->im_siu_conf.sc_siumcr = 0x88000000;
+#endif
+#endif
 #else
        /*
         * Setting required to enable IRQ1-IRQ7 (SIUMCR [DPPC]),
@@ -288,6 +304,7 @@ void pci_mpc8250_init (struct pci_controller *hose)
                                        SIUMCR_CS10PC01 |
                                        SIUMCR_APPC10;
 #endif
+printf("%s siumcr: %x\n", __FUNCTION__, immap->im_siu_conf.sc_siumcr);
 
        /* Make PCI lowest priority */
        /* Each 4 bits is a device bus request  and the MS 4bits