remoteproc: Use u64 type for boot_addr
authorClement Leger <cleger@kalray.eu>
Mon, 2 Mar 2020 09:38:57 +0000 (10:38 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 26 Mar 2020 05:29:39 +0000 (22:29 -0700)
commite4ae4b7d01699d0f3ea61bbef119f2d67e5455c0
tree9304cac3daa43164894625d91d3bb50531d897dc
parent096ee78669d2bc8fccc40117de8d4e838a0c80db
remoteproc: Use u64 type for boot_addr

elf64 entry is defined as a u64. Since boot_addr is used to store the
elf entry point, change boot_addr type to u64 to support both elf32
and elf64. In the same time, fix users that were using this variable.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Clement Leger <cleger@kalray.eu>
Link: https://lore.kernel.org/r/20200302093902.27849-4-cleger@kalray.eu
[bjorn: Fixes up return type of rproc_get_boot_addr()]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_elf_loader.c
drivers/remoteproc/remoteproc_internal.h
drivers/remoteproc/st_remoteproc.c
include/linux/remoteproc.h