[U-Boot] [RFC] initcall mechanism introduction
Wolfgang Denk
wd at denx.de
Wed May 27 00:28:47 CEST 2009
Dear Scott Wood,
In message <4A1C6B48.9050106 at freescale.com> you wrote:
>
> I assume he meant that the image size was smaller, due to replacing
> explicit function calls with a table-driven approach.
We already have such a functionpoointer table - problem is that we
don't use it everywhere, usually because the init function calls are
intermixed with other code.
init_fnc_t *init_sequence[] was the idea that was supposed to solve
this very problem, but look at the code...
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
Bus error -- please leave by the rear door.
More information about the U-Boot
mailing list