Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68980?usp=email )
Change subject: drivers: Add SPDX license headers to Makefiles ......................................................................
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 --- M src/drivers/acpi/thermal_zone/Makefile.inc M src/drivers/amd/i2s_machine_dev/Makefile.inc M src/drivers/ams/Makefile.inc M src/drivers/aspeed/ast2050/Makefile.inc M src/drivers/aspeed/common/Makefile.inc M src/drivers/camera/Makefile.inc M src/drivers/crb/Makefile.inc M src/drivers/elog/Makefile.inc M src/drivers/emulation/qemu/Makefile.inc M src/drivers/generic/adau7002/Makefile.inc M src/drivers/generic/alc1015/Makefile.inc M src/drivers/generic/bayhub/Makefile.inc M src/drivers/generic/bayhub_lv2/Makefile.inc M src/drivers/generic/cbfs-serial/Makefile.inc M src/drivers/generic/cbfs-uuid/Makefile.inc M src/drivers/generic/gpio_keys/Makefile.inc M src/drivers/generic/max98357a/Makefile.inc M src/drivers/generic/nau8315/Makefile.inc M src/drivers/genesyslogic/gl9750/Makefile.inc M src/drivers/genesyslogic/gl9755/Makefile.inc M src/drivers/genesyslogic/gl9763e/Makefile.inc M src/drivers/gfx/generic/Makefile.inc M src/drivers/i2c/at24rf08c/Makefile.inc M src/drivers/i2c/ck505/Makefile.inc M src/drivers/i2c/cs35l53/Makefile.inc M src/drivers/i2c/cs42l42/Makefile.inc M src/drivers/i2c/da7219/Makefile.inc M src/drivers/i2c/designware/Makefile.inc M src/drivers/i2c/generic/Makefile.inc M src/drivers/i2c/gpiomux/Makefile.inc M src/drivers/i2c/gpiomux/bus/Makefile.inc M src/drivers/i2c/gpiomux/mux/Makefile.inc M src/drivers/i2c/hid/Makefile.inc M src/drivers/i2c/lm96000/Makefile.inc M src/drivers/i2c/max98373/Makefile.inc M src/drivers/i2c/max98390/Makefile.inc M src/drivers/i2c/max98396/Makefile.inc M src/drivers/i2c/max98927/Makefile.inc M src/drivers/i2c/nau8825/Makefile.inc M src/drivers/i2c/nct7802y/Makefile.inc M src/drivers/i2c/pca9538/Makefile.inc M src/drivers/i2c/pi608gp/Makefile.inc M src/drivers/i2c/ptn3460/Makefile.inc M src/drivers/i2c/rt1011/Makefile.inc M src/drivers/i2c/rt5663/Makefile.inc M src/drivers/i2c/rtd2132/Makefile.inc M src/drivers/i2c/rv3028c7/Makefile.inc M src/drivers/i2c/rx6110sa/Makefile.inc M src/drivers/i2c/sx9310/Makefile.inc M src/drivers/i2c/sx9324/Makefile.inc M src/drivers/i2c/sx9360/Makefile.inc M src/drivers/i2c/tas5825m/Makefile.inc M src/drivers/i2c/tpm/Makefile.inc M src/drivers/i2c/ww_ring/Makefile.inc M src/drivers/intel/dptf/Makefile.inc M src/drivers/intel/ish/Makefile.inc M src/drivers/intel/mipi_camera/Makefile.inc M src/drivers/intel/pmc_mux/Makefile.inc M src/drivers/intel/pmc_mux/conn/Makefile.inc M src/drivers/intel/ptt/Makefile.inc M src/drivers/intel/soundwire/Makefile.inc M src/drivers/intel/usb4/retimer/Makefile.inc M src/drivers/ipmi/Makefile.inc M src/drivers/ipmi/ocp/Makefile.inc M src/drivers/lenovo/Makefile.inc M src/drivers/mrc_cache/Makefile.inc M src/drivers/net/Makefile.inc M src/drivers/net/phy/m88e1512/Makefile.inc M src/drivers/nxp/uwb/Makefile.inc M src/drivers/ocp/dmi/Makefile.inc M src/drivers/ocp/ewl/Makefile.inc M src/drivers/ocp/vpd/Makefile.inc M src/drivers/pc80/pc/Makefile.inc M src/drivers/pc80/rtc/Makefile.inc M src/drivers/pc80/tpm/Makefile.inc M src/drivers/pc80/vga/Makefile.inc M src/drivers/pcie/generic/Makefile.inc M src/drivers/pcie/rtd3/device/Makefile.inc M src/drivers/ricoh/rce822/Makefile.inc M src/drivers/secunet/dmi/Makefile.inc M src/drivers/sil/3114/Makefile.inc M src/drivers/smbus/Makefile.inc M src/drivers/smmstore/Makefile.inc M src/drivers/sof/Makefile.inc M src/drivers/soundwire/alc1308/Makefile.inc M src/drivers/soundwire/alc5682/Makefile.inc M src/drivers/soundwire/alc711/Makefile.inc M src/drivers/soundwire/cs42l42/Makefile.inc M src/drivers/soundwire/max98363/Makefile.inc M src/drivers/soundwire/max98373/Makefile.inc M src/drivers/spi/Makefile.inc M src/drivers/spi/tpm/Makefile.inc M src/drivers/tpm/Makefile.inc M src/drivers/uart/Makefile.inc M src/drivers/uart/acpi/Makefile.inc M src/drivers/usb/Makefile.inc M src/drivers/usb/acpi/Makefile.inc M src/drivers/usb/hub/Makefile.inc M src/drivers/usb/pci_xhci/Makefile.inc M src/drivers/wifi/generic/Makefile.inc M src/drivers/wwan/fm/Makefile.inc 101 files changed, 202 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Tim Crawford: Looks good to me, approved Eric Lai: Looks good to me, approved Felix Singer: Looks good to me, approved Elyes Haouas: Looks good to me, approved
diff --git a/src/drivers/acpi/thermal_zone/Makefile.inc b/src/drivers/acpi/thermal_zone/Makefile.inc index 0a15b91..3bf110c 100644 --- a/src/drivers/acpi/thermal_zone/Makefile.inc +++ b/src/drivers/acpi/thermal_zone/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_ACPI_THERMAL_ZONE) += thermal_zone.c diff --git a/src/drivers/amd/i2s_machine_dev/Makefile.inc b/src/drivers/amd/i2s_machine_dev/Makefile.inc index df09f4d..7d0540f 100644 --- a/src/drivers/amd/i2s_machine_dev/Makefile.inc +++ b/src/drivers/amd/i2s_machine_dev/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_AMD_I2S_MACHINE_DEV) += i2s_machine_dev.c diff --git a/src/drivers/ams/Makefile.inc b/src/drivers/ams/Makefile.inc index cf51831..f1c1345 100644 --- a/src/drivers/ams/Makefile.inc +++ b/src/drivers/ams/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_AS3722_RTC) += as3722rtc.c diff --git a/src/drivers/aspeed/ast2050/Makefile.inc b/src/drivers/aspeed/ast2050/Makefile.inc index 9e5b5c5..3523d7a 100644 --- a/src/drivers/aspeed/ast2050/Makefile.inc +++ b/src/drivers/aspeed/ast2050/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_ASPEED_AST2050) += ast2050.c diff --git a/src/drivers/aspeed/common/Makefile.inc b/src/drivers/aspeed/common/Makefile.inc index 1f4b858..f52b5e0 100644 --- a/src/drivers/aspeed/common/Makefile.inc +++ b/src/drivers/aspeed/common/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_DRIVERS_ASPEED_AST_COMMON),y) ramstage-y += ast_dp501.c ast_main.c ast_post.c ramstage-$(CONFIG_GENERIC_LINEAR_FRAMEBUFFER) += ast_mode.c ast_i2c.c ast_mode_corebootfb.c diff --git a/src/drivers/camera/Makefile.inc b/src/drivers/camera/Makefile.inc index 1a6e609..f2c6eff 100644 --- a/src/drivers/camera/Makefile.inc +++ b/src/drivers/camera/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_CHROMEOS_CAMERA) += cros_camera.c diff --git a/src/drivers/crb/Makefile.inc b/src/drivers/crb/Makefile.inc index 5124514..d7e8b74 100644 --- a/src/drivers/crb/Makefile.inc +++ b/src/drivers/crb/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_CRB_TPM),y) all-y += tis.c tpm.c endif diff --git a/src/drivers/elog/Makefile.inc b/src/drivers/elog/Makefile.inc index 370eef4..7bc229c 100644 --- a/src/drivers/elog/Makefile.inc +++ b/src/drivers/elog/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + bootblock-$(CONFIG_ELOG) += elog.c verstage-$(CONFIG_ELOG) += elog.c romstage-$(CONFIG_ELOG) += elog.c diff --git a/src/drivers/emulation/qemu/Makefile.inc b/src/drivers/emulation/qemu/Makefile.inc index d9db130..6f5ff3a 100644 --- a/src/drivers/emulation/qemu/Makefile.inc +++ b/src/drivers/emulation/qemu/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + bootblock-$(CONFIG_CONSOLE_QEMU_DEBUGCON) += qemu_debugcon.c romstage-$(CONFIG_CONSOLE_QEMU_DEBUGCON) += qemu_debugcon.c postcar-$(CONFIG_CONSOLE_QEMU_DEBUGCON) += qemu_debugcon.c diff --git a/src/drivers/generic/adau7002/Makefile.inc b/src/drivers/generic/adau7002/Makefile.inc index b2f7dfe..3b88a39 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 5f81586..f4f4787 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 3458815..90b4426 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 11249a9..b884208 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 163d439..fdabdc8 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 b134407..df8c096 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 1e10ca9..d1375ef 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 529e24a..8ad86d3 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 0964189..094d235 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 diff --git a/src/drivers/genesyslogic/gl9750/Makefile.inc b/src/drivers/genesyslogic/gl9750/Makefile.inc index 0f771cc..0b357b8 100644 --- a/src/drivers/genesyslogic/gl9750/Makefile.inc +++ b/src/drivers/genesyslogic/gl9750/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_GENESYSLOGIC_GL9750) += gl9750.c diff --git a/src/drivers/genesyslogic/gl9755/Makefile.inc b/src/drivers/genesyslogic/gl9755/Makefile.inc index 995cfd3..f7e7d20 100644 --- a/src/drivers/genesyslogic/gl9755/Makefile.inc +++ b/src/drivers/genesyslogic/gl9755/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_GENESYSLOGIC_GL9755) += gl9755.c diff --git a/src/drivers/genesyslogic/gl9763e/Makefile.inc b/src/drivers/genesyslogic/gl9763e/Makefile.inc index 61a63e6..a148b8f 100644 --- a/src/drivers/genesyslogic/gl9763e/Makefile.inc +++ b/src/drivers/genesyslogic/gl9763e/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_GENESYSLOGIC_GL9763E) += gl9763e.c diff --git a/src/drivers/gfx/generic/Makefile.inc b/src/drivers/gfx/generic/Makefile.inc index 4ffe8dc..a63226b 100644 --- a/src/drivers/gfx/generic/Makefile.inc +++ b/src/drivers/gfx/generic/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_GFX_GENERIC) += generic.c diff --git a/src/drivers/i2c/at24rf08c/Makefile.inc b/src/drivers/i2c/at24rf08c/Makefile.inc index 985aa68..4ac3f1d 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 5ccf4a8..44df26c 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 21a749f..d088e7f 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 05ab562..b7df181 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 354a330..e885506 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 b960a1c..9c084c0 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 86cbc7b..228a75b 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 5c328cb..a22726c 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 1c462dc..49d9d8c 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 e51f706..10e1d8b 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 12162ac..897d90c 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 b17ccf8..75149d4 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 0a8871d..0786e9a 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 09ef81b..de9fb65 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 230f5d6..aa71437 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 3bafee1..c84f7ca 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 6f32643..ada5768 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 9544de0..bb91e50 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 51e9764..63d9bc8 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 21516a6..837e636 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 abe9a05..022f5f8 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 a8b8283..39572b6 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 35c566b..ffd17fc 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 4974a47..133b6c8 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 57eddf3..f511bc5 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 44c76a3..45d179d 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 0516df9..75d577b 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 8811c99..963d230 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 695bb52..278ee10b 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 909ffdb..0e1e7a2 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 ae50f2b..f576109 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 ea0d1a8..b245e5f 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
diff --git a/src/drivers/intel/dptf/Makefile.inc b/src/drivers/intel/dptf/Makefile.inc index 42607f8..41f4158 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 cab2b1d8..dfa4b1c 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 85f67b2..fca8326 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 61c957e..f607135 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 babca2f..668351b 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 fdecc89..bab1789 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 1f6773e..044e2ab 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 bca23aa..1c81485 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 diff --git a/src/drivers/ipmi/Makefile.inc b/src/drivers/ipmi/Makefile.inc index 28ff78c..ade7147 100644 --- a/src/drivers/ipmi/Makefile.inc +++ b/src/drivers/ipmi/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_IPMI_KCS) += ipmi_if.c ramstage-$(CONFIG_IPMI_KCS) += ipmi_kcs.c ramstage-$(CONFIG_IPMI_KCS) += ipmi_kcs_ops.c diff --git a/src/drivers/ipmi/ocp/Makefile.inc b/src/drivers/ipmi/ocp/Makefile.inc index 3d5e69e..8141ed6 100644 --- a/src/drivers/ipmi/ocp/Makefile.inc +++ b/src/drivers/ipmi/ocp/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_IPMI_OCP) += ipmi_ocp.c ipmi_sel.c ifeq ($(CONFIG_IPMI_OCP),y) romstage-$(CONFIG_IPMI_KCS_ROMSTAGE) += ipmi_ocp_romstage.c ipmi_sel.c diff --git a/src/drivers/lenovo/Makefile.inc b/src/drivers/lenovo/Makefile.inc index c50db5b..0b62460 100644 --- a/src/drivers/lenovo/Makefile.inc +++ b/src/drivers/lenovo/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_LENOVO_WACOM) += wacom.c diff --git a/src/drivers/mrc_cache/Makefile.inc b/src/drivers/mrc_cache/Makefile.inc index 0d226fe..44cd1f2 100644 --- a/src/drivers/mrc_cache/Makefile.inc +++ b/src/drivers/mrc_cache/Makefile.inc @@ -1,2 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only + romstage-$(CONFIG_CACHE_MRC_SETTINGS) += mrc_cache.c ramstage-$(CONFIG_CACHE_MRC_SETTINGS) += mrc_cache.c diff --git a/src/drivers/net/Makefile.inc b/src/drivers/net/Makefile.inc index 33c8211..a17547c 100644 --- a/src/drivers/net/Makefile.inc +++ b/src/drivers/net/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c ramstage-$(CONFIG_REALTEK_8168_RESET) += r8168.c diff --git a/src/drivers/net/phy/m88e1512/Makefile.inc b/src/drivers/net/phy/m88e1512/Makefile.inc index 043b3a3..a0433f5 100644 --- a/src/drivers/net/phy/m88e1512/Makefile.inc +++ b/src/drivers/net/phy/m88e1512/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_ETH_PHY_M88E1512) += m88e1512.c diff --git a/src/drivers/nxp/uwb/Makefile.inc b/src/drivers/nxp/uwb/Makefile.inc index 9501a28..b81f7e2 100644 --- a/src/drivers/nxp/uwb/Makefile.inc +++ b/src/drivers/nxp/uwb/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_NXP_UWB_SR1XX) += uwb.c diff --git a/src/drivers/ocp/dmi/Makefile.inc b/src/drivers/ocp/dmi/Makefile.inc index 587ac89..bce5bce 100644 --- a/src/drivers/ocp/dmi/Makefile.inc +++ b/src/drivers/ocp/dmi/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_OCP_DMI) += smbios.c diff --git a/src/drivers/ocp/ewl/Makefile.inc b/src/drivers/ocp/ewl/Makefile.inc index 43112e9..2b3ffb6 100644 --- a/src/drivers/ocp/ewl/Makefile.inc +++ b/src/drivers/ocp/ewl/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + romstage-$(CONFIG_OCP_EWL) += ewl.c diff --git a/src/drivers/ocp/vpd/Makefile.inc b/src/drivers/ocp/vpd/Makefile.inc index b40534a..1cdc63b 100644 --- a/src/drivers/ocp/vpd/Makefile.inc +++ b/src/drivers/ocp/vpd/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + romstage-$(CONFIG_OCP_VPD) += vpd_util.c ramstage-$(CONFIG_OCP_VPD) += vpd_util.c ramstage-$(CONFIG_LINUXPAYLOAD_CMDLINE_VPD_OVERWRITE) += vpd_cmdline.c diff --git a/src/drivers/pc80/pc/Makefile.inc b/src/drivers/pc80/pc/Makefile.inc index 7cf2957..c506011 100644 --- a/src/drivers/pc80/pc/Makefile.inc +++ b/src/drivers/pc80/pc/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_ARCH_X86),y)
ramstage-y += isa-dma.c diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc index 5f6055e..9d24878 100644 --- a/src/drivers/pc80/rtc/Makefile.inc +++ b/src/drivers/pc80/rtc/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_ARCH_X86),y)
all-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c diff --git a/src/drivers/pc80/tpm/Makefile.inc b/src/drivers/pc80/tpm/Makefile.inc index 8592337..384bc40 100644 --- a/src/drivers/pc80/tpm/Makefile.inc +++ b/src/drivers/pc80/tpm/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_MEMORY_MAPPED_TPM),y) all-y += tis.c endif diff --git a/src/drivers/pc80/vga/Makefile.inc b/src/drivers/pc80/vga/Makefile.inc index f7ec2b5..63ec6ba 100644 --- a/src/drivers/pc80/vga/Makefile.inc +++ b/src/drivers/pc80/vga/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_ARCH_X86),y)
romstage-$(CONFIG_ROMSTAGE_VGA) += vga_io.c diff --git a/src/drivers/pcie/generic/Makefile.inc b/src/drivers/pcie/generic/Makefile.inc index f634f25..fd08d37 100644 --- a/src/drivers/pcie/generic/Makefile.inc +++ b/src/drivers/pcie/generic/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_PCIE_GENERIC) += generic.c diff --git a/src/drivers/pcie/rtd3/device/Makefile.inc b/src/drivers/pcie/rtd3/device/Makefile.inc index df4aaf6..23b17ec 100644 --- a/src/drivers/pcie/rtd3/device/Makefile.inc +++ b/src/drivers/pcie/rtd3/device/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_PCIE_RTD3_DEVICE) += chip.c diff --git a/src/drivers/ricoh/rce822/Makefile.inc b/src/drivers/ricoh/rce822/Makefile.inc index 738bd0e..fb30a45 100644 --- a/src/drivers/ricoh/rce822/Makefile.inc +++ b/src/drivers/ricoh/rce822/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_RICOH_RCE822) += rce822.c diff --git a/src/drivers/secunet/dmi/Makefile.inc b/src/drivers/secunet/dmi/Makefile.inc index 9c85485..6f12687 100644 --- a/src/drivers/secunet/dmi/Makefile.inc +++ b/src/drivers/secunet/dmi/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_SECUNET_DMI) += smbios.c diff --git a/src/drivers/sil/3114/Makefile.inc b/src/drivers/sil/3114/Makefile.inc index a3f3ffb..0d151e4 100644 --- a/src/drivers/sil/3114/Makefile.inc +++ b/src/drivers/sil/3114/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SIL_3114) += sil_sata.c diff --git a/src/drivers/smbus/Makefile.inc b/src/drivers/smbus/Makefile.inc index d478889..251dc65 100644 --- a/src/drivers/smbus/Makefile.inc +++ b/src/drivers/smbus/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_SC16IS7XX_INIT),y) bootblock-y += sc16is7xx_init.c romstage-y += sc16is7xx_init.c diff --git a/src/drivers/smmstore/Makefile.inc b/src/drivers/smmstore/Makefile.inc index b37637b..4f69751 100644 --- a/src/drivers/smmstore/Makefile.inc +++ b/src/drivers/smmstore/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + all-$(CONFIG_SMMSTORE) += store.c
ramstage-$(CONFIG_SMMSTORE_V2) += ramstage.c diff --git a/src/drivers/sof/Makefile.inc b/src/drivers/sof/Makefile.inc index 6faabe4..5682511 100644 --- a/src/drivers/sof/Makefile.inc +++ b/src/drivers/sof/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_AUDIO_SOF) += sof.c diff --git a/src/drivers/soundwire/alc1308/Makefile.inc b/src/drivers/soundwire/alc1308/Makefile.inc index 6c3458f..f6430d8 100644 --- a/src/drivers/soundwire/alc1308/Makefile.inc +++ b/src/drivers/soundwire/alc1308/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SOUNDWIRE_ALC1308) += alc1308.c diff --git a/src/drivers/soundwire/alc5682/Makefile.inc b/src/drivers/soundwire/alc5682/Makefile.inc index eab940c..38a9709 100644 --- a/src/drivers/soundwire/alc5682/Makefile.inc +++ b/src/drivers/soundwire/alc5682/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SOUNDWIRE_ALC5682) += alc5682.c diff --git a/src/drivers/soundwire/alc711/Makefile.inc b/src/drivers/soundwire/alc711/Makefile.inc index 78e4d1b..63e0993 100644 --- a/src/drivers/soundwire/alc711/Makefile.inc +++ b/src/drivers/soundwire/alc711/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SOUNDWIRE_ALC711) += alc711.c diff --git a/src/drivers/soundwire/cs42l42/Makefile.inc b/src/drivers/soundwire/cs42l42/Makefile.inc index b2475b8..b7c2261 100644 --- a/src/drivers/soundwire/cs42l42/Makefile.inc +++ b/src/drivers/soundwire/cs42l42/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SOUNDWIRE_CS42L42) += cs42l42.c diff --git a/src/drivers/soundwire/max98363/Makefile.inc b/src/drivers/soundwire/max98363/Makefile.inc index 5501eb3..9c77f46 100644 --- a/src/drivers/soundwire/max98363/Makefile.inc +++ b/src/drivers/soundwire/max98363/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SOUNDWIRE_MAX98363) += max98363.c diff --git a/src/drivers/soundwire/max98373/Makefile.inc b/src/drivers/soundwire/max98373/Makefile.inc index 41c784d..c1efb73 100644 --- a/src/drivers/soundwire/max98373/Makefile.inc +++ b/src/drivers/soundwire/max98373/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_SOUNDWIRE_MAX98373) += max98373.c diff --git a/src/drivers/spi/Makefile.inc b/src/drivers/spi/Makefile.inc index 56ee44b..3a52d8a 100644 --- a/src/drivers/spi/Makefile.inc +++ b/src/drivers/spi/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + # SPI flash driver interface
subdirs-y += tpm diff --git a/src/drivers/spi/tpm/Makefile.inc b/src/drivers/spi/tpm/Makefile.inc index 023479f..e7a5d63 100644 --- a/src/drivers/spi/tpm/Makefile.inc +++ b/src/drivers/spi/tpm/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_TPM)$(CONFIG_SPI_TPM),yy) all-y += tis.c tpm.c endif diff --git a/src/drivers/tpm/Makefile.inc b/src/drivers/tpm/Makefile.inc index 7f0bbf5..3ed5173 100644 --- a/src/drivers/tpm/Makefile.inc +++ b/src/drivers/tpm/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_TPM),y)
ramstage-$(CONFIG_TPM_INIT_RAMSTAGE) += tpm.c diff --git a/src/drivers/uart/Makefile.inc b/src/drivers/uart/Makefile.inc index 912a684..9fd1fb3 100644 --- a/src/drivers/uart/Makefile.inc +++ b/src/drivers/uart/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_DRIVERS_UART),y)
romstage-y += util.c diff --git a/src/drivers/uart/acpi/Makefile.inc b/src/drivers/uart/acpi/Makefile.inc index 848deac..3cf4514 100644 --- a/src/drivers/uart/acpi/Makefile.inc +++ b/src/drivers/uart/acpi/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_UART_ACPI) += acpi.c diff --git a/src/drivers/usb/Makefile.inc b/src/drivers/usb/Makefile.inc index fa995c3..3c29545 100644 --- a/src/drivers/usb/Makefile.inc +++ b/src/drivers/usb/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + bootblock-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c verstage-$(CONFIG_USBDEBUG) += ehci_debug.c console.c romstage-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c diff --git a/src/drivers/usb/acpi/Makefile.inc b/src/drivers/usb/acpi/Makefile.inc index 2e11107..e525b46 100644 --- a/src/drivers/usb/acpi/Makefile.inc +++ b/src/drivers/usb/acpi/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_USB_ACPI) += usb_acpi.c diff --git a/src/drivers/usb/hub/Makefile.inc b/src/drivers/usb/hub/Makefile.inc index a64d622..3222a81 100644 --- a/src/drivers/usb/hub/Makefile.inc +++ b/src/drivers/usb/hub/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_USB_HUB) += acpi.c diff --git a/src/drivers/usb/pci_xhci/Makefile.inc b/src/drivers/usb/pci_xhci/Makefile.inc index 73f6b06..4f9187b 100644 --- a/src/drivers/usb/pci_xhci/Makefile.inc +++ b/src/drivers/usb/pci_xhci/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_USB_PCI_XHCI) += pci_xhci.c diff --git a/src/drivers/wifi/generic/Makefile.inc b/src/drivers/wifi/generic/Makefile.inc index 91f22d1..337b8fe 100644 --- a/src/drivers/wifi/generic/Makefile.inc +++ b/src/drivers/wifi/generic/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only +
ifeq ($(CONFIG_DRIVERS_WIFI_GENERIC),y)
diff --git a/src/drivers/wwan/fm/Makefile.inc b/src/drivers/wwan/fm/Makefile.inc index 8074a08..cc3ff3d 100644 --- a/src/drivers/wwan/fm/Makefile.inc +++ b/src/drivers/wwan/fm/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-$(CONFIG_DRIVERS_WWAN_FM350GL) += acpi_fm350gl.c