summaryrefslogtreecommitdiff
path: root/include/mvebu_mmc.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-02-10 07:06:06 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2016-02-18 11:32:03 -0600
commita8c3eca43393cffef16a40e683f7a4d45b37e6ed (patch)
treec43359163b153cf86d5e4d50f5655e9fd8bd5f52 /include/mvebu_mmc.h
parent3089c47ddc0ed7f5ca8a7aed9a6cddef5223cdf0 (diff)
downloadu-boot-imx-a8c3eca43393cffef16a40e683f7a4d45b37e6ed.zip
u-boot-imx-a8c3eca43393cffef16a40e683f7a4d45b37e6ed.tar.gz
u-boot-imx-a8c3eca43393cffef16a40e683f7a4d45b37e6ed.tar.bz2
net: phy: marvell: Fix problem with phy_reset() clearing BMCR
With commit a058052c [net: phy: do not read configuration register on reset], phy_reset() will clear the BMCR register. Resulting in bit 12 being cleared (A/N enable). This leads to autonegotiation link problems, at least on the Marvell Armada ClearFog board. I suspect that other boards using this driver will be affected as well. At the of m88e1111s_config(), phy_reset() is called. This is not needed for the PHY to load the changed configuration, as phy_reset() is called a few lines before already. So lets call genphy_restart_aneg() here instead to start the AN correctly. Tested on clearfog. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefan Agner <stefan@agner.ch> Cc: Hao Zhang <hzhang@ti.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Andy Fleming <afleming@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/mvebu_mmc.h')
0 files changed, 0 insertions, 0 deletions