commit | 3df619ec2cae3305c20b808c4d49cfed66c1cf9b | [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 | 879de1275abf66fbb08e601f12d6ac5a888255e1 [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>