Skip to contentSkip to conversation

ARM: mx6sx-sabresdb: drop unneeded makefile rules

PATCH Applied Lucas Stach 2 participants 3 messages Nov 18, 2015 – Nov 19, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: mx6sx-sabresdb: drop unneeded makefile rules

---
 arch/arm/boards/freescale-mx6sx-sabresdb/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boards/freescale-mx6sx-sabresdb/Makefile +1 -2
index cc4078f..01c7a25 100644
@@ -1,3 +1,2 @@
-obj-y += board.o flash-header-mx6sx-sabresdb.dcd.o
-extra-y += flash-header-mx6sx-sabresdb.dcd.S flash-header-mx6sx-sabresdb.dcd
+obj-y += board.o
 lwl-y += lowlevel.o
Signature · 7 lines
2.5.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 ARM: mx6sx-sabresdb: set proper hostname

Also move the initcall to the level matching the name of the function.

---
 arch/arm/boards/freescale-mx6sx-sabresdb/board.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/boards/freescale-mx6sx-sabresdb/board.c +3 -1
index 353b460..ca22eba 100644
@@ -241,9 +241,11 @@ static int imx6sx_sdb_coredevices_init(void)
 
 	imx6sx_sdb_setup_fec();
 
+	barebox_set_hostname("mx6sx-sabresdb");
+
 	imx6_bbu_internal_mmc_register_handler("sd", "/dev/mmc3",
 			BBU_HANDLER_FLAG_DEFAULT);
 
 	return 0;
 }
-console_initcall(imx6sx_sdb_coredevices_init);
+coredevice_initcall(imx6sx_sdb_coredevices_init);
Signature · 7 lines
2.5.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Lucas Stach
Quoted 4 lines · Lucas Stach
---
 arch/arm/boards/freescale-mx6sx-sabresdb/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks

Sascha

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