From: Tom Rini Date: Wed, 13 Jan 2016 10:13:02 -0500 Subject: [U-Boot] [PATCH v3 04/10] drivers/pci/pci_mvebu: Fix for boards with X4 lanes In-Reply-To: <20151225134015.B0E9E6121B@mail.nwl.cc> References: <1451050886-20124-1-git-send-email-phil@nwl.cc> <20151225134015.B0E9E6121B@mail.nwl.cc> Message-ID: <20160113151302.GR3359@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Dec 25, 2015 at 02:41:20PM +0100, Phil Sutter wrote: > 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: