[U-Boot-Users] [PATCH] Add mechanisms for CPU and board-specific Ethernet initialization

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Wed Jun 25 11:30:08 CEST 2008


Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
> > The idea is that cpu_eth_init is a default for a CPU family, and 
> > board_eth_init is a board override, which can of course call cpu_eth_init.  
> What about a section to declare the netdev?

Please, let's not overdo this. The patch as it stands is a huge
improvement over the current situation.

> In this case we can have more than 2 eth and it more generic.

You can have that now. board_eth_init() can initialize as many
interfaces as it likes.

Haavard




More information about the U-Boot mailing list