public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] NET: macb: support sama5d3x devices
Date: Thu, 07 Mar 2013 10:15:47 +0100	[thread overview]
Message-ID: <51385AC3.1000706@googlemail.com> (raw)
In-Reply-To: <1362034848-6371-3-git-send-email-voice.shen@atmel.com>

Dear Bo Shen,

On 28.02.13 08:00, Bo Shen wrote:
> Add macb support for sama5d3x devices
> 
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
>  drivers/net/macb.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/macb.c b/drivers/net/macb.c
> index 8bacbda..9e7fbc6 100644
> --- a/drivers/net/macb.c
> +++ b/drivers/net/macb.c
> @@ -469,7 +469,8 @@ static int macb_init(struct eth_device *netdev, bd_t *bd)
>  #if	defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || \
>  	defined(CONFIG_AT91SAM9263) || defined(CONFIG_AT91SAM9G20) || \
>  	defined(CONFIG_AT91SAM9G45) || defined(CONFIG_AT91SAM9M10G45) || \
> -	defined(CONFIG_AT91SAM9XE) || defined(CONFIG_AT91SAM9X5)
> +	defined(CONFIG_AT91SAM9XE) || defined(CONFIG_AT91SAM9X5) || \
> +	defined(CONFIG_SAMA5D3)
>  	macb_writel(macb, USRIO, MACB_BIT(RMII) | MACB_BIT(CLKEN));
>  #else
>  	macb_writel(macb, USRIO, 0);
> @@ -478,7 +479,8 @@ static int macb_init(struct eth_device *netdev, bd_t *bd)
>  #if	defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || \
>  	defined(CONFIG_AT91SAM9263) || defined(CONFIG_AT91SAM9G20) || \
>  	defined(CONFIG_AT91SAM9G45) || defined(CONFIG_AT91SAM9M10G45) || \
> -	defined(CONFIG_AT91SAM9XE) || defined(CONFIG_AT91SAM9X5)
> +	defined(CONFIG_AT91SAM9XE) || defined(CONFIG_AT91SAM9X5) || \
> +	defined(CONFIG_SAMA5D3)
>  	macb_writel(macb, USRIO, MACB_BIT(CLKEN));
>  #else
>  	macb_writel(macb, USRIO, MACB_BIT(MII));
> 

same about the ifdeffery as in '[PATCH 1/4] USB: ohci-at91: support
sama5d3x devices'. No concrete denial to get sama5 working, but we
should really cleanup this mess.

Best regards

Andreas Bie?mann

  reply	other threads:[~2013-03-07  9:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28  7:00 [U-Boot] [PATCH 0/4] ARM: atmel: add sama5d3xek board support Bo Shen
2013-02-28  7:00 ` [U-Boot] [PATCH 1/4] USB: ohci-at91: support sama5d3x devices Bo Shen
2013-03-07  9:12   ` Andreas Bießmann
2013-03-08  1:21     ` Bo Shen
2013-02-28  7:00 ` [U-Boot] [PATCH 2/4] NET: macb: " Bo Shen
2013-03-07  9:15   ` Andreas Bießmann [this message]
2013-02-28  7:00 ` [U-Boot] [PATCH 3/4] SPI: atmel_spi: " Bo Shen
2013-02-28  7:00 ` [U-Boot] [PATCH 4/4] ARM: atmel: add sama5d3xek support Bo Shen
2013-03-04 15:14   ` Tom Rini
2013-03-05  2:03     ` Bo Shen
2013-03-05  2:20       ` Tom Rini
2013-03-05  2:23         ` Bo Shen
2013-03-07 10:58   ` Andreas Bießmann
2013-03-08  3:31     ` Bo Shen
2013-03-08  7:32       ` Andreas Bießmann
2013-03-08  8:37         ` Bo Shen

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=51385AC3.1000706@googlemail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /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