On 08/30/2013 06:04 AM, Liu Shengzhou-B36685 wrote: >> Actually, the 23 should be changed to 31. York, this patch needs to be >> applied: http://patchwork.ozlabs.org/patch/170753/ > > According to AN3638, it should be 30 rather than 31 for 256-bytes EEPROM.
Are you talking about the C struct? That's just an example. Besides, the C struct has an error in it: unsigned char res_u[7]; // F6-FB: reserved this should be res_u[6]. Besides, the appnote says elsewhere: "0xA2 – 0xFB reserved Reserved for additional MAC addresses or other data. NXID readers need only consider the MACSIZE field to determine if this space is used for additional MAC addresses." Which means that you can fill the EEPROM with MAC addresses. If you do the math, that means 31 addresses. -- Timur Tabi _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot