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>
This commit is contained in:
Pieter Voorthuijsen 2015-01-12 16:23:18 +01:00 committed by Tom Rini
parent 453c6cc19a
commit c72b65ccdf
1 changed files with 2 additions and 0 deletions

View File

@ -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);