From: Wolfgang Denk Date: Tue, 01 Dec 2009 00:27:54 +0100 Subject: [U-Boot] [PATCH] ppc: transform init_sequence into a function. In-Reply-To: References: <1259317926-9820-1-git-send-email-Joakim.Tjernlund@transmode.se> <20091127140634.D41E13F6D6@gemini.denx.de> <20091127201828.3CF70C88C6@gemini.denx.de> <20091130210244.8862D3F6E5@gemini.denx.de> Message-ID: <20091130232754.393673F6E5@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 Joakim Tjernlund, In message you wrote: > > > Yes. And all boards that don't need it will suffer from the increased > > memory footprint. > > Sure, but I won't adding these extra call sites as an array of > fptrs also add size? Since the new function as smaller than the current > list, I would not be surprised if my function idea is smaller > in total. Perhaps I am misunderstanding something? > > I am just illustrating one way, one that will allow boards > better control too as then can define this function as they like/need. The idea is that boards that want such contrrol can redefine the whole init sequence list - adding what they really need, and omitting what they don't. Zero overhead. 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 There is an order of things in this universe. -- Apollo, "Who Mourns for Adonais?" stardate 3468.1