diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-08-19 03:01:19 +0600 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-08-28 09:16:54 -0600 |
commit | eec567a67e00d1ed8d941e9098b7d421f4091abf (patch) | |
tree | dedad365b22f5893a7483d5bd3549ab61b8a166d /cpu/mcf523x/cpu_init.c | |
parent | d53cf6a9c7423cba668b867978648645f71c3090 (diff) | |
download | u-boot-imx-eec567a67e00d1ed8d941e9098b7d421f4091abf.zip u-boot-imx-eec567a67e00d1ed8d941e9098b7d421f4091abf.tar.gz u-boot-imx-eec567a67e00d1ed8d941e9098b7d421f4091abf.tar.bz2 |
ColdFire: I2C fix for multiple platforms
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu/mcf523x/cpu_init.c')
-rw-r--r-- | cpu/mcf523x/cpu_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mcf523x/cpu_init.c b/cpu/mcf523x/cpu_init.c index 55c9cd3..8ab5b8e 100644 --- a/cpu/mcf523x/cpu_init.c +++ b/cpu/mcf523x/cpu_init.c @@ -110,8 +110,8 @@ void cpu_init_f(void) #endif #ifdef CONFIG_FSL_I2C - gpio->par_feci2c &= ~(GPIO_PAR_FECI2C_SCL_MASK | GPIO_PAR_FECI2C_SDA_MASK); - gpio->par_feci2c |= (GPIO_PAR_FECI2C_SCL_I2CSCL | GPIO_PAR_FECI2C_SDA_I2CSDA); + CFG_I2C_PINMUX_REG &= CFG_I2C_PINMUX_CLR; + CFG_I2C_PINMUX_REG |= CFG_I2C_PINMUX_SET; #endif icache_enable(); |