From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 1.mo2.mail-out.ovh.net ([46.105.63.121]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YEZ4P-0005oW-Jo for barebox@lists.infradead.org; Fri, 23 Jan 2015 07:54:22 +0000 Received: from mail184.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id E2C56FFB515 for ; Fri, 23 Jan 2015 08:53:58 +0100 (CET) Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: Jean-Christophe PLAGNIOL-VILLARD In-Reply-To: <20150123075129.GY12209@pengutronix.de> Date: Fri, 23 Jan 2015 15:53:48 +0800 Message-Id: <81EDBB73-FDD1-48FC-A116-6AD21A073764@jcrosoft.com> References: <1421911613-9188-1-git-send-email-voice.shen@atmel.com> <20150123075129.GY12209@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] ARM: atmel: sama5d3xek: let emac auto detect phy addr To: Sascha Hauer Cc: barebox@lists.infradead.org > On Jan 23, 2015, at 3:51 PM, Sascha Hauer wrote: > > On Thu, Jan 22, 2015 at 03:26:53PM +0800, Bo Shen wrote: >> On the SAMA5D35 the EMAC phy addr is 1 while not 0. So, let >> the EMAC auto detect phy addr, or else hard code to 0, the >> ethernet can not work on SAMA5D35 board. >> >> Signed-off-by: Bo Shen > > There ere boards with different phy addresses around, so > the current state does not work on all boards anyway. So the worst > thing that can happen with this and the other patch for the gmac is > that now another set of boards does not work. Let's give it a try. > I'm open to reports when now some board stops working. > > Applied this and the gmac patch. except we can auto detect the board we are running from so it will be better to specify it at Run time as we have issue on auto detect on some of them Best Regards, J. > > Sascha > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox