summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDirk Eibach <[email protected]>2017-01-11 16:00:45 +0100
committerStefan Roese <[email protected]>2017-02-01 09:01:19 +0100
commit882d3fa6dd588d100ba446e944022e6b7c9480ae (patch)
tree277be5608cf2d6a5d16c06d076aff3d94dd9fa0c /arch
parent143199081b375f42cc7ccdb6424999c5263b77ce (diff)
pci: mvebu: Fix Armada 38x support
Armada 38x has four PCI ports, not three. The optimization in pci_init_board() seems to assume that every port has three lanes. This is obviously wrong, and breaks support for Armada 38x. Signed-off-by: Dirk Eibach <[email protected]> Signed-off-by: Mario Six <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mvebu/include/mach/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h
index 0f69f3341be..0900e4008c1 100644
--- a/arch/arm/mach-mvebu/include/mach/soc.h
+++ b/arch/arm/mach-mvebu/include/mach/soc.h
@@ -67,6 +67,7 @@
#define MVEBU_REG_PCIE_BASE (MVEBU_REGISTER(0x40000))
#define MVEBU_AXP_USB_BASE (MVEBU_REGISTER(0x50000))
#define MVEBU_USB20_BASE (MVEBU_REGISTER(0x58000))
+#define MVEBU_REG_PCIE0_BASE (MVEBU_REGISTER(0x80000))
#define MVEBU_AXP_SATA_BASE (MVEBU_REGISTER(0xa0000))
#define MVEBU_SATA0_BASE (MVEBU_REGISTER(0xa8000))
#define MVEBU_NAND_BASE (MVEBU_REGISTER(0xd0000))