]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: imx_dsp_rproc: use common rproc_elf_load_segments
authorPeng Fan <peng.fan@nxp.com>
Wed, 13 Apr 2022 03:30:38 +0000 (11:30 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:14:17 +0000 (11:14 -0600)
commit72c83fbe59e635ea572aa4edc3d66e467d5f0876
tree321a93f0e810acf1af1191cd5c5d3bfdd6149028
parent13a063f9c49b44805baee7972e575ac85741de22
remoteproc: imx_dsp_rproc: use common rproc_elf_load_segments

remoteproc elf loader supports the specific case that segments
have PT_LOAD and memsz/filesz set to zero, so no duplicate
code.

Acked-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220413033038.1715945-3-peng.fan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c