[PATCH 1/3] arm: imx6: move imx6_init_lowlevel to single initcall

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 30 23:42:25 PDT 2014


On Tue, Jun 24, 2014 at 09:17:49AM +0200, Sascha Hauer wrote:
> On Tue, Jun 24, 2014 at 08:33:14AM +0200, Lucas Stach wrote:
> > Instead of repeating the same lowlevel init for every board
> > move it to it's own initcall.
> > 
> > Avoids code bloat and shaves off almost 1.5kB of uncompressed
> > barebox size for a default imx_v7_defconfig build.
> > 
> > For boards wherethe hostname setup was done in  the postcore
> > initcall we move this to a device initcall to get it out of
> > the way.
> > 
> > Signed-off-by: Lucas Stach <dev at lynxeye.de>
> 
> You could also call imx6_init_lowlevel from imx6_init which is also
> called at postcore_initcall time.

Applied this series with this change.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list