
6 May
2014
6 May
'14
3:22 p.m.
On Tue, May 6, 2014 at 5:07 AM, Stefano Babic sbabic@denx.de wrote:
Checkin in arch/arm/lib/board.c, I see that power_init_board() is called quite early (that makes sense, as power can be necessary to go on). Can you try moving power_init_board() later ? Anyway, I2C is already set (by board_init, called previously) and malloc is also available.
I tried putting power_init_board() after misc_init_r() and even in this case the 'pmic dump' command fails.
On the v3 version I call the pmic initialization inside board_late_init().
Regards,
Fabio Estevam