MIPS: dlink-dir-320: remove useless board file
PATCH 1/1 MIPS: dlink-dir-320: remove useless board file
The board file calls only barebox_set_hostname().
Since we can extract host name from devicetree,
we can drop board file.
Signed-off-by Antony Pavlov <[email protected]>
--- arch/mips/boards/dlink-dir-320/Makefile | 1 - arch/mips/boards/dlink-dir-320/board.c | 15 --------------- 2 files changed, 16 deletions(-)
arch/mips/boards/dlink-dir-320/Makefile +0 -1
@@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o
arch/mips/boards/dlink-dir-320/board.c deleted +0 -15
@@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* Copyright (C) 2011, 2014 Antony Pavlov <[email protected]> -*/ - -#include <common.h> -#include <init.h> - -static int dir320_console_init (void ) -{ -barebox_set_hostname ("dir320" ); - -return 0 ; -} -console_initcall (dir320_console_init);
Signature · 7 lines
2.25.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 9 lines · Antony Pavlov
The board file calls only
barebox_set_hostname().
Since we can extract host name from devicetree,
we can drop board file.Signed-off-by Antony Pavlov <[email protected]>--- arch/mips/boards/dlink-dir-320/Makefile | 1 - arch/mips/boards/dlink-dir-320/board.c | 15 --------------- 2 files changed, 16 deletions(-)
Applied, thanks
Sascha
Quoted 33 lines
arch/mips/boards/dlink-dir-320/Makefile +0
-1@@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.oarch/mips/boards/dlink-dir-320/board.c deleted +0
-15@@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* Copyright (C) 2011, 2014 Antony Pavlov <[email protected]> -*/ - -#include <common.h> -#include <init.h> - -static int dir320_console_init (void ) -{ -barebox_set_hostname ("dir320" ); - -return 0 ; -} -console_initcall (dir320_console_init);Signature · 1 line
2.25.0
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 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