]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: include drivers/firmware/Kconfig unconditionally
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Sep 2021 07:50:26 +0000 (09:50 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 7 Oct 2021 14:51:26 +0000 (16:51 +0200)
commit951cd3a0866d29cb9c01ebc1d9c17590e598226e
tree09f63663c56eeb4d69cdfdb0590141c57f6b03a7
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
firmware: include drivers/firmware/Kconfig unconditionally

Compile-testing drivers that require access to a firmware layer
fails when that firmware symbol is unavailable. This happened
twice this week:

 - My proposed to change to rework the QCOM_SCM firmware symbol
   broke on ppc64 and others.

 - The cs_dsp firmware patch added device specific firmware loader
   into drivers/firmware, which broke on the same set of
   architectures.

We should probably do the same thing for other subsystems as well,
but fix this one first as this is a dependency for other patches
getting merged.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Charles Keepax <ckeepax@opensource.cirrus.com>
Cc: Simon Trimmer <simont@opensource.cirrus.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig
arch/arm64/Kconfig
arch/ia64/Kconfig
arch/mips/Kconfig
arch/parisc/Kconfig
arch/riscv/Kconfig
arch/x86/Kconfig
drivers/Kconfig