[U-Boot] initcall revisited - A new idea to discuss
Wolfgang Denk
wd at denx.de
Mon Jan 2 15:49:04 CET 2012
Dear Graeme Russ,
In message <4F019ABB.9010201 at gmail.com> you wrote:
>
> Which got me to thinking, what if we had an initcall macro which included
> the dependency information. Imagine this rough example:
...
> INITCALL(display_banner, "banner", "dram,board_early")
>
> Which says that the display_banner() function, when completed fulfils the
> 'banner' dependency, and requires both the 'dram' and 'board_early'
> dependencies to be fulfilled in order to run
Sounds great!
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
Our OS who art in CPU, UNIX be thy name.
Thy programs run, thy syscalls done,
In kernel as it is in user!
More information about the U-Boot
mailing list