summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/acpi/thermal_zone/Makefile.inc2
-rw-r--r--src/drivers/amd/i2s_machine_dev/Makefile.inc2
-rw-r--r--src/drivers/ams/Makefile.inc2
-rw-r--r--src/drivers/aspeed/ast2050/Makefile.inc2
-rw-r--r--src/drivers/aspeed/common/Makefile.inc2
-rw-r--r--src/drivers/camera/Makefile.inc2
-rw-r--r--src/drivers/crb/Makefile.inc2
-rw-r--r--src/drivers/elog/Makefile.inc2
-rw-r--r--src/drivers/emulation/qemu/Makefile.inc2
-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
-rw-r--r--src/drivers/genesyslogic/gl9750/Makefile.inc2
-rw-r--r--src/drivers/genesyslogic/gl9755/Makefile.inc2
-rw-r--r--src/drivers/genesyslogic/gl9763e/Makefile.inc2
-rw-r--r--src/drivers/gfx/generic/Makefile.inc2
-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
-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
-rw-r--r--src/drivers/ipmi/Makefile.inc2
-rw-r--r--src/drivers/ipmi/ocp/Makefile.inc2
-rw-r--r--src/drivers/lenovo/Makefile.inc2
-rw-r--r--src/drivers/mrc_cache/Makefile.inc2
-rw-r--r--src/drivers/net/Makefile.inc2
-rw-r--r--src/drivers/net/phy/m88e1512/Makefile.inc2
-rw-r--r--src/drivers/nxp/uwb/Makefile.inc2
-rw-r--r--src/drivers/ocp/dmi/Makefile.inc2
-rw-r--r--src/drivers/ocp/ewl/Makefile.inc2
-rw-r--r--src/drivers/ocp/vpd/Makefile.inc2
-rw-r--r--src/drivers/pc80/pc/Makefile.inc2
-rw-r--r--src/drivers/pc80/rtc/Makefile.inc2
-rw-r--r--src/drivers/pc80/tpm/Makefile.inc2
-rw-r--r--src/drivers/pc80/vga/Makefile.inc2
-rw-r--r--src/drivers/pcie/generic/Makefile.inc2
-rw-r--r--src/drivers/pcie/rtd3/device/Makefile.inc2
-rw-r--r--src/drivers/ricoh/rce822/Makefile.inc2
-rw-r--r--src/drivers/secunet/dmi/Makefile.inc2
-rw-r--r--src/drivers/sil/3114/Makefile.inc2
-rw-r--r--src/drivers/smbus/Makefile.inc2
-rw-r--r--src/drivers/smmstore/Makefile.inc2
-rw-r--r--src/drivers/sof/Makefile.inc2
-rw-r--r--src/drivers/soundwire/alc1308/Makefile.inc2
-rw-r--r--src/drivers/soundwire/alc5682/Makefile.inc2
-rw-r--r--src/drivers/soundwire/alc711/Makefile.inc2
-rw-r--r--src/drivers/soundwire/cs42l42/Makefile.inc2
-rw-r--r--src/drivers/soundwire/max98363/Makefile.inc2
-rw-r--r--src/drivers/soundwire/max98373/Makefile.inc2
-rw-r--r--src/drivers/spi/Makefile.inc2
-rw-r--r--src/drivers/spi/tpm/Makefile.inc2
-rw-r--r--src/drivers/tpm/Makefile.inc2
-rw-r--r--src/drivers/uart/Makefile.inc2
-rw-r--r--src/drivers/uart/acpi/Makefile.inc2
-rw-r--r--src/drivers/usb/Makefile.inc2
-rw-r--r--src/drivers/usb/acpi/Makefile.inc2
-rw-r--r--src/drivers/usb/hub/Makefile.inc2
-rw-r--r--src/drivers/usb/pci_xhci/Makefile.inc2
-rw-r--r--src/drivers/wifi/generic/Makefile.inc2
-rw-r--r--src/drivers/wwan/fm/Makefile.inc2
101 files changed, 202 insertions, 0 deletions
diff --git a/src/drivers/acpi/thermal_zone/Makefile.inc b/src/drivers/acpi/thermal_zone/Makefile.inc
index 0a15b91667..3bf110c8a5 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 df09f4d016..7d0540f188 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 cf5183196c..f1c1345253 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 9e5b5c54ee..3523d7a1ae 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 1f4b858a5a..f52b5e096a 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 1a6e609465..f2c6eff270 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 5124514cca..d7e8b74ebf 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 370eef44d1..7bc229caf7 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 d9db1304bb..6f5ff3a1d6 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 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
diff --git a/src/drivers/genesyslogic/gl9750/Makefile.inc b/src/drivers/genesyslogic/gl9750/Makefile.inc
index 0f771cc335..0b357b83c9 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 995cfd30f6..f7e7d207b6 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 61a63e6231..a148b8f9f3 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 4ffe8dcc80..a63226b292 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 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
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
diff --git a/src/drivers/ipmi/Makefile.inc b/src/drivers/ipmi/Makefile.inc
index 28ff78c085..ade7147030 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 3d5e69eb12..8141ed6876 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 c50db5b8be..0b62460db2 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 0d226fe89a..44cd1f2f5a 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 33c82118d9..a17547c6e0 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 043b3a3aed..a0433f56f4 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 9501a28c32..b81f7e257d 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 587ac89d00..bce5bceda0 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 43112e94f1..2b3ffb6d31 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 b40534aec4..1cdc63b524 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 7cf2957e7b..c5060116a7 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 5f6055e872..9d248780b1 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 859233712b..384bc40e70 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 f7ec2b5025..63ec6ba6ae 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 f634f256a8..fd08d37639 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 df4aaf63ab..23b17ec2fd 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 738bd0e29f..fb30a453e6 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 9c85485d1e..6f126875a4 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 a3f3ffb328..0d151e4bc6 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 d478889b66..251dc6565d 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 b37637b2b5..4f69751d74 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 6faabe4500..5682511e9f 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 6c3458fa0e..f6430d88e7 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 eab940cbb1..38a97093ce 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 78e4d1b7fe..63e0993435 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 b2475b89d4..b7c2261627 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 5501eb3d10..9c77f46e30 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 41c784d2ee..c1efb73dfe 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 56ee44bd47..3a52d8a8c7 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 023479f0d0..e7a5d6369c 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 7f0bbf59b2..3ed5173db7 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 912a6847d9..9fd1fb3998 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 848deac9b9..3cf4514d21 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 fa995c33cc..3c29545223 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 2e111078ad..e525b466c9 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 a64d622a03..3222a81db3 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 73f6b068a8..4f9187baa8 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 91f22d163e..337b8fe1ec 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 8074a0869a..cc3ff3d615 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