On Tue, May 29, 2012 at 08:55:34, Fabio Estevam wrote:
> Hi,
>
> I need to provide a get_board_rev() function that depends on I2C probe
> of a PMIC to decide between the board revision.
>
> I2C is only available after relocation,
Not necessarily. You can use i2c probe & read even before relocat
On 05/28/2012 11:25 PM, Fabio Estevam wrote:
I need to provide a get_board_rev() function that depends on I2C probe
of a PMIC to decide between the board revision.
I2C is only available after relocation, so what is the correct way to
"delay" get_board_rev, so that it gets called only at a time
On Tue, May 29, 2012 at 11:45 AM, Marek Vasut wrote:
> Well ... implement board-specific hack in your boardfile that detects the PMIC
> early?
Yes, you are right. This works ;-)
Regards,
Fabio Estevam
___
U-Boot mailing list
U-Boot@lists.denx.de
http
Dear Fabio Estevam,
> Hi,
>
> I need to provide a get_board_rev() function that depends on I2C probe
> of a PMIC to decide between the board revision.
>
> I2C is only available after relocation,
On arm? Not at all ;-) check arch/arm/lib/board.c
> so what is the correct way to
> "delay" get_boa
Hi,
I need to provide a get_board_rev() function that depends on I2C probe
of a PMIC to decide between the board revision.
I2C is only available after relocation, so what is the correct way to
"delay" get_board_rev, so that it gets called only at a time when I2C
is ready?
Thanks,
Fabio Estevam
5 matches
Mail list logo