imagetool: make the image_save_datafile() available to all image types
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Thu, 15 Jan 2015 04:48:06 +0000 (02:48 -0200)
committerTom Rini <trini@ti.com>
Thu, 29 Jan 2015 18:38:41 +0000 (13:38 -0500)
commit067d15607598884e270f3076c721f56d3c4f65e6
tree06f5767d8a717e895179d0209cc32ab1af2fb7e1
parent0ca6691c2ec20ff264d882854c339795579991f5
imagetool: make the image_save_datafile() available to all image types

Move the image_save_datafile() function from an U-Multi specific file
(default_image.c) to a file common to all image types (image.c). And rename it
to genimg_save_datafile(), to make clear it is useful for any image type.

Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
common/image.c
tools/default_image.c
tools/imagetool.c
tools/imagetool.h