[U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

Pavel Machek pavel at denx.de
Tue Oct 7 19:51:57 CEST 2014


Hi!

> > > +static u8 eeprom_defaults[] = {
> > > +	/* 0x00 */
> > > +	0xA5,		/* Signature */
> > > +	0xFF, 0xFF,	/* MAC bytes 0-1 */
> > > +	0xFF, 0xFF,	/* MAC bytes 2-3 */
> > > +	0xFF, 0xFF,	/* MAC bytes 4-5 */
> > 
> > Normally, we use all zeros for unset...?
> 
> That's what the controller use when the EEPROM hasn't been programmed,
> but I'll change it to all 0.

Aha, if this is in-controller-default, don't change it. But comment
explaining where this comes from would be nice.

Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the U-Boot mailing list