From: Wolfgang Denk Date: Wed, 27 May 2009 00:28:47 +0200 Subject: [U-Boot] [RFC] initcall mechanism introduction In-Reply-To: <4A1C6B48.9050106@freescale.com> 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> <4A1C6B48.9050106@freescale.com> Message-ID: <20090526222847.96405832E416@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 Scott Wood, In message <4A1C6B48.9050106@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.