]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: mvebu: Fix Armada 38x support
authorDirk Eibach <dirk.eibach@gdsys.cc>
Wed, 11 Jan 2017 15:00:45 +0000 (16:00 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Feb 2017 08:01:19 +0000 (09:01 +0100)
commit882d3fa6dd588d100ba446e944022e6b7c9480ae
tree277be5608cf2d6a5d16c06d076aff3d94dd9fa0c
parent143199081b375f42cc7ccdb6424999c5263b77ce
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>
arch/arm/mach-mvebu/include/mach/soc.h
drivers/pci/pci_mvebu.c