diff options
author | Simon Glass <sjg@chromium.org> | 2016-06-30 10:52:08 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:26 -0400 |
commit | 3c23c0feacce0f73d7852409a0c634f275cbecfe (patch) | |
tree | f58ac9225497924144b1db6ab323c403b228fc33 /tools | |
parent | 20deaddd465aeab6f6939fb1b660622d763791a9 (diff) | |
download | u-boot-3c23c0feacce0f73d7852409a0c634f275cbecfe.zip u-boot-3c23c0feacce0f73d7852409a0c634f275cbecfe.tar.gz u-boot-3c23c0feacce0f73d7852409a0c634f275cbecfe.tar.bz2 |
mkimage: Explain the auto-fit imagefile special case
There is a special case in the code when auto-fit is used. Add a comment to
make it easier to understand why this is needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mkimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c index 53fa8bb..66d29ab 100644 --- 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) { |