diff options
author | Zong Li <zong.li@sifive.com> | 2023-05-31 09:01:41 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-07-12 22:24:02 +0530 |
commit | 1b13e52c0c76097fde35d3283e8105545d34b80b (patch) | |
tree | 1ca483558fa7dd16b5cb9ea80a28cd76ad7f95ee | |
parent | 4ca95a5b220c901f9c2402532ef78bf5aaf7d35d (diff) |
dmaengine: xilinx: dma: remove arch dependency
As following patches, xilinx dma is also now architecture agnostic,
and it can be compiled for several architectures. We have verified the
CDMA on RISC-V platform, let's remove the ARCH dependency list instead
of adding new ARCH.
To avoid breaking the s390 build, add a dependency on HAS_IOMEM.
'e8b6c54f6d57 ("net: xilinx: temac: Relax Kconfig dependencies")'
'd7eaf962a90b ("net: axienet: In kconfig remove arch dependency for axi_emac")'
Signed-off-by: Zong Li <zong.li@sifive.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Suggested-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20230531090141.23546-1-zong.li@sifive.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/dma/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 644c188d6a11..0f9832f0ef58 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -697,7 +697,7 @@ config XGENE_DMA config XILINX_DMA tristate "Xilinx AXI DMAS Engine" - depends on (ARCH_ZYNQ || MICROBLAZE || ARM64) + depends on HAS_IOMEM select DMA_ENGINE help Enable support for Xilinx AXI VDMA Soft IP. |