]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_ximg.c
tpm: Drop two unused options
[karo-tx-uboot.git] / common / cmd_ximg.c
index ae2714d3728021bdc0d262f2bbe3b4cb54fcfe52..8b8645c9e1367028690eb6098465509fe60f446a 100644 (file)
@@ -15,6 +15,7 @@
 #include <common.h>
 #include <command.h>
 #include <image.h>
+#include <mapmem.h>
 #include <watchdog.h>
 #if defined(CONFIG_BZIP2)
 #include <bzlib.h>
@@ -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);