[U-Boot] [PATCH 1/1] 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 --- common/cmd_ximg.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c index ae2714d..64b9186 100644 --- a/common/cmd_ximg.c +++ b/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);

On Mon, Jan 12, 2015 at 04:23:18PM +0100, Pieter Voorthuijsen wrote:
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
Applied to u-boot/master, thanks!
participants (2)
-
Pieter Voorthuijsen
-
Tom Rini