1
0
Fork 0
alistair23-linux/arch/arc
Vineet Gupta fc7943d29e 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>
2013-02-15 23:16:15 +05:30
..
boot ARC: [plat-arcfpga]: Enabling DeviceTree for Angel4 board 2013-02-15 23:15:57 +05:30
configs ARC: [plat-arcfpga] defconfig 2013-02-15 23:15:58 +05:30
include ARC: [Review] Multi-platform image #6: cpu-to-dma-addr optional 2013-02-15 23:16:15 +05:30
kernel ARC: [Review] Multi-platform image #4: Isolate platform headers 2013-02-15 23:16:14 +05:30
lib ARC: String library 2013-02-11 20:00:35 +05:30
mm ARC: Add support for ioremap_prot API 2013-02-15 23:16:11 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC: [Review] Multi-platform image #6: cpu-to-dma-addr optional 2013-02-15 23:16:15 +05:30
Kbuild ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Kconfig ARC: [Review] Multi-platform image #6: cpu-to-dma-addr optional 2013-02-15 23:16:15 +05:30
Kconfig.debug ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Makefile ARC: [Review] Multi-platform image #4: Isolate platform headers 2013-02-15 23:16:14 +05:30