diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-05-11 13:42:29 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-05-11 13:42:29 +0800 |
commit | 67d51f7521b773b5d7daddfad6cd17ec82acb0c0 (patch) | |
tree | a3b29a7b2d3f679aab476c0cd762f9e8d75434d1 /include/configs | |
parent | 63bf57cd2c05017c977b1c2caa913042f356b994 (diff) | |
download | u-boot-imx-67d51f7521b773b5d7daddfad6cd17ec82acb0c0.zip u-boot-imx-67d51f7521b773b5d7daddfad6cd17ec82acb0c0.tar.gz u-boot-imx-67d51f7521b773b5d7daddfad6cd17ec82acb0c0.tar.bz2 |
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/configs')
-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 b6c07db..5ff3625 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 ece93b1..1ad45c1 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 dddc248..d855d00 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 |