[U-Boot] [PATCH 1/2] ARM: introduce arch_early_init_r()

Marek Vasut marek.vasut at gmail.com
Tue Apr 3 00:08:33 CEST 2012


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 <fabio.estevam at freescale.com>
> > > 
> > > 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


More information about the U-Boot mailing list