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

Wolfgang Denk wd at denx.de
Sat Mar 22 10:59:56 CET 2008


In message <200803220731.23229.sr at denx.de> you wrote:
> 
> I would prefer to move this init code not into the board code but into the 
> platform/cpu code. Speaking for PPC4xx, here all configuration I know of have 
> the same init code. And copying this into all board ports instead on one 
> place in the cpu directory seems "imperfect".

But the ethernet configuration *is* actually bord dependent. A  board
may  or  may  not  use  all  the  ethernet  interfaces  present  on a
processor, or it may have additional network controllers attached for
example to the PCI bus, etc.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If it went on at this rate, in several billion  years  he'd  be  rich
beyond his wildest dreams!            - Terry Pratchett, _Soul Music_




More information about the U-Boot mailing list