]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1edd3b8d09b8d59de6990569c09665d9c722e72f
treec59516e6a3542e370bb52ac9033e22d85ebe04d0
parent506c47025f114ab5d0f5353b9b890ead4496e4e6
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