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_board_rev, so that it gets called only at a time when I2C > is ready? Well ... implement board-specific hack in your boardfile that detects the PMIC early? > Thanks, > > Fabio Estevam > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot