On Tue, 25 Mar 2008 08:04:13 +0100 Stefan Roese <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users