From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Tue, 03 Jan 2012 20:15:16 +1100 Subject: [U-Boot] [RFC PATCH 0/19] Create generic board init and move ARM and x86 to it In-Reply-To: <20120103081207.4901D17E88AE@gemini.denx.de> References: <1325054160-24894-1-git-send-email-sjg@chromium.org> <4EFDDD7D.50105@gmail.com> <4EFEF797.5050203@gmail.com> <4F019473.8000204@gmail.com> <20120102144604.7A19782272@gemini.denx.de> <20120103081207.4901D17E88AE@gemini.denx.de> Message-ID: <4F02C724.9040309@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 03/01/12 19:12, Wolfgang Denk wrote: > Dear Simon Glass, > > In message you wrote: >> >> Well let's see how we go with the incremental approach - hopefully we >> can get the same result with less pain and risk, and not too much >> work. > > Did you miss my proposal not to change the existing coe for all > boards, but to provide anew implementation and convert boards one by > one? What do you think about such an approach? My idea was to migrate each arch to the 'pure processing loops' implementation I have just posted for x86. We can then factor out the processing loop code into common code leaving just the init function arrays in arch/foo/lib/board.c We can then look at how to deal with the disparate init sequences - I'm going to have a look at my new 'initcall' proposal to see if that is viable - If so, we auto generate init_sequence.c Regards, Graeme