summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-04 23:43:38 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:26 +0100
commit4205987a668d7ba59e39033823208b34821ee15c (patch)
tree769b2f7db4acfba0baae629b2d5734f6a7be6a37 /include/configs
parent3c8910116ca2076c9808b79fcb9aaee465392356 (diff)
downloadtalos-obmc-uboot-4205987a668d7ba59e39033823208b34821ee15c.tar.gz
talos-obmc-uboot-4205987a668d7ba59e39033823208b34821ee15c.zip
Davinci: ea20: added I2C support
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ea20.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index 15be4d2562..66583b27dd 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -87,6 +87,13 @@
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
/*
+ * I2C Configuration
+ */
+#define CONFIG_HARD_I2C
+#define CONFIG_DRIVER_DAVINCI_I2C
+#define CONFIG_SYS_I2C_SPEED 100000
+
+/*
* Network & Ethernet Configuration
*/
#ifdef CONFIG_DRIVER_TI_EMAC
@@ -158,6 +165,7 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVES
#define CONFIG_CMD_MEMORY
+#define CONFIG_CMD_I2C
#ifndef CONFIG_DRIVER_TI_EMAC
#undef CONFIG_CMD_NET
OpenPOWER on IntegriCloud