Skip to content

Commit 1c33b6b

Browse files
author
Christoph Hellwig
committed
mips/netlogic: remove swiotlb support
nlm_swiotlb_dma_ops is unused code, so the whole swiotlb support is dead. If it gets resurrected at some point it should use the generic swiotlb_dma_ops instead. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Christian König <[email protected]>
1 parent b2b2069 commit 1c33b6b

File tree

4 files changed

+0
-103
lines changed

4 files changed

+0
-103
lines changed

arch/mips/include/asm/netlogic/common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ unsigned int nlm_get_cpu_frequency(void);
8787
extern const struct plat_smp_ops nlm_smp_ops;
8888
extern char nlm_reset_entry[], nlm_reset_entry_end[];
8989

90-
/* SWIOTLB */
91-
extern const struct dma_map_ops nlm_swiotlb_dma_ops;
92-
9390
extern unsigned int nlm_threads_per_core;
9491
extern cpumask_t nlm_cpumask;
9592

arch/mips/netlogic/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,4 @@ config IOMMU_HELPER
8989
config NEED_SG_DMA_LENGTH
9090
bool
9191

92-
config SWIOTLB
93-
def_bool y
94-
select NEED_SG_DMA_LENGTH
95-
select IOMMU_HELPER
96-
9792
endif

arch/mips/netlogic/common/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-y += irq.o time.o
3-
obj-y += nlm-dma.o
43
obj-y += reset.o
54
obj-$(CONFIG_SMP) += smp.o smpboot.o
65
obj-$(CONFIG_EARLY_PRINTK) += earlycons.o

arch/mips/netlogic/common/nlm-dma.c

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)