diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-06-28 22:22:40 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2011-07-12 12:19:29 -0400 |
commit | cc22b4c18540e5e8bf55c7d124044f9317527d3c (patch) | |
tree | 77b9980c1824fd389105efe7e7f9693c9c258ad9 /arch/arm/mach-footbridge | |
parent | c9d95fbe59e426eed7f16e7cac812e46ac4772d0 (diff) |
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-footbridge')
-rw-r--r-- | arch/arm/mach-footbridge/dc21285.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c index a8dfa00e4596..1331fff51ae2 100644 --- a/arch/arm/mach-footbridge/dc21285.c +++ b/arch/arm/mach-footbridge/dc21285.c | |||
@@ -296,6 +296,7 @@ void __init dc21285_preinit(void) | |||
296 | int cfn_mode; | 296 | int cfn_mode; |
297 | 297 | ||
298 | pcibios_min_mem = 0x81000000; | 298 | pcibios_min_mem = 0x81000000; |
299 | vga_base = PCIMEM_BASE; | ||
299 | 300 | ||
300 | mem_size = (unsigned int)high_memory - PAGE_OFFSET; | 301 | mem_size = (unsigned int)high_memory - PAGE_OFFSET; |
301 | for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) | 302 | for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) |