]> git.baikalelectronics.ru Git - kernel.git/commit
mach-integrator: fix VGA base regression
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 4 Sep 2011 21:40:08 +0000 (23:40 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 20 Sep 2011 20:58:41 +0000 (22:58 +0200)
commit3bfbd727bb1a262c2bcc89aa8c61d5b57bfc071d
tree7baf67bf7ca3a13acccc004dcd4317613f226c49
parent7d0597e0d90118c8750110d9a3d129bef39043ae
mach-integrator: fix VGA base regression

The changes introduced in commit
e4ddaed92d7ad79d2d8f5bffd2b4e0709a66ca29
"ARM: set vga memory base at run-time"

Makes the Integrator/AP freeze completely. I appears that
this is due to the VGA base address being assigned at PCI
init time, while this base is needed earlier than that.
Moving the initialization of the base address to the
.map_io function solves this problem.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/pci_v3.c