]> Gentwo Git Trees - linux/.git/commit
remoteproc: qcom_q6v5_mss: support loading MBN file on msm8974
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 6 Jul 2025 14:47:08 +0000 (17:47 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sun, 21 Sep 2025 02:29:50 +0000 (21:29 -0500)
commit581e3dea0ece4b59cf714c9dfe195a178d3ae13b
treef8ff960391721db2b57da40857d06aeacfdcc042
parente65a9ed4c3ec11fb40474f3340b9c1e1551c6b7a
remoteproc: qcom_q6v5_mss: support loading MBN file on msm8974

On MSM8974 / APQ8074, MSM8226 and MSM8926 the MSS requires loading raw
MBA image instead of the ELF file. Skip the ELF headers if mba.mbn was
specified as the firmware image.

Fixes: a5a4e02d083d ("remoteproc: qcom: Add support for parsing fw dt bindings")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Luca Weiss <luca@lucaweiss.eu> # msm8974pro-fairphone-fp2
Link: https://lore.kernel.org/r/20250706-msm8974-fix-mss-v4-1-630907dbd898@oss.qualcomm.com
[bjorn: Unwrapped the long memcpy line, to taste]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_q6v5_mss.c