]> git.sur5r.net Git - u-boot/commit
arm: mvebu: AXP: Add possiblity to configure PEX detection pulse width
authorStefan Roese <sr@denx.de>
Fri, 10 Mar 2017 14:40:30 +0000 (15:40 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:38:10 +0000 (07:38 +0200)
commit6bbe0924a799d33c1a8c9de38b60a5e0251f2aea
tree1c30bd573349174fe63a384c26b475fbc2ff3a57
parentedd40229d975df48c89bb88b606a0aae16f947fc
arm: mvebu: AXP: Add possiblity to configure PEX detection pulse width

Tests have shown that on some boards the default width of the
configuration pulse for the PEX link detection might lead to
non-established PCIe links (link down). Especially under certain
conditions (higher temperature) and with specific PCIe devices
(in the case on the theadorable board its a Atheros PCIe WLAN
device). To enable a board-specific detection pulse width this weak
array "serdes_pex_pulse_width[4]" is introduced which can be
overwritten if needed by a board-specific version. If the board
code does not provide a non-weak version of this variable, the
default value will be used. So nothing is changed from the
current setup on the supported board.

Many thanks to Adam from Marvell for all his insights here and
his suggestion about testing with a changed detection pulse width.

Signed-off-by: Stefan Roese <sr@denx.de>
Suggested-by: Adam Shobash <adams@marvell.com>
Cc: Adam Shobash <adams@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Konstantin Porotchkin <kostap@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c