U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] common: add cache flush to imxtract function
@ 2015-01-12 15:23 Pieter Voorthuijsen
  2015-02-02 18:57 ` [U-Boot] [U-Boot, " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Pieter Voorthuijsen @ 2015-01-12 15:23 UTC (permalink / raw)
  To: u-boot

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);
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [U-Boot, 1/1] common: add cache flush to imxtract function
  2015-01-12 15:23 [U-Boot] [PATCH 1/1] common: add cache flush to imxtract function Pieter Voorthuijsen
@ 2015-02-02 18:57 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-02-02 18:57 UTC (permalink / raw)
  To: u-boot

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!

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-02 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-12 15:23 [U-Boot] [PATCH 1/1] common: add cache flush to imxtract function Pieter Voorthuijsen
2015-02-02 18:57 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox