From: Vineet Gupta Date: Tue, 22 Jan 2013 11:23:57 +0000 (+0530) Subject: ARC: [Review] Multi-platform image #6: cpu-to-dma-addr optional X-Git-Tag: v3.9-rc1~25^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7943d29e9f6f5f6d4b111120b66ec86501673e;p=pandora-kernel.git 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 no longer needs to unconditinally include Also verfied that on Angel4 board, other peripherals (IDE-disk / EMAC) work fine with 0x8000_0000 based dma addresses. Signed-off-by: Vineet Gupta Cc: Arnd Bergmann Acked-by: Arnd Bergmann --- Reading git-diff-tree failed