aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/Kconfig
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-22 16:53:57 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:16:15 +0530
commitfc7943d29e9f6f5f6d4b111120b66ec86501673e (patch)
tree04a0c556489438b9c25613345bc1a25cef38819b /arch/arc/Kconfig
parentdecae9d3e87b5454b3b190d8e00b063175a3a091 (diff)
downloadkernel_goldelico_gta04-fc7943d29e9f6f5f6d4b111120b66ec86501673e.zip
kernel_goldelico_gta04-fc7943d29e9f6f5f6d4b111120b66ec86501673e.tar.gz
kernel_goldelico_gta04-fc7943d29e9f6f5f6d4b111120b66ec86501673e.tar.bz2
ARC: [Review] Multi-platform image #6: cpu-to-dma-addr optional
All the current platforms can work with 0x8000_0000 based dma_addr_t since the Bus Bridges typically ignore the top bit (the only excpetion was Angel4 PCI-AHB bridge which we no longer care for). That way we don't need plat-specific cpu-addr to bus-addr conversion. Hooks still provided - just in case a platform has an obscure device which say needs 0 based bus address. That way <asm/dma_mapping.h> no longer needs to unconditinally include <plat/dma_addr.h> Also verfied that on Angel4 board, other peripherals (IDE-disk / EMAC) work fine with 0x8000_0000 based dma addresses. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r--arch/arc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index ac17368..be85ceb 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -119,6 +119,10 @@ config CPU_BIG_ENDIAN
help
Build kernel for Big Endian Mode of ARC CPU
+# If a platform can't work with 0x8000_0000 based dma_addr_t
+config ARC_PLAT_NEEDS_CPU_TO_DMA
+ bool
+
config SMP
bool "Symmetric Multi-Processing (Incomplete)"
default n