summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-03-20 12:28:31 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:02:00 +0800
commita48ccdc9c10eb135cf47f822c0ccd5e72f590e78 (patch)
treefb157195c3f92967032aa1c0b7f44955b16272ce /include/configs
parent2769c66c8a6a8a83abda2738592398a540b90db3 (diff)
downloadu-boot-imx-a48ccdc9c10eb135cf47f822c0ccd5e72f590e78.zip
u-boot-imx-a48ccdc9c10eb135cf47f822c0ccd5e72f590e78.tar.gz
u-boot-imx-a48ccdc9c10eb135cf47f822c0ccd5e72f590e78.tar.bz2
MLK-10774-35 imx:mx7 use power_init_board
Upgrade to upstream way, using power_init_board. Add pfuze300 support. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx7d_12x12_lpddr3_arm2.h10
-rw-r--r--include/configs/mx7dsabresd.h9
2 files changed, 9 insertions, 10 deletions
diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h
index 8bdc3da..c6cd1c1 100644
--- a/include/configs/mx7d_12x12_lpddr3_arm2.h
+++ b/include/configs/mx7d_12x12_lpddr3_arm2.h
@@ -45,11 +45,11 @@
#endif
/* PMIC */
-#define CONFIG_PFUZE3000_PMIC_I2C
-#ifdef CONFIG_PFUZE3000_PMIC_I2C
-#define CONFIG_PMIC_I2C_BUS 0
-#define CONFIG_PMIC_I2C_SLAVE 0x8
-#endif
+/* PMIC */
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_PFUZE300
+#define CONFIG_POWER_PFUZE300_I2C_ADDR 0x08
#ifdef CONFIG_SYS_USE_SPINOR
#define CONFIG_CMD_SF
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 014e86a..c52e44a 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -84,11 +84,10 @@
#define IMX_FEC_BASE ENET_IPS_BASE_ADDR
/* PMIC */
-#define CONFIG_PFUZE3000_PMIC_I2C
-#ifdef CONFIG_PFUZE3000_PMIC_I2C
-#define CONFIG_PMIC_I2C_BUS 0
-#define CONFIG_PMIC_I2C_SLAVE 0x8
-#endif
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_PFUZE300
+#define CONFIG_POWER_PFUZE300_I2C_ADDR 0x08
#undef CONFIG_BOOTM_NETBSD
#undef CONFIG_BOOTM_PLAN9