commit | e0475cdf04c64c66adecf91252d7f9460f9e8538 | [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 | 1ba004024faff96ad006d66fb83d13971d8a59da [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>