mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] MIPS: dlink-dir-320: remove useless board file
Date: Thu, 7 May 2020 15:07:37 +0200	[thread overview]
Message-ID: <20200507130737.GD5877@pengutronix.de> (raw)
In-Reply-To: <20200505123610.11307-1-antonynpavlov@gmail.com>

On Tue, May 05, 2020 at 03:36:10PM +0300, Antony Pavlov wrote:
> 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 <antonynpavlov@gmail.com>
> ---
>  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

> 
> diff --git a/arch/mips/boards/dlink-dir-320/Makefile b/arch/mips/boards/dlink-dir-320/Makefile
> index 01c7a259e9..b08c4a93ca 100644
> --- a/arch/mips/boards/dlink-dir-320/Makefile
> +++ b/arch/mips/boards/dlink-dir-320/Makefile
> @@ -1,2 +1 @@
> -obj-y += board.o
>  lwl-y += lowlevel.o
> diff --git a/arch/mips/boards/dlink-dir-320/board.c b/arch/mips/boards/dlink-dir-320/board.c
> deleted file mode 100644
> index b75812cefe..0000000000
> --- a/arch/mips/boards/dlink-dir-320/board.c
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0-only
> -/*
> - * Copyright (C) 2011, 2014 Antony Pavlov <antonynpavlov@gmail.com>
> - */
> -
> -#include <common.h>
> -#include <init.h>
> -
> -static int dir320_console_init(void)
> -{
> -	barebox_set_hostname("dir320");
> -
> -	return 0;
> -}
> -console_initcall(dir320_console_init);
> -- 
> 2.25.0
> 
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2020-05-07 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 12:36 Antony Pavlov
2020-05-07 13:07 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200507130737.GD5877@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox