Skip to content
Snippets Groups Projects
Commit c72b65cc authored by Pieter Voorthuijsen's avatar Pieter Voorthuijsen Committed by Tom Rini
Browse files

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: default avatarPieter Voorthuijsen <pieter.voorthuijsen@prodrive-technologies.com>
parent 453c6cc1
No related branches found
No related tags found
No related merge requests found
...@@ -247,6 +247,8 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) ...@@ -247,6 +247,8 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
puts("OK\n"); puts("OK\n");
} }
flush_cache(dest, len);
setenv_hex("fileaddr", data); setenv_hex("fileaddr", data);
setenv_hex("filesize", len); setenv_hex("filesize", len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment