aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-kirkwood/db88f6281-bp-setup.c')
-rw-r--r--arch/arm/mach-kirkwood/db88f6281-bp-setup.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
index db93504aafbc..16f6691e7c68 100644
--- a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
+++ b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c
@@ -82,9 +82,15 @@ static void __init db88f6281_init(void)
82 82
83static int __init db88f6281_pci_init(void) 83static int __init db88f6281_pci_init(void)
84{ 84{
85 if (machine_is_db88f6281_bp()) 85 if (machine_is_db88f6281_bp()) {
86 kirkwood_pcie_init(); 86 u32 dev, rev;
87 87
88 kirkwood_pcie_id(&dev, &rev);
89 if (dev == MV88F6282_DEV_ID)
90 kirkwood_pcie_init(KW_PCIE1 | KW_PCIE0);
91 else
92 kirkwood_pcie_init(KW_PCIE0);
93 }
88 return 0; 94 return 0;
89} 95}
90subsys_initcall(db88f6281_pci_init); 96subsys_initcall(db88f6281_pci_init);