]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - tools/default_image.c
dumpimage: replace the term "datafile" by "subimage"
[karo-tx-uboot.git] / tools / default_image.c
index 0b0e076831dfb24cb5c83fc921c8afba08d82e01..2298f91624526929520512b2dd8771834a276f32 100644 (file)
@@ -117,7 +117,7 @@ static void image_set_header(void *ptr, struct stat *sbuf, int ifd,
        image_set_hcrc(hdr, checksum);
 }
 
-static int image_extract_datafile(void *ptr, struct image_tool_params *params)
+static int image_extract_subimage(void *ptr, struct image_tool_params *params)
 {
        const image_header_t *hdr = (const image_header_t *)ptr;
        ulong file_data;
@@ -144,7 +144,7 @@ static int image_extract_datafile(void *ptr, struct image_tool_params *params)
        }
 
        /* save the "data file" into the file system */
-       return imagetool_save_datafile(params->outfile, file_data, file_len);
+       return imagetool_save_subimage(params->outfile, file_data, file_len);
 }
 
 /*
@@ -159,7 +159,7 @@ U_BOOT_IMAGE_TYPE(
        image_verify_header,
        image_print_contents,
        image_set_header,
-       image_extract_datafile,
+       image_extract_subimage,
        image_check_image_types,
        NULL,
        NULL