
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
- change CONFIG_DRIVER_ETHER to CONFIG_DRIVER_AT91EMAC
- define CONFIG_NET_MULTI
- set CONFIG_SYS_RX_ETH_BUFFER, if you want more than standard rx buffers
- 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