浏览代码

common: add cache flush to imxtract function

A cache flush is required when an image is extracted that is required on another core.

Signed-off-by: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive-technologies.com>
Pieter Voorthuijsen 10 年之前
父节点
当前提交
c72b65ccdf
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      common/cmd_ximg.c

+ 2 - 0
common/cmd_ximg.c

@@ -247,6 +247,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);