[U-Boot] [RFC] initcall mechanism introduction

Wolfgang Denk wd at denx.de
Wed May 27 00:25:57 CEST 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090526220736.GB30039 at game.jcrosoft.org> you wrote:
>
> > Boards are different... see for example "lib_ppc/board.c" - on some
> > boards (BAB7xx and CPC45) we must initialize PCI early, while on some
> > others we cannot initialize it that early.
> so it's not really a problem as you can create for thoze two specific boards an
> early init easly

This was just one example - one which I had ready in memory. There are
probably more of these.

> and just for the understanding why does they need it?

Please see the comments in the code.

> > But saving memory was one of j24's arguments?
> It's true but the binary size (u-boot.bin) not the memory management

So where exactly do you think you can save memory?

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
"Why should we subsidize intellectual curiosity?" - Ronald Reagan


More information about the U-Boot mailing list