[U-Boot] [RFC] initcall mechanism introduction
Wolfgang Denk
wd at denx.de
Sat May 23 20:19:58 CEST 2009
Dear Jean-Christophe PLAGNIOL-VILLARD,
In message <20090523150558.GB26561 at game.jcrosoft.org> you wrote:
>
> Linux Kernel has for a long time a well-optimized mechanism for for
> calling initiallisation code. Import the the same functionnality to
> U-Boot.
>
> Evenif it will increase a few U-Boot (999 bytes) as show in PATCH 3/3
> if we convert the NET_MULTI it will decrease of 2212 bytes at the end
What would be the purpose of this in a boot loader?
For Linux iot makes sense to free each and every byte which is no
longer needed because applications running can really benefir from
it. But in U-Boot? Please check the memory map of the running system.
The memory regained will not even be usable by anybody...
What sort of benefit do you expect?
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
A weak mind is like a microscope, which magnifies trifling things,
but cannot receive great ones. -- Philip Earl of Chesterfield
More information about the U-Boot
mailing list