mv_i2c: use structure to replace the direclty define
authorLei Wen <[leiwen@marvell.com]>
Wed, 13 Apr 2011 18:18:31 +0000 (23:48 +0530)
committerAlbert Aribaud <albert.u.boot@aribaud.net>
Tue, 19 Apr 2011 05:37:34 +0000 (07:37 +0200)
commitc15525dc65261012f1f015cb7c79babcd9988056
treeb43223051c1431438e879829f9bfdb88b6bab867
parentba2d8de3f8ae4413d346732101322493c820775c
mv_i2c: use structure to replace the direclty define

Add i2c_clk_enable in the cpu specific code, since previous platform it,
while new platform don't need. In the pantheon and armada100 platform,
this function is defined as NULL one.

Acked-by: Heiko Schocher <hs@denx.de>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Lei Wen <leiwen@marvell.com>
arch/arm/cpu/pxa/cpu.c
arch/arm/include/asm/arch-pxa/pxa-regs.h
board/innokom/innokom.c
drivers/i2c/mv_i2c.c
drivers/i2c/mv_i2c.h [new file with mode: 0644]
include/configs/innokom.h
include/configs/xm250.h