summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx/pci.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2005-10-11 19:09:42 +0200
committerMarian Balakowicz <m8@semihalf.com>2005-10-11 19:09:42 +0200
commite6f2e902334d5ee65bab9cf8292cf668243531e9 (patch)
tree9ee0039daaa8161bc282f1af8d3827a5071acbc7 /cpu/mpc83xx/pci.c
parent3df5bea0b0bddc196bf952c51d1dd54d966b82ba (diff)
downloadu-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.zip
u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.gz
u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.bz2
Added support for TQM834x boards.
Diffstat (limited to 'cpu/mpc83xx/pci.c')
-rw-r--r--cpu/mpc83xx/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc83xx/pci.c b/cpu/mpc83xx/pci.c
index d5fa811..df7a540 100644
--- a/cpu/mpc83xx/pci.c
+++ b/cpu/mpc83xx/pci.c
@@ -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