common: add cache flush to imxtract function
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.
Signed-off-by Pieter Voorthuijsen <[email protected]>
--- common/cmd_ximg.c | 2 ++ 1 file changed, 2 insertions(+)
common/cmd_ximg.c +2 -0
@@ -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
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.
Signed-off-by Pieter Voorthuijsen <[email protected]>
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>