u-boot/drivers/remoteproc
Fabien Dessenne 7a7c4cb0f0 remoteproc: add elf file load support
The current implementation supports only binary file load.
Add helpers to support ELF32 format (sanity check, and load).
Note that since an ELF32 image is built for the remote processor, the
load function uses the device_to_virt ops to translate the addresses.
Implement a basic translation for sandbox_testproc.

Add related tests. Test result:
=> ut dm remoteproc_elf
Test: dm_test_remoteproc_elf: remoteproc.c
Test: dm_test_remoteproc_elf: remoteproc.c (flat tree)
Failures: 0

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
2019-07-22 09:21:28 +02:00
..
k3_rproc.c remoteproc: Introduce K3 remoteproc driver 2018-09-11 08:32:55 -04:00
k3_system_controller.c remoteproc: k3_system_controller: Increase rx timeout 2019-05-09 20:22:05 -04:00
Kconfig remoteproc: Introduce K3 remoteproc driver 2018-09-11 08:32:55 -04:00
Makefile remoteproc: add elf file load support 2019-07-22 09:21:28 +02:00
rproc-elf-loader.c remoteproc: add elf file load support 2019-07-22 09:21:28 +02:00
rproc-uclass.c remoteproc: Allow for individual remoteproc initialization 2018-09-11 08:32:55 -04:00
sandbox_testproc.c remoteproc: add elf file load support 2019-07-22 09:21:28 +02:00
ti_power_proc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00