projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a6d92
)
ventana: use non-generic pfuze100 init
author
Tim Harvey
<tharvey@gateworks.com>
Wed, 23 Apr 2014 04:53:57 +0000
(21:53 -0700)
committer
Stefano Babic
<sbabic@denx.de>
Fri, 9 May 2014 12:38:23 +0000
(14:38 +0200)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana.c
patch
|
blob
|
history
diff --git
a/board/gateworks/gw_ventana/gw_ventana.c
b/board/gateworks/gw_ventana/gw_ventana.c
index 211374082bb60ef95b46f15360cf8ad1cecb44d8..7bc69bdd81cfd24aa7ea8a4442f51d16f834116b 100644
(file)
--- a/
board/gateworks/gw_ventana/gw_ventana.c
+++ b/
board/gateworks/gw_ventana/gw_ventana.c
@@
-1076,10
+1076,11
@@
int misc_init_r(void)
}
/* configure PFUZE100 PMIC (not used on all Ventana baseboards) */
- if ((board_type == GW54xx || board_type == GW54proto) &&
-
!pmic_init(I2C_PMIC)
) {
+ power_pfuze100_init(I2C_PMIC);
+
if (board_type == GW54xx || board_type == GW54proto
) {
struct pmic *p = pmic_get("PFUZE100_PMIC");
u32 reg;
+
if (p && !pmic_probe(p)) {
pmic_reg_read(p, PFUZE100_DEVICEID, ®);
printf("PMIC: PFUZE100 ID=0x%02x\n", reg);