diff options
| author | Simon Glass <[email protected]> | 2016-06-30 10:52:08 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-07-14 18:22:26 -0400 |
| commit | 3c23c0feacce0f73d7852409a0c634f275cbecfe (patch) | |
| tree | f58ac9225497924144b1db6ab323c403b228fc33 | |
| parent | 20deaddd465aeab6f6939fb1b660622d763791a9 (diff) | |
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 <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
| -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 53fa8bb3a8f..66d29abbb0e 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) { |
