diff options
author | Phil Sutter <phil@nwl.cc> | 2015-12-25 14:41:20 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2016-01-14 14:08:59 +0100 |
commit | 9a04527840dbb2c7b8bc5bd5145fa9bd26c597b4 (patch) | |
tree | 5ccc51a1f1823cd98d6ea6fb45256ede22d42f0c /common/cmd_host.c | |
parent | 7e1e59a7b7da45361761ab1439c2751f4cae4163 (diff) | |
download | u-boot-9a04527840dbb2c7b8bc5bd5145fa9bd26c597b4.zip u-boot-9a04527840dbb2c7b8bc5bd5145fa9bd26c597b4.tar.gz u-boot-9a04527840dbb2c7b8bc5bd5145fa9bd26c597b4.tar.bz2 |
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>
Diffstat (limited to 'common/cmd_host.c')
0 files changed, 0 insertions, 0 deletions