u-boot-brain/drivers/pci
Phil Sutter 9a04527840 drivers/pci/pci_mvebu: Fix for boards with X4 lanes
Armada XP has support for X4 lanes, boards specify this in their
serdes_cfg. During PEX init in high_speed_env_lib.c, the configuration
is stored in GEN_PURP_RES_2_REG.

When enumerating PEX, subsequent interfaces of an X4 lane must be
skipped. Otherwise the enumeration hangs up the board.

The way this is implemented here is not exactly beautiful, but it mimics
how Marvell's BSP does it. Alternatively we could get the information
using board_serdes_cfg_get(), but that won't lead to clean code, either.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-01-14 14:08:59 +01:00
..
fsl_pci_init.c fsl/pci: Set CFG_READY for PCIe v3.0 and later 2015-05-04 09:24:23 -07:00
Kconfig dm: pci: Disable PCI compatibility functions by default 2015-12-01 06:26:38 -07:00
Makefile dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
pci_auto_common.c dm: pci: Move common auto-config functions to a common file 2015-12-01 06:26:37 -07:00
pci_auto_old.c drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY 2016-01-14 14:08:59 +01:00
pci_auto.c dm: pci: Use driver model PCI API in auto-config 2016-01-12 10:19:09 -07:00
pci_common.c dm: pci: Switch to DM API for PCI address mapping 2016-01-12 10:19:09 -07:00
pci_compat.c dm: pci: Add a dm_ prefix to pci_get_bdf() 2016-01-12 10:19:09 -07:00
pci_ftpci100.c Merge branch 'master' of git://git.denx.de/u-boot-nds32 2013-07-25 08:51:51 -04:00
pci_gt64120.c qemu-malta: Update for SPDX license identifiers 2013-07-25 08:51:48 -04:00
pci_indirect.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_internal.h dm: pci: Use driver model PCI API in auto-config 2016-01-12 10:19:09 -07:00
pci_msc01.c malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pci_mvebu.c drivers/pci/pci_mvebu: Fix for boards with X4 lanes 2016-01-14 14:08:59 +01:00
pci_rom.c dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API 2016-01-12 10:19:09 -07:00
pci_sandbox.c dm: sandbox: Add a simple PCI driver 2015-04-16 19:27:43 -06:00
pci_sh4.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_sh7751.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_sh7780.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_tegra.c dm: tegra: pci: Convert tegra boards to driver model for PCI 2015-12-01 06:26:36 -07:00
pci_x86.c x86: pci: Tidy up the generic x86 PCI driver 2015-07-14 18:03:19 -06:00
pci-emul-uclass.c dm: sandbox: pci: Add a PCI emulation uclass 2015-04-16 19:27:43 -06:00
pci-uclass.c pci: Tidy up comments in pci_bind_bus_devices() 2016-01-12 10:19:09 -07:00
pci.c dm: pci: Mark legacy files as such 2016-01-12 10:19:09 -07:00
pcie_imx.c pci: imx: Adjust the return value when imx_pcie_addr_valid() fails 2016-01-08 10:15:49 -05:00
pcie_layerscape.c pci: layerscape: Adjust the return value when ls_pcie_addr_valid() fails 2016-01-08 10:15:49 -05:00
tsi108_pci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
w83c553f.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00