]> git.sur5r.net Git - u-boot/commit
tools: omapimage: Fix mismatch of image size in header
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 28 Dec 2017 15:10:00 +0000 (20:40 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:24 +0000 (15:49 -0500)
commit3a0e70f181ecf21db2486c289055d4269887cab8
tree1bdbf48e95072b68e882a64d0cec8054795bdffe
parent4849d9540751cdf66d5169e2bcc4ee0ea9a6f647
tools: omapimage: Fix mismatch of image size in header

The size field in GP header that is expected by ROM is size of the
image + size of the header. But omapimage tool is updating size
as image size + 2 * header size. Remove this extra header size bytes.

Reported-by: Denys Dmytriyenko <denys@ti.com>
Debugged-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
tools/omapimage.c