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

Tom Rini trini at ti.com
Tue Apr 3 00:15:19 CEST 2012


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>
[snip]
> +#ifdef CONFIG_ARCH_EARLY_INIT_R
> +	arch_early_init_r();
> +#endif

We never check return status, make this a void?  As Wolfgang has said
before, just because the other examples do things wrong doesn't mean we
should keep doing it :)

-- 
Tom


More information about the U-Boot mailing list