scripts/omap_signGP: Fix image size in GP header
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@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cfadaca commit cb50b4ed51d2164de2dd5ce98d61ab900a11df50
@Wadim Egorov Wadim Egorov authored on 15 Jun 2015
Sascha Hauer committed on 17 Jun 2015
Showing 1 changed file
View
scripts/omap_signGP.c