Dear Timur Tabi, In message <51db3787.4000...@tabi.org> you wrote: > On 07/08/2013 01:19 PM, Wolfgang Denk wrote: > > + uint32_t crc_buf; > > + > > + memcpy(&crc_buf, &buf[24], sizeof(unsigned int)); > > Well, this is wrong, because it should be sizeof(uint32_t). Or maybe > sizeof(crc_buf).
Indedd. Sorry. V3 on the way. Thanks! 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: w...@denx.de Your own mileage may vary. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot