projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453c6cc
)
common: add cache flush to imxtract function
author
Pieter Voorthuijsen
<pieter.voorthuijsen@prodrive-technologies.com>
Mon, 12 Jan 2015 15:23:18 +0000
(16:23 +0100)
committer
Tom Rini
<trini@ti.com>
Thu, 29 Jan 2015 18:38:39 +0000
(13:38 -0500)
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
patch
|
blob
|
history
diff --git
a/common/cmd_ximg.c
b/common/cmd_ximg.c
index ae2714d3728021bdc0d262f2bbe3b4cb54fcfe52..64b9186d738920dabf3e8573dcebaecdbb3ee562 100644
(file)
--- 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);