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

Tom Rini
2012-04-02T22:15:19Z

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@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