commit | b506cbaee52408ba91e12fbecbf54a2ef474e81e | [log] [tgz] |
---|---|---|
author | Lokesh Vutla <lokeshvutla@ti.com> | Wed Sep 04 16:01:28 2019 +0530 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 11 10:07:34 2019 -0400 |
tree | defff9e9b73fe3343a136bb7d2e62b7e9738a5c6 | |
parent | e18166f04c69a8ac0b0fdb8f5296ec005ab32739 [diff] |
remoteproc: elf_loader: Always check the validity of the image before loading rproc_elf32_load_image() rely on user to send a valid address for elf loading. Instead do a sanity check on the address passed by user. This will help all rproc elf users to not call sanity_check explicitly before calling elf_loading. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>