Merge "dcache: Skipping dcache flush when no destination pointer"

This commit is contained in:
Linux Build Service Account 2018-06-08 12:37:39 -07:00 committed by Gerrit - the friendly Code Review server
commit 5080bfea38

View file

@ -247,10 +247,9 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
return 1;
}
puts("OK\n");
flush_cache(dest, len);
}
flush_cache(dest, len);
setenv_hex("fileaddr", data);
setenv_hex("filesize", len);