[U-Boot] [PATCH] fsl: board EEPROM has the CRC in the wrong location
Wolfgang Denk
wd at denx.de
Fri Jul 13 23:26:00 CEST 2012
Dear Tabi Timur-B04825,
In message <5000106B.5090007 at freescale.com> you wrote:
>
> > It will work by chance, accessing random data. This is crap.
>
> It is not crap, and it will not work by chance. It is not accessing
> random data, it is accessing the CRC in the old location, just like the
> current code does today.
If you have the CRC at 0xFC, and the CRC is incorrect, then it _will_
access random data, and result inundefined behaviour. Yes, this _is_ a
crappy design.
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
"There are three principal ways to lose money: wine, women, and en-
gineers. While the first two are more pleasant, the third is by far
the more certain." -- Baron Rothschild, ca. 1800
More information about the U-Boot
mailing list