Message ID | 1421076198-5255-1-git-send-email-pieter.voorthuijsen@prodrive-technologies.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
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!
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);
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(+)