commit | 8ab451c46b846f2bbd7122b29ffdd9a4a04da228 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Wed Oct 22 23:33:56 2008 -0500 |
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | Fri Oct 24 17:34:57 2008 -0500 |
tree | 29bec2994f18f0614506796a42966c74a07fa2d1 | |
parent | 3bed2aaf2d50fd13273c14d17d4fd40ef42e0d0f [diff] |
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>