On Thu, 27 Feb 2014 14:38:32 +0100, Arnd Bergmann arnd@arndb.de wrote:
On Thursday 27 February 2014 13:06:42 Liviu Dudau wrote:
Several platforms use a rather generic version of parsing the device tree to find the host bridge ranges. Move the common code into the generic PCI code and use it to create a pci_host_bridge structure that can be used by arch code.
Based on early attempts by Andrew Murray to unify the code. Used powerpc and microblaze PCI code as starting point.
Signed-off-by: Liviu Dudau Liviu.Dudau@arm.com
Please add Benjamin Herrenschmidt to Cc here, I think it would be helpful to get his input so we can make this work on powerpc as well.
s/helpful/required/
:-)
g.