]> git.sur5r.net Git - u-boot/blobdiff - tools/mkimage.c
mkimage: fix Segmentation Fault when run without "-n name" option
[u-boot] / tools / mkimage.c
index f71f8e732be6469de8a44b3218b29745f08c3b66..5c3e872906b6e1f27895dd41e11e911473d475f8 100644 (file)
@@ -37,6 +37,7 @@ struct mkimage_params params = {
        .type = IH_TYPE_KERNEL,
        .comp = IH_COMP_GZIP,
        .dtc = MKIMAGE_DEFAULT_DTC_OPTIONS,
+       .imagename = "",
 };
 
 /*