remoteproc: qcom: mdt_loader: Refactor MDT loader
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 27 Jan 2017 10:17:23 +0000 (02:17 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 6 Feb 2017 16:57:24 +0000 (08:57 -0800)
commit7f0dd07a9b29cfadffcd2fa08902a844f5c94e86
tree022b7fe0d968f61d2e2035a255e79f43fdb3da9e
parent3e8b571a9a0881ba3381ca0915995696da145ab8
remoteproc: qcom: mdt_loader: Refactor MDT loader

Pushing the SCM calls into the MDT loader reduces duplication in the
callers and allows for non-remoteproc clients to use the helper for
parsing and loading MDT files.

Cc: Andy Gross <andy.gross@linaro.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_adsp_pil.c
drivers/remoteproc/qcom_mdt_loader.c
drivers/remoteproc/qcom_mdt_loader.h
drivers/remoteproc/qcom_wcnss.c