From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 2 Apr 2012 15:15:19 -0700 Subject: [U-Boot] [PATCH 1/2] ARM: introduce arch_early_init_r() In-Reply-To: <1333401586-24032-1-git-send-email-fabio.estevam@freescale.com> References: <1333401586-24032-1-git-send-email-fabio.estevam@freescale.com> Message-ID: <20120402221519.GD32655@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 [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