[U-Boot] Detecting board revision that needs to be done after relocation

Fabio Estevam festevam at gmail.com
Tue May 29 05:25:34 CEST 2012


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


More information about the U-Boot mailing list