
26 Mar
2008
26 Mar
'08
11:06 a.m.
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