diff options
author | trem <tremyfr@yahoo.fr> | 2013-09-21 18:13:35 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2013-10-17 07:20:24 +0200 |
commit | fac9640895c3f778c3d2a33521dfd95bd5cba653 (patch) | |
tree | 170424cee7853c69637a6e5a72f775a1a2167578 /arch/arm/cpu | |
parent | 815a76f2ef08b700da611645c9329f632b681491 (diff) | |
download | u-boot-imx-fac9640895c3f778c3d2a33521dfd95bd5cba653.zip u-boot-imx-fac9640895c3f778c3d2a33521dfd95bd5cba653.tar.gz u-boot-imx-fac9640895c3f778c3d2a33521dfd95bd5cba653.tar.bz2 |
i2c: mxc: move to new subsystem
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/mx5/clock.c | 2 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/mx6/clock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7/mx5/clock.c index 6bef254..fb3b128 100644 --- a/arch/arm/cpu/armv7/mx5/clock.c +++ b/arch/arm/cpu/armv7/mx5/clock.c @@ -94,7 +94,7 @@ void enable_usboh3_clk(bool enable) MXC_CCM_CCGR2_USBOH3_60M(cg)); } -#ifdef CONFIG_I2C_MXC +#ifdef CONFIG_SYS_I2C_MXC /* i2c_num can be from 0, to 1 for i.MX51 and 2 for i.MX53 */ int enable_i2c_clk(unsigned char enable, unsigned i2c_num) { diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index df11678..cf3a38e 100644 --- a/arch/arm/cpu/armv7/mx6/clock.c +++ b/arch/arm/cpu/armv7/mx6/clock.c @@ -48,7 +48,7 @@ void enable_usboh3_clk(unsigned char enable) } -#ifdef CONFIG_I2C_MXC +#ifdef CONFIG_SYS_I2C_MXC /* i2c_num can be from 0 - 2 */ int enable_i2c_clk(unsigned char enable, unsigned i2c_num) { |