remoteproc: elf_loader: Introduce a common elf loader and checker functions
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 4 Sep 2019 10:31:30 +0000 (16:01 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:07:34 +0000 (10:07 -0400)
commit856c0ad413f52d20963ef6b0fe982a0ca91086f2
treee9c1c8729acb11ab54a367e2fcae8e8c3ec1450e
parente3c4d6f01fb5c86ee8a67d28cc3a0eb708954e40
remoteproc: elf_loader: Introduce a common elf loader and checker functions

Introduce a common remoteproc elf loader and checker functions that
automatically detects the 64 bit elf file or 32 bit elf file and
loads/checks the sections accordingly.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
drivers/remoteproc/rproc-elf-loader.c
include/remoteproc.h