aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2012-10-31 08:01:33 -0400
committerJohn Crispin <blogic@openwrt.org>2012-11-09 05:37:19 -0500
commitb97215fd938f6bc2469acd82de8e6e36adcbea7c (patch)
treeab1f42e780910b03bcafe9920b44e59c2c7db97b /arch/mips/Kconfig
parente83fc6be612ae6642f330e4aff93f32593c25a04 (diff)
MIPS: Netlogic: Fix DMA zone selection for 64-bit
Fix Kconfig for both XLR and XLP to select ZONE_DMA32 (instead of ZONE_DMA) in case of 64-bit compilation. This can be used for devices that can only do DMA to 32-bit address. ZONE_DMA is not useful on XLR or XLP. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4466 Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 83980a07dc89..f569790e24e2 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -817,7 +817,7 @@ config NLM_XLR_BOARD
817 select CSRC_R4K 817 select CSRC_R4K
818 select IRQ_CPU 818 select IRQ_CPU
819 select ARCH_SUPPORTS_MSI 819 select ARCH_SUPPORTS_MSI
820 select ZONE_DMA if 64BIT 820 select ZONE_DMA32 if 64BIT
821 select SYNC_R4K 821 select SYNC_R4K
822 select SYS_HAS_EARLY_PRINTK 822 select SYS_HAS_EARLY_PRINTK
823 select USB_ARCH_HAS_OHCI if USB_SUPPORT 823 select USB_ARCH_HAS_OHCI if USB_SUPPORT
@@ -845,7 +845,7 @@ config NLM_XLP_BOARD
845 select CEVT_R4K 845 select CEVT_R4K
846 select CSRC_R4K 846 select CSRC_R4K
847 select IRQ_CPU 847 select IRQ_CPU
848 select ZONE_DMA if 64BIT 848 select ZONE_DMA32 if 64BIT
849 select SYNC_R4K 849 select SYNC_R4K
850 select SYS_HAS_EARLY_PRINTK 850 select SYS_HAS_EARLY_PRINTK
851 select USE_OF 851 select USE_OF