[PATCH v2 3/7] scripts: convert imx-image and mxsimage to SPDX

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Sep 18 04:19:52 EDT 2020


To simplify automatic license and copyright determination use SPDX tags
and remove the license boiler plate.

Reviewed-by: Roland Hieber <rhi at pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig 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




More information about the barebox mailing list