diff options
Diffstat (limited to 'arch/arm/mach-footbridge/dc21285.c')
-rw-r--r-- | arch/arm/mach-footbridge/dc21285.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c index 3ffa54841ec..18c32a5541d 100644 --- a/arch/arm/mach-footbridge/dc21285.c +++ b/arch/arm/mach-footbridge/dc21285.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/irq.h> | 18 | #include <linux/irq.h> |
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/spinlock.h> | 20 | #include <linux/spinlock.h> |
21 | #include <video/vga.h> | ||
21 | 22 | ||
22 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
23 | #include <asm/system.h> | 24 | #include <asm/system.h> |
@@ -295,6 +296,9 @@ void __init dc21285_preinit(void) | |||
295 | unsigned int mem_size, mem_mask; | 296 | unsigned int mem_size, mem_mask; |
296 | int cfn_mode; | 297 | int cfn_mode; |
297 | 298 | ||
299 | pcibios_min_mem = 0x81000000; | ||
300 | vga_base = PCIMEM_BASE; | ||
301 | |||
298 | mem_size = (unsigned int)high_memory - PAGE_OFFSET; | 302 | mem_size = (unsigned int)high_memory - PAGE_OFFSET; |
299 | for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) | 303 | for (mem_mask = 0x00100000; mem_mask < 0x10000000; mem_mask <<= 1) |
300 | if (mem_mask >= mem_size) | 304 | if (mem_mask >= mem_size) |