From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 7 Jan 2016 17:50:10 +0100 Subject: [U-Boot] [PATCH v2 1/3] phy: atheros: Use ar8035_config for AR8031 In-Reply-To: <1452020574-29179-1-git-send-email-festevam@gmail.com> References: <1452020574-29179-1-git-send-email-festevam@gmail.com> Message-ID: <568E9742.8070205@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/01/2016 20:02, Fabio Estevam wrote: > From: Fabio Estevam > > 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 > --- > This is 2016.04 material. > > Zhao Qiang, could you please test this on your platform? > > Changes since v1: > - None > > drivers/net/phy/atheros.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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, > }; > Applied (fix) to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================