tools: add variable padding of data image in mkimage
authorStefano Babic <sbabic@denx.de>
Mon, 19 Aug 2013 17:03:19 +0000 (19:03 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 31 Aug 2013 13:06:29 +0000 (15:06 +0200)
commit9bac0bb37402ca72fd905f3e591080b4cfb98c42
treea5a70267410495940ea38484c42472ffbbcd7f95
parent377e367a8558c5327c925387ecf1f0a4ee7ca177
tools: add variable padding of data image in mkimage

Use previously unused return value of function vrec_header
to return a padding size to generic mkimage. This padding
size is used in copy_files to pad with zeros after copying
the data image.

Signed-off-by: Stefano Babic <sbabic@denx.de>
tools/mkimage.c
tools/mkimage.h