[U-Boot] [PATCH 3/3] net: switch device init to initcall

Wolfgang Denk wd at denx.de
Sat May 23 20:26:36 CEST 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090523163600.GD26561 at game.jcrosoft.org> you wrote:
>
> >    Good idea, but your implementation is flawed.  It's critically important
> >    that the prioritization of board ethernet initialization over CPU ethernet
> >    initialization be preserved.  Your idea doesn't handle that (at least that
> >    I can see).
> with this only patch yes, but I'm preparing a full implementation that will
> If I understand correctly the board_eth_init is unsed to overwrite the default
> cpu_eth_init by passing different parameter

I would appreciate if you would - before spending time and effort  on
actual  implementation  -  try  and  discuss  your  ideas  for such a
far-reaching change. So far, I cannot even see which sort of  benefit
you expect - keep in mind that U-Boot does not use virtual memory, so
initcall memory freed will remain dead and unusable. Would you please
explain where you expect advantages from such an implementation?

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
Of course there's no reason for it, it's just our policy.


More information about the U-Boot mailing list