summaryrefslogtreecommitdiff
path: root/board/wandboard
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-12-10 06:32:59 -0300
committerStefano Babic <sbabic@denx.de>2020-01-08 10:51:45 +0100
commit21f77b77af3f7cadfce790e099e8315d9eedd14c (patch)
tree09f6220d89b3616fd58df13e7cc69dfa061bc4e8 /board/wandboard
parentb6e7ef4bf71bc0927dea35fdec0a653a82ae57a7 (diff)
downloadu-boot-21f77b77af3f7cadfce790e099e8315d9eedd14c.tar.gz
u-boot-21f77b77af3f7cadfce790e099e8315d9eedd14c.tar.bz2
u-boot-21f77b77af3f7cadfce790e099e8315d9eedd14c.zip
wandboard: Fix the DM_PMIC conversion
Commit ec837c82d709 ("imx6: wandboard: convert to DM_PMIC") caused the following pmic_get() error: CPU: Freescale i.MX6QP rev1.0 at 792 MHz Reset cause: POR DRAM: 2 GiB PMIC: pmic_get() ret -19 ... and since the PMIC presence is used to determine the board D1 revision, the following error is seen when booting a board rev D1: WARNING: Could not determine dtb to use and the kernel does not boot at all. Fix the regression by passing "pfuze100@8" as the correct parameter to the pmic_get() function in the DM case. Fixes: ec837c82d709 ("imx6: wandboard: convert to DM_PMIC") Signed-off-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'board/wandboard')
-rw-r--r--board/wandboard/wandboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 6c1e4ef27d..b2f961a7f0 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -363,7 +363,7 @@ int power_init_board(void)
puts("PMIC: ");
- ret = pmic_get("pfuze100", &dev);
+ ret = pmic_get("pfuze100@8", &dev);
if (ret < 0) {
printf("pmic_get() ret %d\n", ret);
return 0;