]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:43 +0000 (00:47 +0200)
commita2347d2f81b0a7a97061ba7672e78c4d915702fd
treefa9670a113dd4f05ab037313c2acd6f0dbd53ea1
parent816e8258515db941623d174e49d282077c580a4b
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