aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGuilherme Maciel Ferreira2015-01-15 02:48:06 -0200
committerTom Rini2015-01-29 13:38:41 -0500
commit067d15607598884e270f3076c721f56d3c4f65e6 (patch)
tree06f5767d8a717e895179d0209cc32ab1af2fb7e1 /common
parent0ca6691c2ec20ff264d882854c339795579991f5 (diff)
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')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index ad7a46d08d8..a911aa9b4d1 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: