diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-09-18 10:19:52 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-21 08:28:19 +0200 |
commit | 7088a4b2ac26fb9049c51e4d255d76ff3b989da5 (patch) | |
tree | 85f68e01a1f03614b8930bd0d5b4c3bf4416ae5d /scripts | |
parent | e42af5d4151100f2d41c1eea1b4399ecd5eed752 (diff) | |
download | barebox-7088a4b2ac26fb9049c51e4d255d76ff3b989da5.tar.gz barebox-7088a4b2ac26fb9049c51e4d255d76ff3b989da5.tar.xz |
scripts: convert imx-image and mxsimage to SPDX
To simplify automatic license and copyright determination use SPDX tags
and remove the license boiler plate.
Reviewed-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/imx/imx-image.c | 17 | ||||
-rw-r--r-- | 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 de04962b09..f5e89d07a6 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 8a63d76939..91b4677384 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@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2012-2013 Marek Vasut <marex@denx.de> + +/* Freescale i.MX23/i.MX28 SB image generator */ #include <errno.h> #include <fcntl.h> |