u-boot/arch
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
..
arc axs103: add support of generic OHCI USB 1.1 controller 2015-12-21 23:29:04 +03:00
arm drivers/pci/pci_mvebu: Fix for boards with X4 lanes 2016-01-14 14:08:59 +01:00
avr32 avr32: Use the generic bitops headers 2015-11-05 10:52:31 -05:00
blackfin Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
m68k m68k: add private libgcc 2015-12-13 20:22:00 -05:00
microblaze microblaze: Enable DM by default 2015-12-18 13:15:58 +01:00
mips Merge branch 'master' of git://git.denx.de/u-boot-mips 2015-11-06 09:17:17 -05:00
nds32 nds32: Use the generic bitops headers 2015-11-05 10:52:21 -05:00
nios2 nios2: display altera sysid at startup 2015-12-19 09:51:19 +08:00
openrisc openrisc: updating build tools naming convention 2015-11-12 18:13:20 -05:00
powerpc powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xx 2016-01-08 10:15:43 -05:00
sandbox sandbox: eth-raw-os.c: Ensure that our interface name is not too long 2016-01-12 10:19:09 -07:00
sh Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
sparc sparc: Remove non-generic board init files: board.c, time.c 2015-12-03 13:15:50 +02:00
x86 dm: Convert PCI MMC over to use DM PCI API 2016-01-12 10:19:09 -07:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig m68k: add private libgcc 2015-12-13 20:22:00 -05:00