
13 Mar
2009
13 Mar
'09
2:47 p.m.
Dear Grzegorz Bernacki,
In message 49BA2C42.5080903@semihalf.com you wrote:
Is such a scenario (MAC address split across 2 different EEPROM devices) possible (and supported) on these systems?
I think it is possible, cause whole eeprom is threated as a one continuous area. Moreover, this function is called only if ethaddr environment variable is not set, so not very often. I don't think optimizing it is worth risk of reading incorrect ethernet address.
You mean, there is actually only *one* phyical EEPROM chip on the board? Then the I2C driver is supposed to support reading / writing accross page boundaries.
If you are sure it doesn't work on this board, then the driver needs fixing.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
When in doubt, mumble; when in trouble, delegate; when in charge,
ponder. -- James H. Boren