[U-Boot-Users] U-Boot-NG ?

Stefan Roese
2007-07-04T11:53:17Z

On Wednesday 04 July 2007, Sascha Hauer wrote:
> > I agree 100%. What I would like to have in a new version is that
> > devices only get initialized before they are actually used in U-Boot,
> > and get deiniztialized (shut down completely) after being used (not
> > doing the latter is a continuing PITA in the current code).
>
> My tree already has a device structure containing the usual probe
> function. This should only make sure that the device is registered
> and can be used, but actual initialization can be defered. The thing
> currently missing is a tree structure for devices. They are all in one
> simple linked list, so you cannot make sure that the devices get
> de-initialized in the correct order.
>
> btw I know one exception to the only-initialized-when-used rule. We
> often need to initialize the MAC Address in ethernet devices, even when
> they are not used.

My crystal ball just told me, that there will be a remark from Wolfgang about
this statement. ;-)

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: office at denx.de
=====================================================================