[U-Boot-Users] U-Boot-NG ?
Sascha Hauer
s.hauer at pengutronix.de
Wed Jul 4 14:01:29 CEST 2007
On Wed, Jul 04, 2007 at 01:53:17PM +0200, Stefan Roese wrote:
> 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. ;-)
You must be using the same model as I do ;)
Regards,
Sascha
--
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord http://www.pengutronix.de
More information about the U-Boot
mailing list