summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2013-06-17 15:30:38 +0800
committerHeiko Schocher <hs@denx.de>2013-07-23 08:34:57 +0200
commit1221b3d74a0d92f3fcb5ff3e8b6f721f562b8305 (patch)
tree2aec28f28577a803a7fa215176ef12577899cdf4 /include
parentcfb25cc40e6cb0f59f751bfb452bba8be8873ee7 (diff)
downloadu-boot-imx-1221b3d74a0d92f3fcb5ff3e8b6f721f562b8305.zip
u-boot-imx-1221b3d74a0d92f3fcb5ff3e8b6f721f562b8305.tar.gz
u-boot-imx-1221b3d74a0d92f3fcb5ff3e8b6f721f562b8305.tar.bz2
vf610: Add I2C support for Vybrid VF610 platform
This patch adds I2C support for Vybrid VF610 platform and adds I2C0 support to VF610TWR board. Signed-off-by: Alison Wang <b18965@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/vf610twr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index 5012fc8..9aba5bc 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -81,6 +81,13 @@
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
+/* I2C Configs */
+#define CONFIG_CMD_I2C
+#define CONFIG_HARD_I2C
+#define CONFIG_I2C_MXC
+#define CONFIG_SYS_I2C_BASE I2C0_BASE_ADDR
+#define CONFIG_SYS_I2C_SPEED 100000
+
#define CONFIG_BOOTDELAY 3
#define CONFIG_LOADADDR 0x82000000