]> git.baikalelectronics.ru Git - uboot.git/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)
commit9351cbe17f4c4bca845419f79347d680752694a6
tree1bdbf48e95072b68e882a64d0cec8054795bdffe
parente8462bdff4b672e03947ecc6b2c8a5251d8dc863
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