On Mon, Jun 15, 2015 at 10:29:33AM +0200, Wadim Egorov wrote: > The size field in the GP header has to include its own size. > This can be easily misread in the TRM. > > Sometimes, when the gp_header size is not included, the ROM code > will not copy the complete MLO into the SRAM. This happens when the MLO file > size is 98823 bytes (and the value of GP header size field is 98303 bytes). > > Signed-off-by: Wadim Egorov <w.egorov@xxxxxxxxx> > --- Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox