summaryrefslogtreecommitdiff
path: root/arch/mips/netlogic/Kconfig
diff options
context:
space:
mode:
authorGanesan Ramalingam <ganesanr@broadcom.com>2013-06-10 06:28:09 +0000
committerRalf Baechle <ralf@linux-mips.org>2013-06-13 17:46:40 +0200
commit79f8511c83f13689913f54d2f189297c226ec064 (patch)
tree2dc7e379aa8e4284c651194ed200c9cf919afc0d /arch/mips/netlogic/Kconfig
parent4954a9a211f1863e3ca3958fd56ad06e1bddc22d (diff)
MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA
Add SWIOTLB config option and related files to Netlogic platform. Some XLP SoC components like the SD/MMC interface cannot do DMA beyond 32-bit physical address. The SD/MMC driver can use memory outside this range for IO, to support this we have to add bounce buffers implemented by SWIOTLB. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Cc: Ganesan Ramalingam <ganesanr@broadcom.com> Patchwork: https://patchwork.linux-mips.org/patch/5410/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/Kconfig')
-rw-r--r--arch/mips/netlogic/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/netlogic/Kconfig b/arch/mips/netlogic/Kconfig
index e0873a31ebaa..2447bf97d35a 100644
--- a/arch/mips/netlogic/Kconfig
+++ b/arch/mips/netlogic/Kconfig
@@ -51,4 +51,15 @@ endif
config NLM_COMMON
bool
+config IOMMU_HELPER
+ bool
+
+config NEED_SG_DMA_LENGTH
+ bool
+
+config SWIOTLB
+ def_bool y
+ select NEED_SG_DMA_LENGTH
+ select IOMMU_HELPER
+
endif