summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-03-07 00:23:57 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:06:23 +0800
commit1666cfa6cb70e2b65ad2307140c436c64b1f05a4 (patch)
tree1599c4bd1c3b99616736ecc3863919a2a34448ca /include
parent5421d70d6485f96fe3c47a3a8915c5859f18d82c (diff)
downloadu-boot-imx-1666cfa6cb70e2b65ad2307140c436c64b1f05a4.zip
u-boot-imx-1666cfa6cb70e2b65ad2307140c436c64b1f05a4.tar.gz
u-boot-imx-1666cfa6cb70e2b65ad2307140c436c64b1f05a4.tar.bz2
MLK-14326-11 mx6slevk: Enable OF_CONTROL and DM drivers
Update mx6slevk board files and build configurations to enable OF_CONTROL and DM drivers. 1. Update PMIC and LDO-bypass codes for DM PMIC driver. 2. Update configurations for DM i2c driver 3. GPIO update for adding gpio_request 4. Remove duplicated configurations from build config Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6slevk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 0f04043..c33fcf6 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -29,18 +29,24 @@
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC2*/
/* I2C Configs */
+#ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C
+#endif
+#ifdef CONFIG_CMD_I2C
#define CONFIG_SYS_I2C_MXC
#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
#define CONFIG_SYS_I2C_SPEED 100000
+#endif
/* PMIC */
+#ifndef CONFIG_DM_PMIC
#define CONFIG_POWER
#define CONFIG_POWER_I2C
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
+#endif
#define CONFIG_FEC_MXC
#define CONFIG_MII