summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2017-01-11 16:00:45 +0100
committerStefan Roese <sr@denx.de>2017-02-01 09:01:19 +0100
commit882d3fa6dd588d100ba446e944022e6b7c9480ae (patch)
tree277be5608cf2d6a5d16c06d076aff3d94dd9fa0c /arch/arm
parent143199081b375f42cc7ccdb6424999c5263b77ce (diff)
downloadu-boot-imx-882d3fa6dd588d100ba446e944022e6b7c9480ae.zip
u-boot-imx-882d3fa6dd588d100ba446e944022e6b7c9480ae.tar.gz
u-boot-imx-882d3fa6dd588d100ba446e944022e6b7c9480ae.tar.bz2
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 <dirk.eibach@gdsys.cc> Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm')
-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 0f69f33..0900e40 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))