diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-05-11 13:42:29 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:34 +0100 |
commit | fefbd3e0e5132a7655046e19c4c7305ec3490e11 (patch) | |
tree | 7de301d040a5396e4e3f8c1c9139f5d2eb80a49b /include | |
parent | bed50086e3ae27bf360f7beca30434dc570e85a1 (diff) |
MLK-10873-1 imx:mx7d use pmic framework
Use pmic framework to simplify code and make code clean.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx7d_12x12_ddr3_arm2.h | 9 | ||||
-rw-r--r-- | include/configs/mx7d_12x12_lpddr3_arm2.h | 1 | ||||
-rw-r--r-- | include/configs/mx7d_19x19_ddr3_arm2.h | 9 |
3 files changed, 8 insertions, 11 deletions
diff --git a/include/configs/mx7d_12x12_ddr3_arm2.h b/include/configs/mx7d_12x12_ddr3_arm2.h index b6c07dba9ff..5ff3625c87b 100644 --- a/include/configs/mx7d_12x12_ddr3_arm2.h +++ b/include/configs/mx7d_12x12_ddr3_arm2.h @@ -33,11 +33,10 @@ #define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 /* 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 #endif #ifdef CONFIG_SYS_USE_SPINOR diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h index ece93b1077f..1ad45c121b2 100644 --- a/include/configs/mx7d_12x12_lpddr3_arm2.h +++ b/include/configs/mx7d_12x12_lpddr3_arm2.h @@ -45,7 +45,6 @@ #endif /* PMIC */ -/* PMIC */ #define CONFIG_POWER #define CONFIG_POWER_I2C #define CONFIG_POWER_PFUZE300 diff --git a/include/configs/mx7d_19x19_ddr3_arm2.h b/include/configs/mx7d_19x19_ddr3_arm2.h index dddc248169f..d855d00069a 100644 --- a/include/configs/mx7d_19x19_ddr3_arm2.h +++ b/include/configs/mx7d_19x19_ddr3_arm2.h @@ -53,11 +53,10 @@ #define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 /* 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 #endif #ifdef CONFIG_SYS_USE_SPINOR |