summaryrefslogtreecommitdiff
path: root/board/technexion
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2019-05-08 14:38:36 +0800
committerStefano Babic <sbabic@denx.de>2019-06-11 10:42:48 +0200
commitc72a23701bd9b15dab35e0d43c468ab051739af3 (patch)
treedb6f6484bd7152481b4f6a06414fd920dd8edd2d /board/technexion
parent76ed1036c2ebf2c27ce5c0c2470dda215d73a560 (diff)
downloadu-boot-c72a23701bd9b15dab35e0d43c468ab051739af3.tar.gz
pico-imx7d: enable boot without PMIC
If PMIC is not probed successfully, it is still OK to boot with default configuration although power is not optimized. Default voltage of SW1A/SW1B is 1.1V/1.0V for PC32PF3000A1EP on pico according to table 42 of spec of PF3000 ver 9.0. Default mode of SW1A/SW1B is APS as expected(table 47). Signed-off-by: Jun Nie <jun.nie@linaro.org>
Diffstat (limited to 'board/technexion')
-rw-r--r--board/technexion/pico-imx7d/pico-imx7d.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c
index 5b357f265a..e3d75e549a 100644
--- a/board/technexion/pico-imx7d/pico-imx7d.c
+++ b/board/technexion/pico-imx7d/pico-imx7d.c
@@ -85,8 +85,11 @@ int power_init_board(void)
p = pmic_get("PFUZE3000");
ret = pmic_probe(p);
- if (ret)
- return ret;
+ if (ret) {
+ printf("Warning: Cannot find PMIC PFUZE3000\n");
+ printf("\tPower consumption is not optimized.\n");
+ return 0;
+ }
pmic_reg_read(p, PFUZE3000_DEVICEID, &reg);
pmic_reg_read(p, PFUZE3000_REVID, &rev_id);