From: Linus Walleij Date: Sun, 4 Sep 2011 21:40:08 +0000 (+0200) Subject: mach-integrator: fix VGA base regression X-Git-Tag: v3.1-rc7~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b71d8429ec364ef8eada011dded2e23aaecde53e;p=platform%2Fupstream%2Fkernel-adaptation-pc.git mach-integrator: fix VGA base regression The changes introduced in commit cc22b4c18540e5e8bf55c7d124044f9317527d3c "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 Cc: Nicolas Pitre Cc: Arnd Bergmann Signed-off-by: Linus Walleij Acked-by: Rob Herring Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index fcf0ae9..8cdc730 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c @@ -32,6 +32,7 @@ #include #include #include +#include