mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
cmd: ximg: Respect cache line size for flushing
Make sure that the cache line size if respected when flushing the cache. Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
parent
b053dd7c5a
commit
8354aa2781
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue