imx: mx6 add i2c4 clock support for i.MX6SX
authorPeng Fan <Peng.Fan@freescale.com>
Wed, 1 Jul 2015 09:01:50 +0000 (17:01 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 10 Jul 2015 07:36:16 +0000 (09:36 +0200)
commit19c6ec70c59da076f0e516841caa7d9c14f501b4
tree61ad0540e021f602870359a58b6050cf386c8b82
parent2d59acc70f76e6d52cc9a226c55539c9353a23cb
imx: mx6 add i2c4 clock support for i.MX6SX

Add I2C4 clock support for i.MX6SX. Since we use runtime check,
but not macro, we need to remove `#ifdef ..` in crm_regs.h, or
gcc will fail to compile the code succesfully.

Making the macros only for i.MX6SX open to other i.MX6x maybe not
a good choice, but we have runtime check.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
arch/arm/cpu/armv7/mx6/clock.c
arch/arm/include/asm/arch-mx6/crm_regs.h