summaryrefslogtreecommitdiff
path: root/src/drivers/generic
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-08-04 12:07:51 -0600
committerMartin L Roth <gaumless@gmail.com>2023-08-06 19:27:36 +0000
commit8324fe92111844d1afe2a87d6d38302520793909 (patch)
tree5d11ec55b8a21944b49321c10a2ba556213cff0c /src/drivers/generic
parentf6ca89c2241103c326641f21396f60bb079aa6a4 (diff)
drivers: Add SPDX license headers to Makefiles
To help identify the licenses of the various files contained in the coreboot source, we've added SPDX headers to the top of all of the .c and .h files. This extends that practice to Makefiles. Any file in the coreboot project without a specific license is bound to the license of the overall coreboot project, GPL Version 2. This patch adds the GPL V2 license identifier to the top of all makefiles in the drivers directory that don't already have an SPDX license line at the top. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I8442bc18ce228eca88a084660be84bcd1c5de928 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68980 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Tim Crawford <tcrawford@system76.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/drivers/generic')
-rw-r--r--src/drivers/generic/adau7002/Makefile.inc2
-rw-r--r--src/drivers/generic/alc1015/Makefile.inc2
-rw-r--r--src/drivers/generic/bayhub/Makefile.inc2
-rw-r--r--src/drivers/generic/bayhub_lv2/Makefile.inc2
-rw-r--r--src/drivers/generic/cbfs-serial/Makefile.inc2
-rw-r--r--src/drivers/generic/cbfs-uuid/Makefile.inc2
-rw-r--r--src/drivers/generic/gpio_keys/Makefile.inc2
-rw-r--r--src/drivers/generic/max98357a/Makefile.inc2
-rw-r--r--src/drivers/generic/nau8315/Makefile.inc2
9 files changed, 18 insertions, 0 deletions
diff --git a/src/drivers/generic/adau7002/Makefile.inc b/src/drivers/generic/adau7002/Makefile.inc
index b2f7dfef52..3b88a39daf 100644
--- a/src/drivers/generic/adau7002/Makefile.inc
+++ b/src/drivers/generic/adau7002/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_ADAU7002) += adau7002.c
diff --git a/src/drivers/generic/alc1015/Makefile.inc b/src/drivers/generic/alc1015/Makefile.inc
index 5f815863dc..f4f47878ea 100644
--- a/src/drivers/generic/alc1015/Makefile.inc
+++ b/src/drivers/generic/alc1015/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_ALC1015) += alc1015.c
diff --git a/src/drivers/generic/bayhub/Makefile.inc b/src/drivers/generic/bayhub/Makefile.inc
index 3458815831..90b442617e 100644
--- a/src/drivers/generic/bayhub/Makefile.inc
+++ b/src/drivers/generic/bayhub/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_BH720) += bh720.c
diff --git a/src/drivers/generic/bayhub_lv2/Makefile.inc b/src/drivers/generic/bayhub_lv2/Makefile.inc
index 11249a9262..b8842085aa 100644
--- a/src/drivers/generic/bayhub_lv2/Makefile.inc
+++ b/src/drivers/generic/bayhub_lv2/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_BAYHUB_LV2) += lv2.c
diff --git a/src/drivers/generic/cbfs-serial/Makefile.inc b/src/drivers/generic/cbfs-serial/Makefile.inc
index 163d439ba9..fdabdc8f53 100644
--- a/src/drivers/generic/cbfs-serial/Makefile.inc
+++ b/src/drivers/generic/cbfs-serial/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_CBFS_SERIAL) += cbfs-serial.c
diff --git a/src/drivers/generic/cbfs-uuid/Makefile.inc b/src/drivers/generic/cbfs-uuid/Makefile.inc
index b1344076dd..df8c0960b9 100644
--- a/src/drivers/generic/cbfs-uuid/Makefile.inc
+++ b/src/drivers/generic/cbfs-uuid/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_CBFS_UUID) += cbfs-uuid.c
diff --git a/src/drivers/generic/gpio_keys/Makefile.inc b/src/drivers/generic/gpio_keys/Makefile.inc
index 1e10ca99e0..d1375ef2e4 100644
--- a/src/drivers/generic/gpio_keys/Makefile.inc
+++ b/src/drivers/generic/gpio_keys/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_GPIO_KEYS) += gpio_keys.c
diff --git a/src/drivers/generic/max98357a/Makefile.inc b/src/drivers/generic/max98357a/Makefile.inc
index 529e24afc9..8ad86d3c7d 100644
--- a/src/drivers/generic/max98357a/Makefile.inc
+++ b/src/drivers/generic/max98357a/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_MAX98357A) += max98357a.c
diff --git a/src/drivers/generic/nau8315/Makefile.inc b/src/drivers/generic/nau8315/Makefile.inc
index 09641892e5..094d235b6d 100644
--- a/src/drivers/generic/nau8315/Makefile.inc
+++ b/src/drivers/generic/nau8315/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_GENERIC_NAU8315) += nau8315.c