summaryrefslogtreecommitdiff
path: root/board/freescale/common/pfuze.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-01-24 16:19:21 +0800
committerYe Li <ye.li@nxp.com>2017-03-14 21:27:09 +0800
commit65ed2f0cb6895ea5a1590d5a21e5633ef67a73ab (patch)
tree71dc3fb3988bab9896396908af89937cdb861041 /board/freescale/common/pfuze.c
parent8537ddd769f460d7fb7a62a3dcc9669049702e51 (diff)
downloadu-boot-imx-65ed2f0cb6895ea5a1590d5a21e5633ef67a73ab.zip
u-boot-imx-65ed2f0cb6895ea5a1590d5a21e5633ef67a73ab.tar.gz
u-boot-imx-65ed2f0cb6895ea5a1590d5a21e5633ef67a73ab.tar.bz2
MLK-14421 imx: Add pfuze pmic common init for DM pmic driver
Since the DM pmic driver has changed the driver API, add a new file pfuze_dm.c for common pfuze100 init. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board/freescale/common/pfuze.c')
-rw-r--r--board/freescale/common/pfuze.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c
index 69afa83..30f6f0a 100644
--- a/board/freescale/common/pfuze.c
+++ b/board/freescale/common/pfuze.c
@@ -9,7 +9,6 @@
#include <power/pmic.h>
#include <power/pfuze100_pmic.h>
-#ifndef CONFIG_DM_PMIC_PFUZE100
int pfuze_mode_init(struct pmic *p, u32 mode)
{
unsigned char offset, i, switch_num;
@@ -92,4 +91,3 @@ struct pmic *pfuze_common_init(unsigned char i2cbus)
return p;
}
-#endif