summaryrefslogtreecommitdiff
path: root/board/mpc8349itx/pci.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2006-10-31 21:23:16 -0600
committerKim Phillips <kim.phillips@freescale.com>2006-11-03 19:42:22 -0600
commit9ca880a250870a7d55754291b5591d2b5fe89b54 (patch)
treebfef7c3013d3423222e2af4522b3341f42398f8e /board/mpc8349itx/pci.c
parentac4b5622ce050b5ee1e154b98df630d778661632 (diff)
downloadu-boot-imx-9ca880a250870a7d55754291b5591d2b5fe89b54.zip
u-boot-imx-9ca880a250870a7d55754291b5591d2b5fe89b54.tar.gz
u-boot-imx-9ca880a250870a7d55754291b5591d2b5fe89b54.tar.bz2
mpc83xx: Fix dual I2C support for the MPC8349ITX, MPC8349EMDS, TQM834x, and MPC8360EMDS
This patch also adds an improved I2C set_speed(), which handles all clock frequencies. Signed-off-by: Timur Tabi <timur@freescale.com>
Diffstat (limited to 'board/mpc8349itx/pci.c')
-rw-r--r--board/mpc8349itx/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpc8349itx/pci.c b/board/mpc8349itx/pci.c
index acac185..cf07020 100644
--- a/board/mpc8349itx/pci.c
+++ b/board/mpc8349itx/pci.c
@@ -105,7 +105,7 @@ void pci_init_board(void)
udelay(2000);
#ifdef CONFIG_HARD_I2C
- i2c_set_bus_num(I2C_BUS_2);
+ i2c_set_bus_num(2);
/* 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)) {