On Wednesday 26 March 2008, Haavard Skinnemoen wrote:
> > Because on PPC4xx for example, all boards are using exactly the same
> > eth_init code (for the SoC interfaces). And I don't like adding this code
> > to more than 80 boards.
>
> All 80 boards have exactly the same ethernet interface (i.e. same kind
> of PHY, same MII address, etc.)?

Yes, same SoC ethernet interfaces. Currently PHY address etc is configured via 
config options.

> Can't you just add a weak definition of board_eth_init() in the CPU
> code then?

No. The weak definition is already in net/eth.c.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [EMAIL PROTECTED]
=====================================================================

-------------------------------------------------------------------------
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

Reply via email to