projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkimage: Explain the auto-fit imagefile special case
[oweals/u-boot.git]
/
tools
/
mkimage.c
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index 53fa8bb3a8f048a6f9516780218ac18b00d57a40..66d29abbb0eada7e06e13baa643b9bd38c093ed0 100644
(file)
--- a/
tools/mkimage.c
+++ b/
tools/mkimage.c
@@
-273,6
+273,7
@@
static void process_args(int argc, char **argv)
*/
if (params.type == IH_TYPE_FLATDT) {
params.fit_image_type = type ? type : IH_TYPE_KERNEL;
+ /* For auto_its, datafile is always 'auto' */
if (!params.auto_its)
params.datafile = datafile;
} else if (type != IH_TYPE_INVALID) {