mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
dcache: Skipping dcache flush when no destination pointer
In imxtract, if destination pointer is not given, skipping dcache flush at the destination pointer to avoid null-pointer issue. Change-Id: I4dc08bd35c4ffb083ab0c646961644560fbf4c1a Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
71e72eff91
commit
563590e559
1 changed files with 1 additions and 2 deletions
|
|
@ -247,10 +247,9 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
puts("OK\n");
|
puts("OK\n");
|
||||||
|
flush_cache(dest, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
flush_cache(dest, len);
|
|
||||||
|
|
||||||
setenv_hex("fileaddr", data);
|
setenv_hex("fileaddr", data);
|
||||||
setenv_hex("filesize", len);
|
setenv_hex("filesize", len);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue