summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8349itx/mpc8349itx.c
diff options
context:
space:
mode:
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 510ef04..803d722 100644
--- a/board/freescale/mpc8349itx/mpc8349itx.c
+++ b/board/freescale/mpc8349itx/mpc8349itx.c
@@ -247,8 +247,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;