Adding support for imxtract command

Change-Id: I786b46f256592d8311c2f9e0f9a971b36436a3cb
Signed-off-by: Akila N <akilan@codeaurora.org>
This commit is contained in:
Akila N 2016-09-29 21:09:06 +05:30 committed by Gerrit - the friendly Code Review server
parent e34c2dc55e
commit 39d25efe1d
4 changed files with 4 additions and 1 deletions

View file

@ -144,7 +144,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
return 1;
}
if (fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE)
if (!fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE)
&& (argc < 4)) {
printf("Must specify load address for %s command "
"with compressed image\n",

View file

@ -124,6 +124,7 @@ typedef struct {
#define CONFIG_INITRD_TAG 1
#define CONFIG_SYS_HUSH_PARSER
#define CONFIG_SYS_NULLDEV
#define CONFIG_CMD_XIMG
/*
* USB Support

View file

@ -153,6 +153,7 @@
#define CONFIG_FIT
#endif
#define CONFIG_SYS_NULLDEV
#define CONFIG_CMD_XIMG
/*Support for Compressed DTB image*/
#ifdef CONFIG_FIT

View file

@ -163,6 +163,7 @@ extern loff_t board_env_offset;
*/
#define CONFIG_OF_LIBFDT 1
#define CONFIG_SYS_HUSH_PARSER
#define CONFIG_CMD_XIMG
/* NSS firmware loaded using bootm */
#define CONFIG_BOOTCOMMAND "bootipq"