]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/mpc83xx/pci.c
Added support for TQM834x boards.
[karo-tx-uboot.git] / cpu / mpc83xx / pci.c
index d5fa811edf0212c9929da4a5e201d7db2e4ddac5..df7a540bb6c83d838790e481cb369c66d3e487de 100644 (file)
@@ -35,7 +35,7 @@
 #include <common.h>
 #include <pci.h>
 
-#ifdef CONFIG_MPC8349ADS
+#if defined(CONFIG_MPC8349ADS) || defined(CONFIG_TQM834X)
 #include <asm/i2c.h>
 #endif
 
@@ -114,7 +114,7 @@ pci_mpc83xx_init(volatile struct pci_controller *hose)
        /*
         * Assign PIB PMC slot to desired PCI bus
         */
-#ifdef CONFIG_MPC8349ADS
+#if defined(CONFIG_MPC8349ADS) || defined(CONFIG_TQM834X)
        mpc8349_i2c = (i2c_t*)(CFG_IMMRBAR + CFG_I2C2_OFFSET);
        i2c_init(CFG_I2C_SPEED,CFG_I2C_SLAVE);
 #endif