ARM: integrator: let pciv3 use mem/premem from device tree
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Jun 2013 23:05:51 +0000 (01:05 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Jun 2013 12:19:54 +0000 (14:19 +0200)
commit1eb92b24e243085d242cf5ffd64829bba70972e1
treec59516e6a3542e370bb52ac9033e22d85ebe04d0
parent56ce3ffbd5aa7c2b56913efe5e59ee856ea6f898
ARM: integrator: let pciv3 use mem/premem from device tree

Instead of relying on the hard-coded mem/premem bases for
the PCI side, read in these from the device tree in the
DT probe path. Hard-code the old values on the non-DT probe
path. Introduce some static locals to hold these addresses
instead of the earlier static #defines.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-integrator/pci_v3.c