diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-01-05 17:02:52 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-01-07 17:46:47 +0100 |
commit | d584c68ce0f5bf2f430ccfb2ba00bd506206fb91 (patch) | |
tree | 4c94da30aeacda8c21d00407811d5a4877bb4173 | |
parent | 3861d784b1a470570a0098ac5c25d79e3073c0d9 (diff) | |
download | u-boot-imx-d584c68ce0f5bf2f430ccfb2ba00bd506206fb91.zip u-boot-imx-d584c68ce0f5bf2f430ccfb2ba00bd506206fb91.tar.gz u-boot-imx-d584c68ce0f5bf2f430ccfb2ba00bd506206fb91.tar.bz2 |
phy: atheros: Use ar8035_config for AR8031
Commit 08ad9b068afb88 (" ar8031: modify the config func of ar8031 to
ar8021_config") selected 'ar8021_config' as the configuration function
for AR8031.
The correct would be to use 'ar8035_config' instead as AR8031/AR8035
have the same programming model and even share the same phy driver
in the linux kernel: drivers/net/phy/at803x.c.
Tested on a mx6qsabresd and wandboard, which now can work without
any PHY setup code in the board files.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r-- | drivers/net/phy/atheros.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c index d509e30..ba57b1a 100644 --- a/drivers/net/phy/atheros.c +++ b/drivers/net/phy/atheros.c @@ -51,7 +51,7 @@ static struct phy_driver AR8031_driver = { .uid = 0x4dd074, .mask = 0xffffffef, .features = PHY_GBIT_FEATURES, - .config = ar8021_config, + .config = ar8035_config, .startup = genphy_startup, .shutdown = genphy_shutdown, }; |