]> git.baikalelectronics.ru Git - uboot.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)
commit9a885209be32a781340a034b2e1886601f29f35b
tree277be5608cf2d6a5d16c06d076aff3d94dd9fa0c
parent55efa197babc2b6c0eeabc20cd20a8f646965db6
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