]> code.ossystems Code Review - bsp/u-boot.git/commit
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)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 15 Jul 2015 00:42:58 +0000 (21:42 -0300)
commit02102110217641ca7939f2c50c910a3bc7fe0fe4
tree5e0e5b6700be27990e4b20c78d46f1a872954e15
parent8e4572291857b4b5d879cec14601c9f6e52b0424
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