From: Hiroshi Doyu Date: Mon, 25 Jun 2012 11:23:54 +0000 (+0300) Subject: iommu: Add DMA window parser, of_get_dma_window() X-Git-Tag: v3.6-rc1~111^2^5~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0ee78f2af96676c9dca898c13250f62c513058;p=pandora-kernel.git iommu: Add DMA window parser, of_get_dma_window() This code was based on: "arch/microblaze/kernel/prom_parse.c" "arch/powerpc/kernel/prom_parse.c" Can replace "of_parse_dma_window()" in the above. This supports different formats flexibly. "prefix" can be configured if any. "busno" and "index" are optionally specified. Set NULL and 0 if not used. Signed-off-by: Hiroshi DOYU Acked-by: Stephen Warren Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed