On Tue, May 13, 2014 at 11:33:31PM +0200, Beniamino Galvani wrote: > hostname_init() must be called after the devicetree root node has been > initialized, otherwise the check on board compatible always returns > false. > > Signed-off-by: Beniamino Galvani <b.galvani@xxxxxxxxx> Applied, thanks Sascha > --- > arch/arm/boards/radxa-rock/board.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boards/radxa-rock/board.c b/arch/arm/boards/radxa-rock/board.c > index 691f243..3d9b5be 100644 > --- a/arch/arm/boards/radxa-rock/board.c > +++ b/arch/arm/boards/radxa-rock/board.c > @@ -84,4 +84,4 @@ static int hostname_init(void) > > return 0; > } > -core_initcall(hostname_init); > +postcore_initcall(hostname_init); > -- > 1.7.10.4 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox