summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/Kconfig2
-rw-r--r--commands/Makefile2
-rw-r--r--commands/clk.c2
-rw-r--r--commands/fbtest.c2
-rw-r--r--commands/hwclock.c2
-rw-r--r--commands/hwmon.c2
-rw-r--r--commands/insmod.c2
-rw-r--r--commands/internal.h2
-rw-r--r--commands/keystore.c2
-rw-r--r--commands/lsmod.c2
-rw-r--r--commands/magicvar.c2
-rw-r--r--commands/memtester/Makefile2
-rw-r--r--commands/mmc.c2
-rw-r--r--commands/readf.c2
-rw-r--r--commands/rmdir.c2
-rw-r--r--commands/splash.c2
-rw-r--r--commands/time.c2
-rw-r--r--commands/ubi.c2
-rw-r--r--commands/uimage.c2
19 files changed, 38 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 2237536088..e2c3694934 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 ba5ea19eb2..0b7c1563b5 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 4d124807bd..0f7d7422e9 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 30d96f6af4..be1540d3d1 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 7a5600c456..abb0500e6a 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 ace4503c0b..04c3e728c6 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 735dde0222..8f962b62d3 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 21d1408c91..63c10af28e 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 4f6a7ef190..4922cf1beb 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 711c1c66dc..3d7ce40430 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 8740784ed2..01acc741ac 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 17a2429276..b410813af7 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 c696e7b881..cbbb9d6151 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 8dd5a2b55a..d9d1b51243 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 e1cd5dc548..9b2938a556 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 f1cc8c83bd..2eb7c5dc39 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 25ba2da15e..2c55f4c186 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 f866f00160..6abd054af3 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 fb4df780bd..588519e3f3 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>