summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf523x/cpu_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/cpu/mcf523x/cpu_init.c')
-rw-r--r--arch/m68k/cpu/mcf523x/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf523x/cpu_init.c b/arch/m68k/cpu/mcf523x/cpu_init.c
index d1c0b401c1..1ad5d02d29 100644
--- a/arch/m68k/cpu/mcf523x/cpu_init.c
+++ b/arch/m68k/cpu/mcf523x/cpu_init.c
@@ -115,7 +115,7 @@ void cpu_init_f(void)
out_be32(&fbcs->csmr7, CONFIG_SYS_CS7_MASK);
#endif
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_I2C_FSL
CONFIG_SYS_I2C_PINMUX_REG &= CONFIG_SYS_I2C_PINMUX_CLR;
CONFIG_SYS_I2C_PINMUX_REG |= CONFIG_SYS_I2C_PINMUX_SET;
#endif