diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-06-29 02:22:40 (GMT) |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2011-07-12 16:19:29 (GMT) |
commit | cc22b4c18540e5e8bf55c7d124044f9317527d3c (patch) | |
tree | 77b9980c1824fd389105efe7e7f9693c9c258ad9 /arch/arm/mach-shark/pci.c | |
parent | c9d95fbe59e426eed7f16e7cac812e46ac4772d0 (diff) | |
download | linux-fsl-qoriq-cc22b4c18540e5e8bf55c7d124044f9317527d3c.tar.xz |
ARM: set vga memory base at run-time
Convert the incorrectly named PCIMEM_BASE to a variable called vga_base.
This removes the dependency on mach/hardware.h.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-shark/pci.c')
-rw-r--r-- | arch/arm/mach-shark/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shark/pci.c b/arch/arm/mach-shark/pci.c index 4aea637..92d7227 100644 --- a/arch/arm/mach-shark/pci.c +++ b/arch/arm/mach-shark/pci.c @@ -8,6 +8,7 @@ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/init.h> +#include <video/vga.h> #include <asm/irq.h> #include <asm/mach/pci.h> @@ -42,6 +43,7 @@ static int __init shark_pci_init(void) pcibios_min_io = 0x6000; pcibios_min_mem = 0x50000000; + vga_base = 0xe8000000; pci_common_init(&shark_pci); |