Skip to content

Commit

Permalink
dmaengine: INTEL_LDMA should depend on X86
Browse files Browse the repository at this point in the history
The Intel Lightning Mountain (LGM) DMA controller is only present on
Intel Lightning Mountain SoCs.  Hence add a dependency on X86, to
prevent asking the user about this driver when configuring a kernel
without Intel Lightning Mountain platform support.

While at it, fix a misspelling of "Intel".

Fixes: 32d31c7 ("dmaengine: Add Intel LGM SoC DMA support.")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210129131702.2656060-1-geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Geert Uytterhoeven authored and Vinod Koul committed Feb 1, 2021
1 parent e5bfbbb commit cd90f69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/dma/lgm/Kconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-only
config INTEL_LDMA
bool "Lightning Mountain centralized DMA controllers"
depends on X86 || COMPILE_TEST
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
Enable support for intel Lightning Mountain SOC DMA controllers.
Enable support for Intel Lightning Mountain SOC DMA controllers.
These controllers provide DMA capabilities for a variety of on-chip
devices such as HSNAND and GSWIP (Gigabit Switch IP).

0 comments on commit cd90f69

Please sign in to comment.