summaryrefslogtreecommitdiffstats
path: root/common/image.c
diff options
context:
space:
mode:
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>2015-01-15 02:48:06 -0200
committerTom Rini <trini@ti.com>2015-01-29 13:38:41 -0500
commit067d15607598884e270f3076c721f56d3c4f65e6 (patch)
tree06f5767d8a717e895179d0209cc32ab1af2fb7e1 /common/image.c
parent0ca6691c2ec20ff264d882854c339795579991f5 (diff)
downloadtalos-obmc-uboot-067d15607598884e270f3076c721f56d3c4f65e6.tar.gz
talos-obmc-uboot-067d15607598884e270f3076c721f56d3c4f65e6.zip
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>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index ad7a46d08d..a911aa9b4d 100644
--- a/common/image.c
+++ b/common/image.c
@@ -756,7 +756,7 @@ int genimg_get_format(const void *img_addr)
* genimg_get_image - get image from special storage (if necessary)
* @img_addr: image start address
*
- * genimg_get_image() checks if provided image start adddress is located
+ * genimg_get_image() checks if provided image start address is located
* in a dataflash storage. If so, image is moved to a system RAM memory.
*
* returns:
OpenPOWER on IntegriCloud