[U-Boot] [PATCH 02/14] mkimage: Explain the auto-fit imagefile special case
Simon Glass
sjg at chromium.org
Thu Jun 30 18:52:08 CEST 2016
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 at chromium.org>
---
tools/mkimage.c | 1 +
1 file changed, 1 insertion(+)
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) {
--
2.8.0.rc3.226.g39d4020
More information about the U-Boot
mailing list