[for master PATCH 2/2] calao: at91 qil/tny/usb auto detect the phy addr

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Oct 2 10:25:54 EDT 2012


HI,

	this patch is mandatory on the next as we now fail on phy not found

Best Regards,
J.
On 16:23 Sat 15 Sep     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi Sacha,
> 
> 	after applying the phylib we need this path on calao hw
> 
> Best Regards,
> J.
> On 17:48 Tue 14 Aug     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > ---
> >  arch/arm/boards/qil-a9260/init.c |    2 +-
> >  arch/arm/boards/tny-a926x/init.c |    2 +-
> >  arch/arm/boards/usb-a926x/init.c |    2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/arch/arm/boards/qil-a9260/init.c b/arch/arm/boards/qil-a9260/init.c
> > index ee204fb..92aea97 100644
> > --- a/arch/arm/boards/qil-a9260/init.c
> > +++ b/arch/arm/boards/qil-a9260/init.c
> > @@ -80,7 +80,7 @@ static void qil_a9260_add_device_mci(void) {}
> >  #ifdef CONFIG_CALAO_MB_QIL_A9260
> >  static struct at91_ether_platform_data macb_pdata = {
> >  	.flags		= AT91SAM_ETHER_RMII,
> > -	.phy_addr	= 0,
> > +	.phy_addr	= -1,
> >  };
> >  
> >  static void qil_a9260_phy_reset(void)
> > diff --git a/arch/arm/boards/tny-a926x/init.c b/arch/arm/boards/tny-a926x/init.c
> > index d58132a..556e633 100644
> > --- a/arch/arm/boards/tny-a926x/init.c
> > +++ b/arch/arm/boards/tny-a926x/init.c
> > @@ -118,7 +118,7 @@ static void tny_a9260_add_device_nand(void)
> >  #ifdef CONFIG_DRIVER_NET_MACB
> >  static struct at91_ether_platform_data macb_pdata = {
> >  	.flags		= AT91SAM_ETHER_RMII,
> > -	.phy_addr	= 0,
> > +	.phy_addr	= -1,
> >  };
> >  
> >  static void __init ek_add_device_macb(void)
> > diff --git a/arch/arm/boards/usb-a926x/init.c b/arch/arm/boards/usb-a926x/init.c
> > index 52444e1..7b19fa4 100644
> > --- a/arch/arm/boards/usb-a926x/init.c
> > +++ b/arch/arm/boards/usb-a926x/init.c
> > @@ -122,7 +122,7 @@ static void usb_a9260_add_device_nand(void) {}
> >  #if defined(CONFIG_DRIVER_NET_MACB)
> >  static struct at91_ether_platform_data macb_pdata = {
> >  	.flags		= AT91SAM_ETHER_RMII,
> > -	.phy_addr	= 0,
> > +	.phy_addr	= -1,
> >  };
> >  
> >  static void usb_a9260_phy_reset(void)
> > -- 
> > 1.7.10.4
> > 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list