]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/imximage.c
Prepare v2010.09-rc2
[karo-tx-uboot.git] / tools / imximage.c
index 43da67800ef1b686026cb1c31122d44953f8ecfc..39f89c2b93eafa6f6a756535a5c39d0222175762 100644 (file)
@@ -36,7 +36,7 @@
  * Supported commands for configuration file
  */
 static table_entry_t imximage_cmds[] = {
-       {CMD_BOOT_FROM,         "BOOT_FROM",            "boot comand",  },
+       {CMD_BOOT_FROM,         "BOOT_FROM",            "boot command", },
        {CMD_DATA,              "DATA",                 "Reg Write Data", },
        {-1,            "",                     "",     },
 };
@@ -129,7 +129,7 @@ static uint32_t imximage_parse_cfg_file(struct imx_header *imxhdr, char *name)
        char *token, *saveptr1, *saveptr2;
        int lineno = 0;
        int fld, value;
-       uint32_t len;
+       size_t len;
        int dcd_len = 0;
        dcd_t *dcd = &imxhdr->dcd_table;
        int32_t cmd;