diff options
author | Clement Leger <cleger@kalray.eu> | 2020-03-02 10:38:59 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-03-26 06:29:40 +0100 |
commit | 826c339099295312eb9bc207197f3beb6ff19051 (patch) | |
tree | 43d2306c9746a0e5a3245dfb31396a2ba3c3a084 /drivers/remoteproc/st_remoteproc.c | |
parent | remoteproc: Add elf helpers to access elf64 and elf32 fields (diff) | |
download | linux-826c339099295312eb9bc207197f3beb6ff19051.tar.xz linux-826c339099295312eb9bc207197f3beb6ff19051.zip |
remoteproc: Rename rproc_elf_sanity_check for elf32
Since this function will be modified to support both elf32 and elf64,
rename the existing one to elf32 (which is the only supported format
at the moment). This will allow not to introduce possible side effect
when adding elf64 support (ie: all backends will still support only
elf32 if not requested explicitely using rproc_elf_sanity_check).
Signed-off-by: Clement Leger <cleger@kalray.eu>
Link: https://lore.kernel.org/r/20200302093902.27849-6-cleger@kalray.eu
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/st_remoteproc.c')
-rw-r--r-- | drivers/remoteproc/st_remoteproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/st_remoteproc.c b/drivers/remoteproc/st_remoteproc.c index a3268d95a50e..a6cbfa452764 100644 --- a/drivers/remoteproc/st_remoteproc.c +++ b/drivers/remoteproc/st_remoteproc.c @@ -233,7 +233,7 @@ static const struct rproc_ops st_rproc_ops = { .parse_fw = st_rproc_parse_fw, .load = rproc_elf_load_segments, .find_loaded_rsc_table = rproc_elf_find_loaded_rsc_table, - .sanity_check = rproc_elf_sanity_check, + .sanity_check = rproc_elf32_sanity_check, .get_boot_addr = rproc_elf_get_boot_addr, }; |