ARM: radxa-rock: set hostname after devicetree initialization
PATCH 1/1 ARM: radxa-rock: set hostname after devicetree initialization
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 <[email protected]>
--- arch/arm/boards/radxa-rock/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/radxa-rock/board.c +1 -1
@@ -84,4 +84,4 @@ static int hostname_init(void)return 0 ; } -core_initcall (hostname_init); +postcore_initcall (hostname_init);
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 5 lines · Beniamino Galvani
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 <[email protected]>
Applied, thanks
Sascha
Quoted 23 lines
--- arch/arm/boards/radxa-rock/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boards/radxa-rock/board.c +1
-1@@ -84,4 +84,4 @@ static int hostname_init(void)return 0 ; } -core_initcall (hostname_init); +postcore_initcall (hostname_init);Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox