[PATCH 3/7] scripts: convert imx-image and mxsimage to SPDX
Roland Hieber
rhi at pengutronix.de
Wed Sep 16 04:46:05 EDT 2020
On Tue, Sep 15, 2020 at 10:54:13PM +0200, Uwe Kleine-König wrote:
> To simplify automatic license and copyright determination use SPDX tags
> and remove the license boiler plate.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
Reviewed-by: Roland Hieber <rhi at pengutronix.de>
> scripts/imx/imx-image.c | 17 +++--------------
> scripts/mxsimage.c | 11 ++++-------
> 2 files changed, 7 insertions(+), 21 deletions(-)
>
> diff --git a/scripts/imx/imx-image.c b/scripts/imx/imx-image.c
> index de04962b09d1..f5e89d07a6ee 100644
> --- a/scripts/imx/imx-image.c
> +++ b/scripts/imx/imx-image.c
> @@ -1,17 +1,6 @@
> -/*
> - * (C) Copyright 2013 Sascha Hauer, Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2013 Sascha Hauer, Pengutronix
> +
> #define _GNU_SOURCE
> #include <stdio.h>
> #include <unistd.h>
> diff --git a/scripts/mxsimage.c b/scripts/mxsimage.c
> index 8a63d7693915..91b467738470 100644
> --- a/scripts/mxsimage.c
> +++ b/scripts/mxsimage.c
> @@ -1,10 +1,7 @@
> -/*
> - * Freescale i.MX23/i.MX28 SB image generator
> - *
> - * Copyright (C) 2012-2013 Marek Vasut <marex at denx.de>
> - *
> - * SPDX-License-Identifier: GPL-2.0+
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2012-2013 Marek Vasut <marex at denx.de>
> +
> +/* Freescale i.MX23/i.MX28 SB image generator */
>
> #include <errno.h>
> #include <fcntl.h>
> --
> 2.27.0
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Roland Hieber, Pengutronix e.K. | r.hieber at pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list