]> 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)
commit595e0903ef6f9a9737c05a6251379538709230e2
tree7baf67bf7ca3a13acccc004dcd4317613f226c49
parent0836ff51333968456232a1bd42b1c106c775205d
mach-integrator: fix VGA base regression

The changes introduced in commit
b55451d873c65b32b5a708ca8c3dee18a7764217
"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