X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=tools%2Fdefault_image.c;h=e9d072975bb8b330d5868699e73f11f18376ca95;hb=e6bf18dba2a21bebf2c421b1c2e188225f6485a1;hp=6ea3b462cdd76e40ccc1df3fa2cff04606e373c6;hpb=712fbcf384b7fbe6118325f21dad98150b24f13b;p=karo-tx-uboot.git diff --git a/tools/default_image.c b/tools/default_image.c index 6ea3b462cd..e9d072975b 100644 --- a/tools/default_image.c +++ b/tools/default_image.c @@ -35,7 +35,8 @@ static image_header_t header; static int image_check_image_types(uint8_t type) { - if ((type > IH_TYPE_INVALID) && (type < IH_TYPE_FLATDT)) + if (((type > IH_TYPE_INVALID) && (type < IH_TYPE_FLATDT)) || + (type == IH_TYPE_KERNEL_NOLOAD)) return EXIT_SUCCESS; else return EXIT_FAILURE;