From c72b65ccdf6784ff85c187198e70a7da3b4b9cf4 Mon Sep 17 00:00:00 2001 From: Pieter Voorthuijsen Date: Mon, 12 Jan 2015 16:23:18 +0100 Subject: 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 --- common/cmd_ximg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/cmd_ximg.c') diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c index ae2714d372..64b9186d73 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); -- cgit v1.2.3