scripts: kwbimage: fix mis-sized payload
Image payload size should always be a multiple of 4 bytes. This fixes
mis-sized image payload by allocating payload buffer as multiple of 4
but load true filesize into the payload buffer.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4f3570c commit 6b5874f706ee7768e66f509789d4b047785f3af4
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 12 Nov 2013
Sascha Hauer committed on 18 Nov 2013
Showing 1 changed file
View
scripts/kwbimage.c