summaryrefslogtreecommitdiff
path: root/board/mpc8349itx/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpc8349itx/pci.c')
-rw-r--r--board/mpc8349itx/pci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/mpc8349itx/pci.c b/board/mpc8349itx/pci.c
index 535cc34..e81ad27 100644
--- a/board/mpc8349itx/pci.c
+++ b/board/mpc8349itx/pci.c
@@ -29,6 +29,9 @@
#include <pci.h>
#include <asm/mpc8349_pci.h>
#include <i2c.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -105,7 +108,7 @@ void pci_init_board(void)
udelay(2000);
#ifdef CONFIG_HARD_I2C
- i2c_set_bus_num(2);
+ i2c_set_bus_num(1);
/* Read the PCI_M66EN jumper setting */
if ((i2c_read(CFG_I2C_8574_ADDR2, 0, 0, &reg8, sizeof(reg8)) == 0) ||
(i2c_read(CFG_I2C_8574A_ADDR2, 0, 0, &reg8, sizeof(reg8)) == 0)) {