public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] AT92RM9200 EMAC driver for NET MULTI API
Date: Sun, 22 Nov 2009 23:36:05 +0100	[thread overview]
Message-ID: <20091122223605.2CB61E34A27@gemini.denx.de> (raw)
In-Reply-To: <4ACDDE30.8030107@bus-elektronik.de>

Dear Ben,

In message <4ACDDE30.8030107@bus-elektronik.de> Jens Scharsig wrote:
> This patch adds a new net api driver for AT91RM9200 EMAC
> 
> * adds NET_MULTI api EMAC (CONFIG_DRIVER_AT91EMAC)
> * generic PHY initialization 
> 
> Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
> ---
> 
> This patch was tested with full MII interface and LXT971 Phy on our 
> upcomming new board.
> I have also tested the RMII interface with DM9161 Phy on a CARMEVA-board.
> 
> I have no u-boot supported AT91RM9200 boards. 
> 
> My appeal to all  AT91RM9200 boards maintainers: Please test
> 
> Changes to make your board use NET_MULTI api: 
> 
>   * include/configs/<board>.h
>     1. change CONFIG_DRIVER_ETHER to CONFIG_DRIVER_AT91EMAC
>     2. define CONFIG_NET_MULTI
>     3. set CONFIG_SYS_RX_ETH_BUFFER, if you want more than standard rx buffers
>     4. define CONFIG_AT91C_USE_RMII, if you board use RMII interface
> 
>   * add following code to board file
>     #ifdef CONFIG_DRIVER_AT91EMAC
>     int board_eth_init(bd_t *bis)
>     {
> 	    int rc = 0;
> 	    rc = at91emac_register(bis, AT91C_BASE_EMAC);
> 	    return rc;
>     }
>     #endif

Could you please check the status of this patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/69484

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Nobody trips over mountains. It is the small pebble that  causes  you
to  stumble.  Pass all the pebbles in your path and you will find you
have crossed the mountain.

  reply	other threads:[~2009-11-22 22:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 12:42 [U-Boot] [PATCH] AT92RM9200 EMAC driver for NET MULTI API Jens Scharsig
2009-11-22 22:36 ` Wolfgang Denk [this message]
2009-12-06 19:36   ` Jens Scharsig
2009-12-07  3:33     ` Ben Warren

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=20091122223605.2CB61E34A27@gemini.denx.de \
    --to=wd@denx.de \
    --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