[U-Boot] [PATCH] AT92RM9200 EMAC driver for NET MULTI API
Wolfgang Denk
wd at denx.de
Sun Nov 22 23:36:05 CET 2009
Dear Ben,
In message <4ACDDE30.8030107 at 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 at 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.
More information about the U-Boot
mailing list