mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-12 22:26:16 +09:00
ventana: use non-generic pfuze100 init
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
93a6d92cfa
commit
17449272a0
|
@ -1076,10 +1076,11 @@ int misc_init_r(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* configure PFUZE100 PMIC (not used on all Ventana baseboards) */
|
/* configure PFUZE100 PMIC (not used on all Ventana baseboards) */
|
||||||
if ((board_type == GW54xx || board_type == GW54proto) &&
|
power_pfuze100_init(I2C_PMIC);
|
||||||
!pmic_init(I2C_PMIC)) {
|
if (board_type == GW54xx || board_type == GW54proto) {
|
||||||
struct pmic *p = pmic_get("PFUZE100_PMIC");
|
struct pmic *p = pmic_get("PFUZE100_PMIC");
|
||||||
u32 reg;
|
u32 reg;
|
||||||
|
|
||||||
if (p && !pmic_probe(p)) {
|
if (p && !pmic_probe(p)) {
|
||||||
pmic_reg_read(p, PFUZE100_DEVICEID, ®);
|
pmic_reg_read(p, PFUZE100_DEVICEID, ®);
|
||||||
printf("PMIC: PFUZE100 ID=0x%02x\n", reg);
|
printf("PMIC: PFUZE100 ID=0x%02x\n", reg);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user