mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
0ca6691c2e
commit
067d156075
@@ -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:
|
||||
|
Reference in New Issue
Block a user