Hi! > +/****************************************************************************** > + > ****************************************************************************** > + ** NOTE: Special Rules for Globale Variables > **
They are global, not globale. > + ** All global variables that are explicitly initialized (including > ** > + ** explicitly initialized to zero), are only initialized once, during > ** > + ** configuration time, and not again on reset. This means that they > ** > + ** preserve their current contents across resets, which is needed for some > ** > + ** special cases involving communication with external modules. In > ** > + ** addition, this avoids paying the price to have the memory initialized, > ** > + ** even for zeroed data, provided it is explicitly set to zero in the code, > ** > + ** and doesn't rely on implicit initialization. > ** > + > ****************************************************************************** > + Is this sane thing to do? How does it work for variables in other sources? What penalty is there for just redoing initialization from scratch each time? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot