firmware: qcom-scm: Force built in drivers to depend on QCOM SCM

Some always built-in drivers have a dependency on QCOM SCM so don't enable
them if QCOM SCM is built as a module.

Change-Id: Ic0dedbad472d2a36220126db86d3fcbf817ce53d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2019-12-03 13:15:33 -07:00
commit dc88f358c8
2 changed files with 2 additions and 0 deletions

View file

@ -149,6 +149,7 @@ config CORESIGHT_TPDA
config CORESIGHT_TPDM
bool "CoreSight Trace, Profiling & Diagnostics Monitor driver"
depends on QCOM_SCM=y
help
This driver provides support for configuring monitor. Monitors are
primarily responsible for data set collection and support the

View file

@ -588,6 +588,7 @@ config QCOM_IOMMU
# Note: iommu drivers cannot (yet?) be built as modules
bool "Qualcomm IOMMU Support"
depends on ARCH_QCOM || (COMPILE_TEST && !GENERIC_ATOMIC64)
depends on QCOM_SCM=y
select IOMMU_API
select IOMMU_IO_PGTABLE_LPAE
select ARM_DMA_USE_IOMMU