[U-Boot] [PATCH 05/14] ARM: AM43XX: board: add support for reading onboard EEPROM
Vaibhav Bedia
vaibhav.bedia at gmail.com
Thu Nov 7 21:56:08 CET 2013
Hi Tom,
On Wed, Nov 6, 2013 at 4:37 PM, Tom Rini <trini at ti.com> wrote:
>>>>> +
>>>>> + if (header->magic != 0xEE3355AA) {
>>>>
>>>> Why is the header the same as AM335x? Shouldn't it be something
>>>> like 0xEE3344AA or whatever?
>>> No, the header is still same. It is 0xEE3355AA.
>>>
>>
>> My question was why ;)
>> What's the point of adding the same magic value for a different SoC?
>> Unless there's a good reason for doing so i think this needs to be fixed
>> in the EEPROM programmer.
>
> A magic value is sufficiently magical, I don't think we'll get anyone to
> change it at this point.
>
With almost half a dozen of AM335x board variants floating around this
thing is bound to cause problems eventually. The EEPROM format
can simply be updated to fix this. If there's a big resistance in doing
this then we might as well live with it - but i would at least ask once ;)
Regards,
Vaibhav
More information about the U-Boot
mailing list