diff options
Diffstat (limited to 'arch/arm/mach-mv78xx0/pcie.c')
-rw-r--r-- | arch/arm/mach-mv78xx0/pcie.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mv78xx0/pcie.c b/arch/arm/mach-mv78xx0/pcie.c index a560439dcc3c..445a332325d5 100644 --- a/arch/arm/mach-mv78xx0/pcie.c +++ b/arch/arm/mach-mv78xx0/pcie.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
12 | #include <linux/pci.h> | 12 | #include <linux/pci.h> |
13 | #include <linux/mbus.h> | 13 | #include <linux/mbus.h> |
14 | #include <video/vga.h> | ||
14 | #include <asm/irq.h> | 15 | #include <asm/irq.h> |
15 | #include <asm/mach/pci.h> | 16 | #include <asm/mach/pci.h> |
16 | #include <plat/pcie.h> | 17 | #include <plat/pcie.h> |
@@ -297,6 +298,8 @@ static void __init add_pcie_port(int maj, int min, unsigned long base) | |||
297 | 298 | ||
298 | void __init mv78xx0_pcie_init(int init_port0, int init_port1) | 299 | void __init mv78xx0_pcie_init(int init_port0, int init_port1) |
299 | { | 300 | { |
301 | vga_base = MV78XX0_PCIE_MEM_PHYS_BASE; | ||
302 | |||
300 | if (init_port0) { | 303 | if (init_port0) { |
301 | add_pcie_port(0, 0, PCIE00_VIRT_BASE); | 304 | add_pcie_port(0, 0, PCIE00_VIRT_BASE); |
302 | if (!orion_pcie_x4_mode((void __iomem *)PCIE00_VIRT_BASE)) { | 305 | if (!orion_pcie_x4_mode((void __iomem *)PCIE00_VIRT_BASE)) { |