summaryrefslogtreecommitdiffstats
path: root/src/drivers/i2c
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/i2c
parentf6ca89c2241103c326641f21396f60bb079aa6a4 (diff)
downloadcoreboot-8324fe92111844d1afe2a87d6d38302520793909.tar.gz
coreboot-8324fe92111844d1afe2a87d6d38302520793909.tar.bz2
coreboot-8324fe92111844d1afe2a87d6d38302520793909.zip
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/i2c')
-rw-r--r--src/drivers/i2c/at24rf08c/Makefile.inc2
-rw-r--r--src/drivers/i2c/ck505/Makefile.inc2
-rw-r--r--src/drivers/i2c/cs35l53/Makefile.inc2
-rw-r--r--src/drivers/i2c/cs42l42/Makefile.inc2
-rw-r--r--src/drivers/i2c/da7219/Makefile.inc2
-rw-r--r--src/drivers/i2c/designware/Makefile.inc2
-rw-r--r--src/drivers/i2c/generic/Makefile.inc2
-rw-r--r--src/drivers/i2c/gpiomux/Makefile.inc2
-rw-r--r--src/drivers/i2c/gpiomux/bus/Makefile.inc2
-rw-r--r--src/drivers/i2c/gpiomux/mux/Makefile.inc2
-rw-r--r--src/drivers/i2c/hid/Makefile.inc2
-rw-r--r--src/drivers/i2c/lm96000/Makefile.inc2
-rw-r--r--src/drivers/i2c/max98373/Makefile.inc2
-rw-r--r--src/drivers/i2c/max98390/Makefile.inc2
-rw-r--r--src/drivers/i2c/max98396/Makefile.inc2
-rw-r--r--src/drivers/i2c/max98927/Makefile.inc2
-rw-r--r--src/drivers/i2c/nau8825/Makefile.inc2
-rw-r--r--src/drivers/i2c/nct7802y/Makefile.inc2
-rw-r--r--src/drivers/i2c/pca9538/Makefile.inc2
-rw-r--r--src/drivers/i2c/pi608gp/Makefile.inc2
-rw-r--r--src/drivers/i2c/ptn3460/Makefile.inc2
-rw-r--r--src/drivers/i2c/rt1011/Makefile.inc2
-rw-r--r--src/drivers/i2c/rt5663/Makefile.inc2
-rw-r--r--src/drivers/i2c/rtd2132/Makefile.inc2
-rw-r--r--src/drivers/i2c/rv3028c7/Makefile.inc2
-rw-r--r--src/drivers/i2c/rx6110sa/Makefile.inc2
-rw-r--r--src/drivers/i2c/sx9310/Makefile.inc2
-rw-r--r--src/drivers/i2c/sx9324/Makefile.inc2
-rw-r--r--src/drivers/i2c/sx9360/Makefile.inc2
-rw-r--r--src/drivers/i2c/tas5825m/Makefile.inc2
-rw-r--r--src/drivers/i2c/tpm/Makefile.inc2
-rw-r--r--src/drivers/i2c/ww_ring/Makefile.inc2
32 files changed, 64 insertions, 0 deletions
diff --git a/src/drivers/i2c/at24rf08c/Makefile.inc b/src/drivers/i2c/at24rf08c/Makefile.inc
index 985aa685a312..4ac3f1d75fb9 100644
--- a/src/drivers/i2c/at24rf08c/Makefile.inc
+++ b/src/drivers/i2c/at24rf08c/Makefile.inc
@@ -1,2 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVER_LENOVO_SERIALS) += at24rf08c.c
ramstage-$(CONFIG_DRIVER_LENOVO_SERIALS) += lenovo_serials.c
diff --git a/src/drivers/i2c/ck505/Makefile.inc b/src/drivers/i2c/ck505/Makefile.inc
index 5ccf4a86cd1f..44df26c47706 100644
--- a/src/drivers/i2c/ck505/Makefile.inc
+++ b/src/drivers/i2c/ck505/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_CK505) += ck505.c
diff --git a/src/drivers/i2c/cs35l53/Makefile.inc b/src/drivers/i2c/cs35l53/Makefile.inc
index 21a749f19979..d088e7f71d72 100644
--- a/src/drivers/i2c/cs35l53/Makefile.inc
+++ b/src/drivers/i2c/cs35l53/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_CS35L53) += cs35l53.c
diff --git a/src/drivers/i2c/cs42l42/Makefile.inc b/src/drivers/i2c/cs42l42/Makefile.inc
index 05ab562a1b7b..b7df181ab1ab 100644
--- a/src/drivers/i2c/cs42l42/Makefile.inc
+++ b/src/drivers/i2c/cs42l42/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_CS42L42) += cs42l42.c
diff --git a/src/drivers/i2c/da7219/Makefile.inc b/src/drivers/i2c/da7219/Makefile.inc
index 354a330b23c8..e885506424e2 100644
--- a/src/drivers/i2c/da7219/Makefile.inc
+++ b/src/drivers/i2c/da7219/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_DA7219) += da7219.c
diff --git a/src/drivers/i2c/designware/Makefile.inc b/src/drivers/i2c/designware/Makefile.inc
index b960a1cac4eb..9c084c0de5d3 100644
--- a/src/drivers/i2c/designware/Makefile.inc
+++ b/src/drivers/i2c/designware/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ifeq ($(CONFIG_DRIVERS_I2C_DESIGNWARE),y)
bootblock-y += dw_i2c.c
diff --git a/src/drivers/i2c/generic/Makefile.inc b/src/drivers/i2c/generic/Makefile.inc
index 86cbc7bdc3ab..228a75b26d3c 100644
--- a/src/drivers/i2c/generic/Makefile.inc
+++ b/src/drivers/i2c/generic/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_GENERIC) += generic.c
diff --git a/src/drivers/i2c/gpiomux/Makefile.inc b/src/drivers/i2c/gpiomux/Makefile.inc
index 5c328cba4023..a22726c5dab0 100644
--- a/src/drivers/i2c/gpiomux/Makefile.inc
+++ b/src/drivers/i2c/gpiomux/Makefile.inc
@@ -1,2 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
subdirs-$(CONFIG_DRIVERS_I2C_GPIO_MUX) += mux
subdirs-$(CONFIG_DRIVERS_I2C_GPIO_MUX) += bus
diff --git a/src/drivers/i2c/gpiomux/bus/Makefile.inc b/src/drivers/i2c/gpiomux/bus/Makefile.inc
index 1c462dc09438..49d9d8c458c4 100644
--- a/src/drivers/i2c/gpiomux/bus/Makefile.inc
+++ b/src/drivers/i2c/gpiomux/bus/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_GPIO_MUX) += bus.c
diff --git a/src/drivers/i2c/gpiomux/mux/Makefile.inc b/src/drivers/i2c/gpiomux/mux/Makefile.inc
index e51f706eda71..10e1d8b5dc98 100644
--- a/src/drivers/i2c/gpiomux/mux/Makefile.inc
+++ b/src/drivers/i2c/gpiomux/mux/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_GPIO_MUX) += mux.c
diff --git a/src/drivers/i2c/hid/Makefile.inc b/src/drivers/i2c/hid/Makefile.inc
index 12162acee0a9..897d90cd47a7 100644
--- a/src/drivers/i2c/hid/Makefile.inc
+++ b/src/drivers/i2c/hid/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_HID) += hid.c
diff --git a/src/drivers/i2c/lm96000/Makefile.inc b/src/drivers/i2c/lm96000/Makefile.inc
index b17ccf88cfa1..75149d41938e 100644
--- a/src/drivers/i2c/lm96000/Makefile.inc
+++ b/src/drivers/i2c/lm96000/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_LM96000) += lm96000.c
diff --git a/src/drivers/i2c/max98373/Makefile.inc b/src/drivers/i2c/max98373/Makefile.inc
index 0a8871d98742..0786e9a79cde 100644
--- a/src/drivers/i2c/max98373/Makefile.inc
+++ b/src/drivers/i2c/max98373/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_MAX98373) += max98373.c
diff --git a/src/drivers/i2c/max98390/Makefile.inc b/src/drivers/i2c/max98390/Makefile.inc
index 09ef81b9eaba..de9fb65cb5e1 100644
--- a/src/drivers/i2c/max98390/Makefile.inc
+++ b/src/drivers/i2c/max98390/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_MAX98390) += max98390.c
diff --git a/src/drivers/i2c/max98396/Makefile.inc b/src/drivers/i2c/max98396/Makefile.inc
index 230f5d6d91ec..aa7143744998 100644
--- a/src/drivers/i2c/max98396/Makefile.inc
+++ b/src/drivers/i2c/max98396/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_MAX98396) += max98396.c
diff --git a/src/drivers/i2c/max98927/Makefile.inc b/src/drivers/i2c/max98927/Makefile.inc
index 3bafee11b630..c84f7caa4f41 100644
--- a/src/drivers/i2c/max98927/Makefile.inc
+++ b/src/drivers/i2c/max98927/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_MAX98927) += max98927.c
diff --git a/src/drivers/i2c/nau8825/Makefile.inc b/src/drivers/i2c/nau8825/Makefile.inc
index 6f32643439e1..ada57689bd88 100644
--- a/src/drivers/i2c/nau8825/Makefile.inc
+++ b/src/drivers/i2c/nau8825/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_NAU8825) += nau8825.c
diff --git a/src/drivers/i2c/nct7802y/Makefile.inc b/src/drivers/i2c/nct7802y/Makefile.inc
index 9544de0b3e29..bb91e5027ea8 100644
--- a/src/drivers/i2c/nct7802y/Makefile.inc
+++ b/src/drivers/i2c/nct7802y/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_NCT7802Y) += nct7802y.c
ramstage-$(CONFIG_DRIVERS_I2C_NCT7802Y) += nct7802y_fan.c
ramstage-$(CONFIG_DRIVERS_I2C_NCT7802Y) += nct7802y_peci.c
diff --git a/src/drivers/i2c/pca9538/Makefile.inc b/src/drivers/i2c/pca9538/Makefile.inc
index 51e9764b9823..63d9bc829696 100644
--- a/src/drivers/i2c/pca9538/Makefile.inc
+++ b/src/drivers/i2c/pca9538/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_PCA9538) += pca9538.c
diff --git a/src/drivers/i2c/pi608gp/Makefile.inc b/src/drivers/i2c/pi608gp/Makefile.inc
index 21516a6d468a..837e63662b6f 100644
--- a/src/drivers/i2c/pi608gp/Makefile.inc
+++ b/src/drivers/i2c/pi608gp/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_PI608GP) += pi608gp.c
diff --git a/src/drivers/i2c/ptn3460/Makefile.inc b/src/drivers/i2c/ptn3460/Makefile.inc
index abe9a0560bf0..022f5f8e522a 100644
--- a/src/drivers/i2c/ptn3460/Makefile.inc
+++ b/src/drivers/i2c/ptn3460/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_PTN3460) += ptn3460.c
diff --git a/src/drivers/i2c/rt1011/Makefile.inc b/src/drivers/i2c/rt1011/Makefile.inc
index a8b8283f3f8a..39572b6b915d 100644
--- a/src/drivers/i2c/rt1011/Makefile.inc
+++ b/src/drivers/i2c/rt1011/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_RT1011) += rt1011.c
diff --git a/src/drivers/i2c/rt5663/Makefile.inc b/src/drivers/i2c/rt5663/Makefile.inc
index 35c566b9766e..ffd17fcd6f80 100644
--- a/src/drivers/i2c/rt5663/Makefile.inc
+++ b/src/drivers/i2c/rt5663/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_RT5663) += rt5663.c
diff --git a/src/drivers/i2c/rtd2132/Makefile.inc b/src/drivers/i2c/rtd2132/Makefile.inc
index 4974a479ceb7..133b6c821ce3 100644
--- a/src/drivers/i2c/rtd2132/Makefile.inc
+++ b/src/drivers/i2c/rtd2132/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_RTD2132) += rtd2132.c
diff --git a/src/drivers/i2c/rv3028c7/Makefile.inc b/src/drivers/i2c/rv3028c7/Makefile.inc
index 57eddf39c574..f511bc5013cd 100644
--- a/src/drivers/i2c/rv3028c7/Makefile.inc
+++ b/src/drivers/i2c/rv3028c7/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_RV3028C7) += rv3028c7.c
diff --git a/src/drivers/i2c/rx6110sa/Makefile.inc b/src/drivers/i2c/rx6110sa/Makefile.inc
index 44c76a3291cf..45d179da4f67 100644
--- a/src/drivers/i2c/rx6110sa/Makefile.inc
+++ b/src/drivers/i2c/rx6110sa/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_RX6110SA) += rx6110sa.c
diff --git a/src/drivers/i2c/sx9310/Makefile.inc b/src/drivers/i2c/sx9310/Makefile.inc
index 0516df92f748..75d577bed7f9 100644
--- a/src/drivers/i2c/sx9310/Makefile.inc
+++ b/src/drivers/i2c/sx9310/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_SX9310) += sx9310.c
diff --git a/src/drivers/i2c/sx9324/Makefile.inc b/src/drivers/i2c/sx9324/Makefile.inc
index 8811c996b0d6..963d23064698 100644
--- a/src/drivers/i2c/sx9324/Makefile.inc
+++ b/src/drivers/i2c/sx9324/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_SX9324) += sx9324.c
diff --git a/src/drivers/i2c/sx9360/Makefile.inc b/src/drivers/i2c/sx9360/Makefile.inc
index 695bb527c794..278ee10b3a4f 100644
--- a/src/drivers/i2c/sx9360/Makefile.inc
+++ b/src/drivers/i2c/sx9360/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_SX9360) += sx9360.c
diff --git a/src/drivers/i2c/tas5825m/Makefile.inc b/src/drivers/i2c/tas5825m/Makefile.inc
index 909ffdb85c19..0e1e7a2ba018 100644
--- a/src/drivers/i2c/tas5825m/Makefile.inc
+++ b/src/drivers/i2c/tas5825m/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-$(CONFIG_DRIVERS_I2C_TAS5825M) += tas5825m.c
diff --git a/src/drivers/i2c/tpm/Makefile.inc b/src/drivers/i2c/tpm/Makefile.inc
index ae50f2b342e8..f576109eed9a 100644
--- a/src/drivers/i2c/tpm/Makefile.inc
+++ b/src/drivers/i2c/tpm/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ifeq ($(CONFIG_TPM)$(CONFIG_I2C_TPM),yy)
all-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c
diff --git a/src/drivers/i2c/ww_ring/Makefile.inc b/src/drivers/i2c/ww_ring/Makefile.inc
index ea0d1a880b2c..b245e5fa7cce 100644
--- a/src/drivers/i2c/ww_ring/Makefile.inc
+++ b/src/drivers/i2c/ww_ring/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
verstage-$(CONFIG_DRIVERS_I2C_WW_RING) += ww_ring.c
verstage-$(CONFIG_DRIVERS_I2C_WW_RING) += ww_ring_programs.c