summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAlbert Aribaud <albert.aribaud@free.fr>2010-08-27 18:26:06 +0200
committerHeiko Schocher <hs@denx.de>2010-08-30 14:10:45 +0200
commitc2ca44c24b77e8f65bd5c564576d8eee1a78b4f5 (patch)
treef4c81f335a451dc4c63820015079b84463563ebe /include/configs
parent306563a773f1111c6beff8d1855d5b2a2137aebd (diff)
edminiv2: add I2C support using mvtwsi driver
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr> Acked-by: Prafulla Wadaskar<prafulla@marvell.com> Acked-by: Heiko Schocher<hs@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/edminiv2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 57dd1651f36..ccfc66053b5 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -132,6 +132,7 @@
*/
#include <config_cmd_default.h>
#define CONFIG_CMD_IDE
+#define CONFIG_CMD_I2C
/*
* Network
@@ -182,6 +183,16 @@
#endif /* CMD_IDE */
/*
+ * I2C related stuff
+ */
+#ifdef CONFIG_CMD_I2C
+#define CONFIG_I2C_MVTWSI
+#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE
+#define CONFIG_SYS_I2C_SLAVE 0x0
+#define CONFIG_SYS_I2C_SPEED 100000
+#endif
+
+/*
* Environment variables configurations
*/
#define CONFIG_ENV_IS_IN_FLASH 1