summaryrefslogtreecommitdiff
path: root/src/drivers/intel
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/intel
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/intel')
-rw-r--r--src/drivers/intel/dptf/Makefile.inc2
-rw-r--r--src/drivers/intel/ish/Makefile.inc2
-rw-r--r--src/drivers/intel/mipi_camera/Makefile.inc2
-rw-r--r--src/drivers/intel/pmc_mux/Makefile.inc2
-rw-r--r--src/drivers/intel/pmc_mux/conn/Makefile.inc2
-rw-r--r--src/drivers/intel/ptt/Makefile.inc2
-rw-r--r--src/drivers/intel/soundwire/Makefile.inc2
-rw-r--r--src/drivers/intel/usb4/retimer/Makefile.inc2
8 files changed, 16 insertions, 0 deletions
diff --git a/src/drivers/intel/dptf/Makefile.inc b/src/drivers/intel/dptf/Makefile.inc
index 42607f8a54..41f4158722 100644
--- a/src/drivers/intel/dptf/Makefile.inc
+++ b/src/drivers/intel/dptf/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_INTEL_DPTF) += dptf.c
diff --git a/src/drivers/intel/ish/Makefile.inc b/src/drivers/intel/ish/Makefile.inc
index cab2b1d804..dfa4b1c444 100644
--- a/src/drivers/intel/ish/Makefile.inc
+++ b/src/drivers/intel/ish/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_INTEL_ISH) += ish.c
diff --git a/src/drivers/intel/mipi_camera/Makefile.inc b/src/drivers/intel/mipi_camera/Makefile.inc
index 85f67b2606..fca8326307 100644
--- a/src/drivers/intel/mipi_camera/Makefile.inc
+++ b/src/drivers/intel/mipi_camera/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_INTEL_MIPI_CAMERA) += camera.c
diff --git a/src/drivers/intel/pmc_mux/Makefile.inc b/src/drivers/intel/pmc_mux/Makefile.inc
index 61c957e514..f607135dea 100644
--- a/src/drivers/intel/pmc_mux/Makefile.inc
+++ b/src/drivers/intel/pmc_mux/Makefile.inc
@@ -1,2 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
subdirs-y += conn
ramstage-$(CONFIG_DRIVERS_INTEL_PMC) += mux.c
diff --git a/src/drivers/intel/pmc_mux/conn/Makefile.inc b/src/drivers/intel/pmc_mux/conn/Makefile.inc
index babca2f9bb..668351b4df 100644
--- a/src/drivers/intel/pmc_mux/conn/Makefile.inc
+++ b/src/drivers/intel/pmc_mux/conn/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_INTEL_PMC) += conn.c
diff --git a/src/drivers/intel/ptt/Makefile.inc b/src/drivers/intel/ptt/Makefile.inc
index fdecc89b9f..bab1789fd9 100644
--- a/src/drivers/intel/ptt/Makefile.inc
+++ b/src/drivers/intel/ptt/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-$(CONFIG_HAVE_INTEL_PTT) += ptt.c
ramstage-$(CONFIG_HAVE_INTEL_PTT) += ptt.c
postcar-$(CONFIG_HAVE_INTEL_PTT) += ptt.c
diff --git a/src/drivers/intel/soundwire/Makefile.inc b/src/drivers/intel/soundwire/Makefile.inc
index 1f6773ec26..044e2ab8e9 100644
--- a/src/drivers/intel/soundwire/Makefile.inc
+++ b/src/drivers/intel/soundwire/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_INTEL_SOUNDWIRE) += soundwire.c
diff --git a/src/drivers/intel/usb4/retimer/Makefile.inc b/src/drivers/intel/usb4/retimer/Makefile.inc
index bca23aa3bf..1c814850bd 100644
--- a/src/drivers/intel/usb4/retimer/Makefile.inc
+++ b/src/drivers/intel/usb4/retimer/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_INTEL_USB4_RETIMER) += retimer.c