summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Gong <B38343@freescale.com>2012-06-28 15:05:36 +0800
committerRobin Gong <B38343@freescale.com>2012-07-04 11:24:18 +0800
commit616c262d6c5c2151ec4aeeb52f6d9688b405b56f (patch)
tree43ece0886ad28bc3e6ba959a2cfd68e058232265 /include
parent8a5eb914dc9ffe384938ff604c71a7bfca233549 (diff)
ENGR00215197 pfuze MX6SL_ARM2: enable LDO bypass on u-boot
1.enable I2C and I2C bus recovery support on mx6sl_arm2 2.enable LDO bypass on u-boot, by configuring 'CONFIG_MX6_INTER_LDO_BYPASS' Signed-off-by: Robin Gong <B38343@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6sl_arm2.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/mx6sl_arm2.h b/include/configs/mx6sl_arm2.h
index c5b08920b98..a7117c42f22 100644
--- a/include/configs/mx6sl_arm2.h
+++ b/include/configs/mx6sl_arm2.h
@@ -93,6 +93,7 @@
#define CONFIG_BOOTP_DNS
#define CONFIG_CMD_SPI
+#define CONFIG_CMD_I2C
#define CONFIG_CMD_IMXOTP
/* Enable below configure when supporting nand */
@@ -263,6 +264,18 @@
#define CONFIG_ENV_IS_NOWHERE 1
#endif
+/*
+ * I2C Configs
+ */
+#ifdef CONFIG_CMD_I2C
+ #define CONFIG_HARD_I2C 1
+ #define CONFIG_I2C_MXC 1
+ #define CONFIG_SYS_I2C_PORT I2C1_BASE_ADDR
+ #define CONFIG_SYS_I2C_SPEED 100000
+ #define CONFIG_SYS_I2C_SLAVE 0x8
+ #define CONFIG_MX6_INTER_LDO_BYPASS 0
+#endif
+
/*#define CONFIG_SPLASH_SCREEN*/
/*