scripts: imx-image: Make in-place capable
Read in the source image completely before starting to write the output
image. This makes it possible to pass the same file as input and output.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 99b591a commit 71a2ad25b1aaa73e7da3b59850fb708a703fa5b3
@Sascha Hauer Sascha Hauer authored on 14 Jul 2015
Showing 1 changed file
View
scripts/imx/imx-image.c