From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 3 Apr 2012 00:08:33 +0200 Subject: [U-Boot] [PATCH 1/2] ARM: introduce arch_early_init_r() In-Reply-To: <20120402220157.GB32655@bill-the-cat> References: <1333401586-24032-1-git-send-email-fabio.estevam@freescale.com> <201204030000.31836.marex@denx.de> <20120402220157.GB32655@bill-the-cat> Message-ID: <201204030008.33769.marex@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 Tom Rini, > On Tue, Apr 03, 2012 at 12:00:31AM +0200, Marek Vasut wrote: > > Dear Tom Rini, > > > > > On Mon, Apr 02, 2012 at 06:19:45PM -0300, Fabio Estevam wrote: > > > > Introduce arch_early_init_r() function, which can be useful for doing > > > > early initialization after relocation has happened. > > > > > > > > Signed-off-by: Fabio Estevam > > > > > > Perhaps I just overlooked earlier conversations, but why not just do > > > this in board_init() ? > > > > Because we have multiple boards and they all need it. > > And you aren't architectured with a common board_init() over the family > (would there be little to no duplication)? This is what we do in > various TI families. Common board_init() ? How would you then do the actual distinct per-board init? Best regards, Marek Vasut