summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/ti_power_proc.c
diff options
context:
space:
mode:
authorFabien Dessenne <fabien.dessenne@st.com>2019-05-31 15:11:33 +0200
committerPatrick Delaunay <patrick.delaunay@st.com>2019-07-22 09:21:28 +0200
commit7a7c4cb0f0440ce7384e233583b32c75ef534ddc (patch)
tree03c2fa96ca5995ab1658133a4822d9d933dda0bd /drivers/remoteproc/ti_power_proc.c
parent163b7d7706d842517c5c77e649290be557ad578b (diff)
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>
Diffstat (limited to 'drivers/remoteproc/ti_power_proc.c')
0 files changed, 0 insertions, 0 deletions