On Tuesday 26 August 2008, Trent Piepho wrote: > Lots of tv cards have eeproms with configuration information. They use an > I2C driver called tveeprom that exports this: > > int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len)
That presumes the driver somehow has access to that I2C client. (Also, that it's an I2C EEPROM. I keep wanting to have something usable for SPI EEPROMs and NVRAM too. But maybe nobody else cares.) > > Last I heard, the U-Boot policy was not to touch controllers that are > > not required during boot. Despite relatively common cases like needing > > to set up MAC addresses ... maybe this patch of Kevin's can make it a > > bunch easier to cope with that U-Boot policy. :) > > U-boot can put the MAC address into a property of the MAC's device node in > the OF device tree (which u-boot passes to the kernel). Maybe with PowerPC it does. Not on ARM. ;) _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
