[U-Boot-Users] [RFC][PATCH 1/1] Add board_eth_init() function
Haavard Skinnemoen
haavard.skinnemoen at atmel.com
Wed Mar 26 11:06:18 CET 2008
On Tue, 25 Mar 2008 08:04:13 +0100
Stefan Roese <sr at 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
More information about the U-Boot
mailing list