]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: Added helper to set PCI dma-ranges property
authorKumar Gala <galak@kernel.crashing.org>
Thu, 23 Oct 2008 04:33:56 +0000 (23:33 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 24 Oct 2008 22:34:57 +0000 (17:34 -0500)
commit8ab451c46b846f2bbd7122b29ffdd9a4a04da228
tree29bec2994f18f0614506796a42966c74a07fa2d1
parent3bed2aaf2d50fd13273c14d17d4fd40ef42e0d0f
fdt: Added helper to set PCI dma-ranges property

Added fdt_pci_dma_ranges() that parses the pci_region info from the
struct pci_controller and populates the dma-ranges based on it.

The max # of windws/dma-ranges we support is 3 since on embedded
PowerPC based systems this is the max number of windows.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Fleming-AFLEMING <afleming@freescale.com>
common/fdt_support.c
include/fdt_support.h