commit | a41374b422a2804fd8422dcc44e44a03ee503937 | [log] [tgz] |
---|---|---|
author | Lei Wen <[leiwen@marvell.com]> | Wed Apr 13 23:48:31 2011 +0530 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Wed Apr 27 19:38:08 2011 +0200 |
tree | 28492296d69892e06b869f0bab4cafdfda38632a | |
parent | de04937184631dc08ec0772963e221df74fe10d2 [diff] |
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>