OSDN Git Service

remoteproc: clean up notification config
authorAlex Elder <elder@linaro.org>
Mon, 16 Mar 2020 22:51:21 +0000 (17:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Mar 2020 00:31:51 +0000 (17:31 -0700)
commit5e0ef51b161c79e1c768d240b38837bdc06e0506
treeda90e8a8337f799c2364c640fb98646a12c435a1
parent1963507e6233ceda2afeb4b9e8e1f17d59855959
remoteproc: clean up notification config

Rearrange the config files for remoteproc and IPA to fix their
interdependencies.

First, have CONFIG_QCOM_Q6V5_MSS select QCOM_Q6V5_IPA_NOTIFY so the
notification code is built regardless of whether IPA needs it.

Next, represent QCOM_IPA as being dependent on QCOM_Q6V5_MSS rather
than setting its value to match QCOM_Q6V5_COMMON (which is selected
by QCOM_Q6V5_MSS).

Drop all dependencies from QCOM_Q6V5_IPA_NOTIFY.  The notification
code will be built whenever QCOM_Q6V5_MSS is set, and it has no other
dependencies.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/Kconfig
drivers/remoteproc/Kconfig