From: Wolfgang Denk Date: Wed, 27 May 2009 00:25:57 +0200 Subject: [U-Boot] [RFC] initcall mechanism introduction In-Reply-To: <20090526220736.GB30039@game.jcrosoft.org> References: <20090523150558.GB26561@game.jcrosoft.org> <20090523181958.8E778832E416@gemini.denx.de> <20090524120041.GG26561@game.jcrosoft.org> <20090524145725.84A65832E416@gemini.denx.de> <20090526210046.GA4669@b07421-ec1.am.freescale.net> <20090526215455.5BB0C832E416@gemini.denx.de> <20090526220736.GB30039@game.jcrosoft.org> Message-ID: <20090526222557.69491832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090526220736.GB30039@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