[U-Boot-Users] [RFC][PATCH 1/1] Add board_eth_init() function

Haavard Skinnemoen
2008-03-26T10:06:18Z

On Tue, 25 Mar 2008 08:04:13 +0100
Stefan Roese <sr@denx.de> wrote:

> Using Markus's idea, why not use a cpu (platform) specific *and* a board
> specific init function, both with an empty weak alias in the common eth.c
> code:
>
> cpu_eth_init(bis);
> board_eth_init(bis);

Why?

The whole point about this exercise is to get rid of board-specific
knowledge in the common code. What is the purpose of cpu_eth_init()?

Haavard