diff options
-rw-r--r-- | common/cmd_ximg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c index ea0a26e784..02084b0204 100644 --- a/common/cmd_ximg.c +++ b/common/cmd_ximg.c @@ -58,7 +58,9 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) const void *fit_data; size_t fit_len; #endif +#ifdef CONFIG_GZIP uint unc_len = CONFIG_SYS_XIMG_LEN; +#endif uint8_t comp; verify = getenv_yesno("verify"); |