diff options
author | Martin Roth <gaumless@gmail.com> | 2023-08-04 12:07:51 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-06 19:27:36 +0000 |
commit | 8324fe92111844d1afe2a87d6d38302520793909 (patch) | |
tree | 5d11ec55b8a21944b49321c10a2ba556213cff0c /src/drivers/i2c | |
parent | f6ca89c2241103c326641f21396f60bb079aa6a4 (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/i2c')
32 files changed, 64 insertions, 0 deletions
diff --git a/src/drivers/i2c/at24rf08c/Makefile.inc b/src/drivers/i2c/at24rf08c/Makefile.inc index 985aa685a3..4ac3f1d75f 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 5ccf4a86cd..44df26c477 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 21a749f199..d088e7f71d 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 05ab562a1b..b7df181ab1 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 354a330b23..e885506424 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 b960a1cac4..9c084c0de5 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 86cbc7bdc3..228a75b26d 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 5c328cba40..a22726c5da 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 1c462dc094..49d9d8c458 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 e51f706eda..10e1d8b5dc 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 12162acee0..897d90cd47 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 b17ccf88cf..75149d4193 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 0a8871d987..0786e9a79c 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 09ef81b9ea..de9fb65cb5 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 230f5d6d91..aa71437449 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 3bafee11b6..c84f7caa4f 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 6f32643439..ada57689bd 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 9544de0b3e..bb91e5027e 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 51e9764b98..63d9bc8296 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 21516a6d46..837e63662b 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 abe9a0560b..022f5f8e52 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 a8b8283f3f..39572b6b91 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 35c566b976..ffd17fcd6f 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 4974a479ce..133b6c821c 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 57eddf39c5..f511bc5013 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 44c76a3291..45d179da4f 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 0516df92f7..75d577bed7 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 8811c996b0..963d230646 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 695bb527c7..278ee10b3a 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 909ffdb85c..0e1e7a2ba0 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 ae50f2b342..f576109eed 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 ea0d1a880b..b245e5fa7c 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 |