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>
master
Pieter Voorthuijsen 10 years ago committed by Tom Rini
parent 453c6cc19a
commit c72b65ccdf
  1. 2
      common/cmd_ximg.c

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

Loading…
Cancel
Save