Wolfgang Denk wrote: > I guess there are other places where things like this are used. Some > boards also come with a "console over modem" configuration which > might use I2C very early, IIRC.
I don't know much about 8xx, but on 8xxx, all the information needed for I2C configuration is in the board configuration files. Couldn't we just move i2c_init earlier? Is there a way to test on all the 8xx boards that U-Boot supports? If not, would it be okay to make a best-guess attempt at modifying the code to call i2c_init() earlier for those boards that need it (e.g. call it from scc_init() on the lwmon board), and hope someone else notices any bugs in other 8xx boards? -- Timur Tabi Linux kernel developer at Freescale ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users