Skip to contentSkip to conversation

ARM: radxa-rock: set hostname after devicetree initialization

PATCH Applied Beniamino Galvani 2 participants 2 messages May 13, 2014 – May 14, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/arm/boards/radxa-rock/board.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/radxa-rock/board.c +1 -1
index 691f243..3d9b5be 100644
@@ -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
Applied
#1 lore raw
Quoted 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.

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
index 691f243..3d9b5be 100644
@@ -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