[U-Boot] [PATCH] fsl: board EEPROM has the CRC in the wrong location
Wolfgang Denk
wd at denx.de
Sat Jul 14 01:01:00 CEST 2012
Dear Timur Tabi,
In message <500098F6.8050702 at freescale.com> you wrote:
>
> I honestly don't see what's wrong with checking the CRC in the old
> location, and using it if it's valid. Like I said, we already
You are interpreting something which can be random data.
> if (e.version == 0)
> crc_offset = 0x72;
>
> So here we're reading the 'version' field before we validate the data,
> because we need to check the version to know where the CRC is.
Argh. More crap ...
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 at denx.de
Speed of a tortoise breaking the sound barrier = 1 Machturtle
More information about the U-Boot
mailing list