Selaa lähdekoodia

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>
Pieter Voorthuijsen 10 vuotta sitten
vanhempi
commit
c72b65ccdf
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      common/cmd_ximg.c

+ 2 - 0
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);