summaryrefslogtreecommitdiffstats
path: root/include/configs/innokom.h
diff options
context:
space:
mode:
authorLei Wen <[leiwen@marvell.com]>2011-04-13 23:48:31 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-04-27 19:38:08 +0200
commit3df619ec2cae3305c20b808c4d49cfed66c1cf9b (patch)
tree28492296d69892e06b869f0bab4cafdfda38632a /include/configs/innokom.h
parent879de1275abf66fbb08e601f12d6ac5a888255e1 (diff)
downloadblackbird-obmc-uboot-3df619ec2cae3305c20b808c4d49cfed66c1cf9b.tar.gz
blackbird-obmc-uboot-3df619ec2cae3305c20b808c4d49cfed66c1cf9b.zip
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>
Diffstat (limited to 'include/configs/innokom.h')
-rw-r--r--include/configs/innokom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/innokom.h b/include/configs/innokom.h
index 0ea73c9199..744d65c6e4 100644
--- a/include/configs/innokom.h
+++ b/include/configs/innokom.h
@@ -141,6 +141,7 @@
* I2C bus
*/
#define CONFIG_I2C_MV 1
+#define CONFIG_MV_I2C_REG 0x40301680
#define CONFIG_HARD_I2C 1
#define CONFIG_SYS_I2C_SPEED 50000
#define CONFIG_SYS_I2C_SLAVE 0xfe
OpenPOWER on IntegriCloud