mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: ukl@pengutronix.de, rhi@pengutronix.de,
	Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 01/11] commands: set SPDX-License-Identifier for files without license statement
Date: Mon,  3 Jan 2022 13:05:29 +0100	[thread overview]
Message-ID: <20220103120539.1730644-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20220103120539.1730644-1-a.fatoum@pengutronix.de>

In absence of a dual licensing statement, this is GPL-2.0-only as the
barebox project as a whole. Add a SPDX-License-Identifier to make this
clear.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 commands/Kconfig            | 2 ++
 commands/Makefile           | 2 ++
 commands/clk.c              | 2 ++
 commands/fbtest.c           | 2 ++
 commands/hwclock.c          | 2 ++
 commands/hwmon.c            | 2 ++
 commands/insmod.c           | 2 ++
 commands/internal.h         | 2 ++
 commands/keystore.c         | 2 ++
 commands/lsmod.c            | 2 ++
 commands/magicvar.c         | 2 ++
 commands/memtester/Makefile | 2 ++
 commands/mmc.c              | 2 ++
 commands/readf.c            | 2 ++
 commands/rmdir.c            | 2 ++
 commands/splash.c           | 2 ++
 commands/time.c             | 2 ++
 commands/ubi.c              | 2 ++
 commands/uimage.c           | 2 ++
 19 files changed, 38 insertions(+)

diff --git a/commands/Kconfig b/commands/Kconfig
index 22375360885b..e2c36949347e 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config REGINFO
 	bool
 
diff --git a/commands/Makefile b/commands/Makefile
index ba5ea19eb202..0b7c1563b534 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_STDDEV)		+= stddev.o
 obj-$(CONFIG_CMD_DIGEST)	+= digest.o
 obj-$(CONFIG_COMPILE_HASH)	+= hashsum.o
diff --git a/commands/clk.c b/commands/clk.c
index 4d124807bd73..0f7d7422e9b2 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/fbtest.c b/commands/fbtest.c
index 30d96f6af41f..be1540d3d170 100644
--- a/commands/fbtest.c
+++ b/commands/fbtest.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <errno.h>
diff --git a/commands/hwclock.c b/commands/hwclock.c
index 7a5600c456c9..abb0500e6a5d 100644
--- a/commands/hwclock.c
+++ b/commands/hwclock.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/hwmon.c b/commands/hwmon.c
index ace4503c0b4d..04c3e728c636 100644
--- a/commands/hwmon.c
+++ b/commands/hwmon.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/insmod.c b/commands/insmod.c
index 735dde022253..8f962b62d30d 100644
--- a/commands/insmod.c
+++ b/commands/insmod.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <module.h>
diff --git a/commands/internal.h b/commands/internal.h
index 21d1408c911f..63c10af28e76 100644
--- a/commands/internal.h
+++ b/commands/internal.h
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 int __do_digest(struct digest *d, unsigned char *sig,
 		       int argc, char *argv[]);
diff --git a/commands/keystore.c b/commands/keystore.c
index 4f6a7ef190ea..4922cf1bebe9 100644
--- a/commands/keystore.c
+++ b/commands/keystore.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/lsmod.c b/commands/lsmod.c
index 711c1c66dc3d..3d7ce40430bd 100644
--- a/commands/lsmod.c
+++ b/commands/lsmod.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <complete.h>
diff --git a/commands/magicvar.c b/commands/magicvar.c
index 8740784ed2c2..01acc741ac5d 100644
--- a/commands/magicvar.c
+++ b/commands/magicvar.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/memtester/Makefile b/commands/memtester/Makefile
index 17a2429276bb..b410813af7c8 100644
--- a/commands/memtester/Makefile
+++ b/commands/memtester/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += tests.o memtester.o
diff --git a/commands/mmc.c b/commands/mmc.c
index c696e7b8817b..cbbb9d615145 100644
--- a/commands/mmc.c
+++ b/commands/mmc.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <command.h>
 #include <mci.h>
 #include <stdio.h>
diff --git a/commands/readf.c b/commands/readf.c
index 8dd5a2b55a79..d9d1b5124349 100644
--- a/commands/readf.c
+++ b/commands/readf.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
diff --git a/commands/rmdir.c b/commands/rmdir.c
index e1cd5dc54852..9b2938a5563c 100644
--- a/commands/rmdir.c
+++ b/commands/rmdir.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
diff --git a/commands/splash.c b/commands/splash.c
index f1cc8c83bd97..2eb7c5dc39e5 100644
--- a/commands/splash.c
+++ b/commands/splash.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <errno.h>
diff --git a/commands/time.c b/commands/time.c
index 2d9fb75e7a8c..5b8933ea6553 100644
--- a/commands/time.c
+++ b/commands/time.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <clock.h>
diff --git a/commands/ubi.c b/commands/ubi.c
index f866f00160b0..6abd054af393 100644
--- a/commands/ubi.c
+++ b/commands/ubi.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
diff --git a/commands/uimage.c b/commands/uimage.c
index fb4df780bdd0..588519e3f3a7 100644
--- a/commands/uimage.c
+++ b/commands/uimage.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <image.h>
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


  reply	other threads:[~2022-01-03 12:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify " Ahmad Fatoum
2022-01-03 12:05 ` Ahmad Fatoum [this message]
2022-01-03 12:05 ` [PATCH 02/11] treewide: add SPDX-License-Identifier for Kbuild/Kconfig Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 03/11] treewide: add SPDX-License-Identifier for .gitignore Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 04/11] images: add SPDX-License-Identifiers Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 05/11] fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 06/11] include: add SPDX-License-Identifier Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 07/11] ARM: i.MX: add SPDX-License-Identifier for DCD Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 08/11] arch: add SPDX-License-Identifier to all headers Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 09/11] arch: add SPDX-License-Identifier to all .S files Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 10/11] arch: add SPDX-License-Identifier to all .c files Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 11/11] treewide: add SPDX-License-Identifier for files without explicit license Ahmad Fatoum
2022-01-03 12:20   ` Uwe Kleine-König
2022-01-03 16:50     ` Roland Hieber
2022-01-05  8:00 ` [PATCH 00/11] treewide: SPDXify files without license statement Sascha Hauer

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=20220103120539.1730644-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=rhi@pengutronix.de \
    --cc=ukl@pengutronix.de \
    /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