u-boot/arch/arm/mach-mvebu
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
..
include/mach drivers/pci/pci_mvebu: Fix for boards with X4 lanes 2016-01-14 14:08:59 +01:00
serdes arm: mvebu: Make serdes setup on Armada XP less noisy 2016-01-14 14:08:59 +01:00
cpu.c arm: mvebu: Make local structs static const 2016-01-14 14:08:59 +01:00
dram.c arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig 2016-01-14 14:08:59 +01:00
gpio.c arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
Kconfig arm: mvebu: Add runtime detection of UART (xmodem) boot-mode 2016-01-14 14:08:59 +01:00
lowlevel_spl.S arm: mvebu: Add runtime detection of UART (xmodem) boot-mode 2016-01-14 14:08:59 +01:00
Makefile arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig 2016-01-14 14:08:59 +01:00
mbus.c arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig 2016-01-14 14:08:59 +01:00
spl.c arm: mvebu: Add runtime detection of UART (xmodem) boot-mode 2016-01-14 14:08:59 +01:00
timer.c arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig 2016-01-14 14:08:59 +01:00