mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
wandboard: Fix the DM_PMIC conversion
Commitec837c82d7
("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:ec837c82d7
("imx6: wandboard: convert to DM_PMIC") Signed-off-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
b6e7ef4bf7
commit
21f77b77af
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue