summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2015-09-01 01:16:28 +0800
committerAnson Huang <b20788@freescale.com>2015-09-01 17:50:27 +0800
commitf432dfdaeb80ecb2a78805422baef64493f63060 (patch)
tree197f30ea99714297518b1381e859afc339d18887 /include
parent54df421991ac853e5b26036fd2205d5318e832bc (diff)
downloadu-boot-imx-f432dfdaeb80ecb2a78805422baef64493f63060.zip
u-boot-imx-f432dfdaeb80ecb2a78805422baef64493f63060.tar.gz
u-boot-imx-f432dfdaeb80ecb2a78805422baef64493f63060.tar.bz2
MLK-11461 imx: imx6ul: enable LDO bypass for 9x9 EVK board
i.MX6UL-9x9-EVK board has PFUZE3000, so enable LDO bypass support for this board. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6ul_14x14_evk.h4
-rw-r--r--include/power/pfuze300_pmic.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index ba2130b..cc1df2e 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -20,8 +20,10 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
-/* DCDC used on EVK, no PMIC */
+#if !defined(CONFIG_MX6UL_9X9_LPDDR2)
+/* DCDC used on 14x14 EVK, no PMIC */
#undef CONFIG_LDO_BYPASS_CHECK
+#endif
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
diff --git a/include/power/pfuze300_pmic.h b/include/power/pfuze300_pmic.h
index c7ec5ce..827576e 100644
--- a/include/power/pfuze300_pmic.h
+++ b/include/power/pfuze300_pmic.h
@@ -73,6 +73,8 @@ enum {
PMIC_NUM_OF_REGS = 0x7F,
};
+#define PFUZE300_SW1AB_SETP(x) ((x - 700) / 25)
+
int power_pfuze300_init(unsigned char bus);
#endif