summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2013-08-15 14:00:38 +0800
committerFugang Duan <B38611@freescale.com>2013-08-15 17:04:23 +0800
commit2d6b2cd4b7ecb5cdec79949eeb458eb6121295b9 (patch)
tree70e3a2904bb752c4c5a5f6391ae2d31519287f7b /include/configs
parentcc467b169fb6d8e53b295b1a1f4e2b7352b84c67 (diff)
downloadu-boot-imx-2d6b2cd4b7ecb5cdec79949eeb458eb6121295b9.zip
u-boot-imx-2d6b2cd4b7ecb5cdec79949eeb458eb6121295b9.tar.gz
u-boot-imx-2d6b2cd4b7ecb5cdec79949eeb458eb6121295b9.tar.bz2
ENGR00275413-02: imx6sl:evk: add i2c0 support for imx6sl evk
Add i2c0 bus support in mx6slevk config file. Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6slevk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 1e6f863..48a3d84 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -31,6 +31,7 @@
#define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M)
#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
#define CONFIG_MXC_GPIO
#define CONFIG_MXC_UART
@@ -66,6 +67,14 @@
#define CONFIG_CONS_INDEX 1
#define CONFIG_BAUDRATE 115200
+/* I2C configs */
+#define CONFIG_CMD_I2C
+#define CONFIG_HARD_I2C 1
+#define CONFIG_I2C_MXC 1
+#define CONFIG_SYS_I2C_BASE I2C1_BASE_ADDR
+#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_SYS_I2C_SLAVE 0x8
+
/* Command definition */
#include <config_cmd_default.h>