summaryrefslogtreecommitdiffstats
path: root/board/freescale/mpc8349itx/mpc8349itx.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2012-10-24 13:48:22 +0200
committerHeiko Schocher <hs@denx.de>2013-07-23 08:34:53 +0200
commit00f792e0df9ae942427e44595a0f4379582accee (patch)
tree34bfe42e8b720ed412ffa481b916a36fb1adcd60 /board/freescale/mpc8349itx/mpc8349itx.c
parentea818dbbcd59300b56014ac2d67798a54994eb9b (diff)
downloadblackbird-obmc-uboot-00f792e0df9ae942427e44595a0f4379582accee.tar.gz
blackbird-obmc-uboot-00f792e0df9ae942427e44595a0f4379582accee.zip
i2c, fsl_i2c: switch to new multibus/multiadapter support
- added to fsl_i2c driver new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'board/freescale/mpc8349itx/mpc8349itx.c')
-rw-r--r--board/freescale/mpc8349itx/mpc8349itx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/freescale/mpc8349itx/mpc8349itx.c b/board/freescale/mpc8349itx/mpc8349itx.c
index 9cc808ed7d..271768dc76 100644
--- a/board/freescale/mpc8349itx/mpc8349itx.c
+++ b/board/freescale/mpc8349itx/mpc8349itx.c
@@ -263,8 +263,7 @@ int misc_init_r(void)
{
int rc = 0;
-#ifdef CONFIG_HARD_I2C
-
+#if defined(CONFIG_SYS_I2C)
unsigned int orig_bus = i2c_get_bus_num();
u8 i2c_data;
OpenPOWER on IntegriCloud