From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Sun, 04 Sep 2011 23:00:46 -0500 Subject: [PATCH] mach-integrator: fix VGA base regression In-Reply-To: <1315172408-18957-1-git-send-email-linus.walleij@linaro.org> References: <1315172408-18957-1-git-send-email-linus.walleij@linaro.org> Message-ID: <4E64496E.1090000@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Linus, On 09/04/2011 04:40 PM, Linus Walleij wrote: > 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 > --- > arch/arm/mach-integrator/integrator_ap.c | 2 ++ > arch/arm/mach-integrator/pci_v3.c | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c > index 2fbbdd5..4d88fc4 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