diff options
author | Pieter Voorthuijsen <pieter.voorthuijsen@prodrive-technologies.com> | 2015-01-12 16:23:18 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-29 13:38:39 -0500 |
commit | c72b65ccdf6784ff85c187198e70a7da3b4b9cf4 (patch) | |
tree | 99c6ce10d8bc134a613549bd577f62a256a4cfb1 /common/cmd_ximg.c | |
parent | 453c6cc19aaf4f03bbf4ef03493732a39d3780db (diff) | |
download | u-boot-imx-c72b65ccdf6784ff85c187198e70a7da3b4b9cf4.zip u-boot-imx-c72b65ccdf6784ff85c187198e70a7da3b4b9cf4.tar.gz u-boot-imx-c72b65ccdf6784ff85c187198e70a7da3b4b9cf4.tar.bz2 |
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 <pieter.voorthuijsen@prodrive-technologies.com>
Diffstat (limited to 'common/cmd_ximg.c')
-rw-r--r-- | common/cmd_ximg.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |