mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
Date: Wed, 21 Jan 2015 16:07:29 +0100	[thread overview]
Message-ID: <20150121150729.GK12209@pengutronix.de> (raw)
In-Reply-To: <20150119113939.GD30554@ns203013.ovh.net>

On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 17:54 Mon 19 Jan     , Bo Shen wrote:
> > On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
> > So, let the GMAC auto detect phy id, or else hard code to 7,
> > it can not work on these two boards.
> > 
> > Signed-off-by: Bo Shen <voice.shen@atmel.com>
> > ---
> > 
> >  arch/arm/boards/sama5d3xek/init.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
> > index 49d2b37..0b83147 100644
> > --- a/arch/arm/boards/sama5d3xek/init.c
> > +++ b/arch/arm/boards/sama5d3xek/init.c
> > @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
> >  #if defined(CONFIG_DRIVER_NET_MACB)
> >  static struct macb_platform_data gmac_pdata = {
> >  	.phy_interface = PHY_INTERFACE_MODE_RGMII,
> > -	.phy_addr = 7,
> > +	.phy_addr = -1,
> IIRC the auto detect do not work on all board
> NACK

Please give us some more information why this doesn't work or on which
boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
patch without giving a clue what else should be done.

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

  parent reply	other threads:[~2015-01-21 15:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19  9:54 Bo Shen
2015-01-19 11:39 ` Jean-Christophe PLAGNIOL-VILLARD
2015-01-20  0:56   ` Bo Shen
2015-01-21 15:07   ` Sascha Hauer [this message]
2015-01-22  4:35     ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]       ` <54C086AA.9030605@atmel.com>
2015-01-22  6:20         ` Bo Shen
2015-01-22  6:20       ` Bo Shen
2015-01-23  7:36       ` Sascha Hauer
2015-01-23  8:00         ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150121150729.GK12209@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox