提交 8354aa27 编写于 作者: M Mario Six 提交者: Tom Rini

cmd: ximg: Respect cache line size for flushing

Make sure that the cache line size if respected when flushing the cache.
Signed-off-by: NMario Six <mario.six@gdsys.cc>
上级 b053dd7c
......@@ -249,7 +249,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
puts("OK\n");
}
flush_cache(dest, len);
flush_cache(dest, ALIGN(len, ARCH_DMA_MINALIGN));
env_set_hex("fileaddr", data);
env_set_hex("filesize", len);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册