Skip to contentSkip to conversation

common: add cache flush to imxtract function

PATCH New Pieter Voorthuijsen 2 participants 2 messages Jan 12, 2015 – Feb 2, 2015

lore
Share & tools
lore
#0 lore raw

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.

---
 common/cmd_ximg.c |    2 ++
 1 file changed, 2 insertions(+)
common/cmd_ximg.c +2 -0
index ae2714d..64b9186 100644
@@ -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);
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 common: add cache flush to imxtract function

Quoted 3 lines · Pieter Voorthuijsen

A cache flush is required when an image is extracted that is required on another core.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150202/299eb8d4/attachment.sig>