[U-Boot] [PATCH] fsl: board EEPROM has the CRC in the wrong location

Timur Tabi b04825 at freescale.com
Sat Jul 14 00:22:29 CEST 2012


Scott Wood wrote:

> I know the spec wouldn't change, except the version number.  But as I
> said above, there would be no known v2 implementations with the bug.
> You would only check the bad CRC location if you see v1 data, because
> there are known buggy v1 implementations.

I already have that:

	if ((e.version == NXID_VERSION) && (crc != be32_to_cpup(crcp))) {

NXID_VERSION is equal to 1, so we only do the check for the old CRC if we
have a v1 EEPROM.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the U-Boot mailing list