X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_ximg.c;h=8b8645c9e1367028690eb6098465509fe60f446a;hb=6e474eab446432e7480394ca3833c89a01dba078;hp=ae2714d3728021bdc0d262f2bbe3b4cb54fcfe52;hpb=3e1fa221f94b7ae3389d166882b77f1da5895f22;p=u-boot diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c index ae2714d372..8b8645c9e1 100644 --- a/common/cmd_ximg.c +++ b/common/cmd_ximg.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #if defined(CONFIG_BZIP2) #include @@ -247,6 +248,8 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) puts("OK\n"); } + flush_cache(dest, len); + setenv_hex("fileaddr", data); setenv_hex("filesize", len);