summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/apple/macbook21/Makefile.inc2
-rw-r--r--src/mainboard/apple/macbookair4_2/Makefile.inc2
-rw-r--r--src/mainboard/asrock/b85m_pro4/Makefile.inc2
-rw-r--r--src/mainboard/asrock/g41c-gs/Makefile.inc2
-rw-r--r--src/mainboard/asus/p2b/Makefile.inc2
-rw-r--r--src/mainboard/asus/p5gc-mx/Makefile.inc2
-rw-r--r--src/mainboard/asus/p5qpl-am/Makefile.inc2
-rw-r--r--src/mainboard/biostar/th61-itx/Makefile.inc2
-rw-r--r--src/mainboard/bytedance/bd_egs/Makefile.inc2
-rw-r--r--src/mainboard/clevo/cml-u/Makefile.inc2
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc2
-rw-r--r--src/mainboard/clevo/tgl-u/Makefile.inc2
-rw-r--r--src/mainboard/clevo/tgl-u/variants/l140mu/Makefile.inc2
-rw-r--r--src/mainboard/compulab/intense_pc/Makefile.inc2
-rw-r--r--src/mainboard/emulation/qemu-i440fx/Makefile.inc2
-rw-r--r--src/mainboard/emulation/qemu-q35/Makefile.inc2
-rw-r--r--src/mainboard/foxconn/d41s/Makefile.inc2
-rw-r--r--src/mainboard/foxconn/g41s-k/Makefile.inc2
-rw-r--r--src/mainboard/gigabyte/ga-945gcm-s2l/Makefile.inc2
-rw-r--r--src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc2
-rw-r--r--src/mainboard/gigabyte/ga-h61m-series/Makefile.inc2
-rw-r--r--src/mainboard/google/asurada/Makefile.inc2
-rw-r--r--src/mainboard/google/asurada/sdram_params/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/aurash/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brask/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/hades/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/nissa/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/brya0/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/crota/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/gaelin/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/gothrax/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/hades/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/moli/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/skolas/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/skolas4es/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/taeko/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/taeko4es/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/taniks/Makefile.inc2
-rw-r--r--src/mainboard/google/cherry/Makefile.inc2
-rw-r--r--src/mainboard/google/corsola/Makefile.inc2
-rw-r--r--src/mainboard/google/dedede/Makefile.inc2
-rw-r--r--src/mainboard/google/dedede/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/fizz/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/fizz/variants/endeavour/Makefile.inc2
-rw-r--r--src/mainboard/google/fizz/variants/karma/Makefile.inc2
-rw-r--r--src/mainboard/google/geralt/Makefile.inc2
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/kukui/Makefile.inc2
-rw-r--r--src/mainboard/google/kukui/sdram_params/Makefile.inc2
-rw-r--r--src/mainboard/google/mistral/Makefile.inc1
-rw-r--r--src/mainboard/google/myst/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/ampton/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/bloog/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/bobba/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/casta/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/dood/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/fleex/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/foob/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/garg/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/lick/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/meep/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/phaser/Makefile.inc2
-rw-r--r--src/mainboard/google/octopus/variants/yorp/Makefile.inc2
-rw-r--r--src/mainboard/google/poppy/spd/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/atlas/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/poppy/variants/nami/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/poppy/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/rammus/Makefile.inc2
-rw-r--r--src/mainboard/google/poppy/variants/soraka/Makefile.inc1
-rw-r--r--src/mainboard/google/reef/Makefile.inc2
-rw-r--r--src/mainboard/google/reef/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/google/reef/variants/coral/Makefile.inc2
-rw-r--r--src/mainboard/google/reef/variants/pyro/Makefile.inc2
-rw-r--r--src/mainboard/google/reef/variants/snappy/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/variants/baseboard/ovis/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/variants/baseboard/rex/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/variants/karis/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/variants/ovis/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/variants/rex0/Makefile.inc2
-rw-r--r--src/mainboard/google/rex/variants/screebo/Makefile.inc2
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/hp/compaq_8200_elite_sff/Makefile.inc2
-rw-r--r--src/mainboard/hp/compaq_elite_8300_usdt/Makefile.inc2
-rw-r--r--src/mainboard/hp/folio_9480m/Makefile.inc2
-rw-r--r--src/mainboard/hp/z220_series/Makefile.inc2
-rw-r--r--src/mainboard/ibase/mb899/Makefile.inc2
-rw-r--r--src/mainboard/ibm/sbp1/Makefile.inc2
-rw-r--r--src/mainboard/intel/apollolake_rvp/Makefile.inc2
-rw-r--r--src/mainboard/intel/archercity_crb/Makefile.inc2
-rw-r--r--src/mainboard/intel/cedarisland_crb/Makefile.inc2
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/intel/d510mo/Makefile.inc2
-rw-r--r--src/mainboard/intel/d945gclf/Makefile.inc2
-rw-r--r--src/mainboard/intel/dcp847ske/Makefile.inc2
-rw-r--r--src/mainboard/intel/dg41wv/Makefile.inc2
-rw-r--r--src/mainboard/intel/dq67sw/Makefile.inc2
-rw-r--r--src/mainboard/intel/glkrvp/Makefile.inc2
-rw-r--r--src/mainboard/intel/glkrvp/variants/baseboard/Makefile.inc2
-rw-r--r--src/mainboard/intel/leafhill/Makefile.inc2
-rw-r--r--src/mainboard/intel/minnow3/Makefile.inc2
-rw-r--r--src/mainboard/inventec/transformers/Makefile.inc2
-rw-r--r--src/mainboard/kontron/986lcd-m/Makefile.inc2
-rw-r--r--src/mainboard/kontron/ktqm77/Makefile.inc2
-rw-r--r--src/mainboard/kontron/mal10/Makefile.inc2
-rw-r--r--src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc2
-rw-r--r--src/mainboard/kontron/mal10/variants/mal10/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/haswell/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/s230u/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/t430/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/thinkcentre_a58/Makefile.inc2
-rw-r--r--src/mainboard/msi/h81m-p33/Makefile.inc2
-rw-r--r--src/mainboard/msi/ms7707/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl2/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl3/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl4/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl5/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl6/Makefile.inc2
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc2
-rw-r--r--src/mainboard/supermicro/x9scl/Makefile.inc2
-rw-r--r--src/mainboard/system76/addw1/Makefile.inc2
-rw-r--r--src/mainboard/system76/adl/Makefile.inc2
-rw-r--r--src/mainboard/system76/bonw14/Makefile.inc2
-rw-r--r--src/mainboard/system76/cml-u/Makefile.inc2
-rw-r--r--src/mainboard/system76/gaze15/Makefile.inc2
-rw-r--r--src/mainboard/system76/kbl-u/Makefile.inc2
-rw-r--r--src/mainboard/system76/oryp5/Makefile.inc2
-rw-r--r--src/mainboard/system76/oryp6/Makefile.inc2
-rw-r--r--src/mainboard/system76/tgl-u/Makefile.inc2
-rw-r--r--src/mainboard/system76/whl-u/Makefile.inc2
-rw-r--r--src/mainboard/up/squared/Makefile.inc2
142 files changed, 275 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbook21/Makefile.inc b/src/mainboard/apple/macbook21/Makefile.inc
index 58198971cd..115d7e9cbd 100644
--- a/src/mainboard/apple/macbook21/Makefile.inc
+++ b/src/mainboard/apple/macbook21/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += gpio.c
bootblock-y += early_init.c
romstage-y += early_init.c
diff --git a/src/mainboard/apple/macbookair4_2/Makefile.inc b/src/mainboard/apple/macbookair4_2/Makefile.inc
index 665a95f195..36e42581cf 100644
--- a/src/mainboard/apple/macbookair4_2/Makefile.inc
+++ b/src/mainboard/apple/macbookair4_2/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gnvs.c
diff --git a/src/mainboard/asrock/b85m_pro4/Makefile.inc b/src/mainboard/asrock/b85m_pro4/Makefile.inc
index d9a8d18d0d..54643607ce 100644
--- a/src/mainboard/asrock/b85m_pro4/Makefile.inc
+++ b/src/mainboard/asrock/b85m_pro4/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/asrock/g41c-gs/Makefile.inc b/src/mainboard/asrock/g41c-gs/Makefile.inc
index ab352cb73d..bb906a65a0 100644
--- a/src/mainboard/asrock/g41c-gs/Makefile.inc
+++ b/src/mainboard/asrock/g41c-gs/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
diff --git a/src/mainboard/asus/p2b/Makefile.inc b/src/mainboard/asus/p2b/Makefile.inc
index eb48944b6e..6e1fb3fef1 100644
--- a/src/mainboard/asus/p2b/Makefile.inc
+++ b/src/mainboard/asus/p2b/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-$(CONFIG_BOARD_ASUS_P3B_F) += variants/$(VARIANT_DIR)/romstage.c
diff --git a/src/mainboard/asus/p5gc-mx/Makefile.inc b/src/mainboard/asus/p5gc-mx/Makefile.inc
index a34f3f31c7..95250e28a6 100644
--- a/src/mainboard/asus/p5gc-mx/Makefile.inc
+++ b/src/mainboard/asus/p5gc-mx/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c
diff --git a/src/mainboard/asus/p5qpl-am/Makefile.inc b/src/mainboard/asus/p5qpl-am/Makefile.inc
index ab352cb73d..bb906a65a0 100644
--- a/src/mainboard/asus/p5qpl-am/Makefile.inc
+++ b/src/mainboard/asus/p5qpl-am/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
diff --git a/src/mainboard/biostar/th61-itx/Makefile.inc b/src/mainboard/biostar/th61-itx/Makefile.inc
index 549a84fd12..33b55d2d4f 100644
--- a/src/mainboard/biostar/th61-itx/Makefile.inc
+++ b/src/mainboard/biostar/th61-itx/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/bytedance/bd_egs/Makefile.inc b/src/mainboard/bytedance/bd_egs/Makefile.inc
index e6e739e4e1..be3ae0c8a2 100644
--- a/src/mainboard/bytedance/bd_egs/Makefile.inc
+++ b/src/mainboard/bytedance/bd_egs/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c gpio.c
romstage-y += romstage.c
ramstage-y += ramstage.c gpio.c
diff --git a/src/mainboard/clevo/cml-u/Makefile.inc b/src/mainboard/clevo/cml-u/Makefile.inc
index e71e87a07d..babadf538a 100644
--- a/src/mainboard/clevo/cml-u/Makefile.inc
+++ b/src/mainboard/clevo/cml-u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/acpi
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc b/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc
index 09089b43ad..7f547fb03a 100644
--- a/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc
+++ b/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
SPD_SOURCES = samsung-K4AAG165WA-BCTD
diff --git a/src/mainboard/clevo/tgl-u/Makefile.inc b/src/mainboard/clevo/tgl-u/Makefile.inc
index 0d57383595..ae492df429 100644
--- a/src/mainboard/clevo/tgl-u/Makefile.inc
+++ b/src/mainboard/clevo/tgl-u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/acpi
diff --git a/src/mainboard/clevo/tgl-u/variants/l140mu/Makefile.inc b/src/mainboard/clevo/tgl-u/variants/l140mu/Makefile.inc
index 10cb4fb8af..361cbcd7bc 100644
--- a/src/mainboard/clevo/tgl-u/variants/l140mu/Makefile.inc
+++ b/src/mainboard/clevo/tgl-u/variants/l140mu/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
SPD_SOURCES = samsung-M471A1G44AB0-CWE
diff --git a/src/mainboard/compulab/intense_pc/Makefile.inc b/src/mainboard/compulab/intense_pc/Makefile.inc
index e402ffa605..e4b6fbf0f0 100644
--- a/src/mainboard/compulab/intense_pc/Makefile.inc
+++ b/src/mainboard/compulab/intense_pc/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/emulation/qemu-i440fx/Makefile.inc b/src/mainboard/emulation/qemu-i440fx/Makefile.inc
index 7bd1c02121..7d6041b62d 100644
--- a/src/mainboard/emulation/qemu-i440fx/Makefile.inc
+++ b/src/mainboard/emulation/qemu-i440fx/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += memmap.c
postcar-y += memmap.c
diff --git a/src/mainboard/emulation/qemu-q35/Makefile.inc b/src/mainboard/emulation/qemu-q35/Makefile.inc
index dc4e794368..f4a89be06f 100644
--- a/src/mainboard/emulation/qemu-q35/Makefile.inc
+++ b/src/mainboard/emulation/qemu-q35/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
bootblock-y += memmap.c
diff --git a/src/mainboard/foxconn/d41s/Makefile.inc b/src/mainboard/foxconn/d41s/Makefile.inc
index 057b5bfcd3..6e0b91475c 100644
--- a/src/mainboard/foxconn/d41s/Makefile.inc
+++ b/src/mainboard/foxconn/d41s/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += early_init.c
bootblock-y += early_init.c
ramstage-y += cstates.c
diff --git a/src/mainboard/foxconn/g41s-k/Makefile.inc b/src/mainboard/foxconn/g41s-k/Makefile.inc
index 161c623eaa..b4e5dcc3d7 100644
--- a/src/mainboard/foxconn/g41s-k/Makefile.inc
+++ b/src/mainboard/foxconn/g41s-k/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
diff --git a/src/mainboard/gigabyte/ga-945gcm-s2l/Makefile.inc b/src/mainboard/gigabyte/ga-945gcm-s2l/Makefile.inc
index a34f3f31c7..95250e28a6 100644
--- a/src/mainboard/gigabyte/ga-945gcm-s2l/Makefile.inc
+++ b/src/mainboard/gigabyte/ga-945gcm-s2l/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc b/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
index 4100476891..de8c51494d 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
diff --git a/src/mainboard/gigabyte/ga-h61m-series/Makefile.inc b/src/mainboard/gigabyte/ga-h61m-series/Makefile.inc
index 9916927d25..6b13e84fbc 100644
--- a/src/mainboard/gigabyte/ga-h61m-series/Makefile.inc
+++ b/src/mainboard/gigabyte/ga-h61m-series/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
diff --git a/src/mainboard/google/asurada/Makefile.inc b/src/mainboard/google/asurada/Makefile.inc
index 84600b69ca..63073bcbf7 100644
--- a/src/mainboard/google/asurada/Makefile.inc
+++ b/src/mainboard/google/asurada/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
subdirs-y += sdram_params/
bootblock-y += memlayout.ld
diff --git a/src/mainboard/google/asurada/sdram_params/Makefile.inc b/src/mainboard/google/asurada/sdram_params/Makefile.inc
index 20df2ba6cb..2ce244252a 100644
--- a/src/mainboard/google/asurada/sdram_params/Makefile.inc
+++ b/src/mainboard/google/asurada/sdram_params/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
sdram-params :=
# Generic parameters
diff --git a/src/mainboard/google/brya/Makefile.inc b/src/mainboard/google/brya/Makefile.inc
index b98c3ee87c..8c7e42d5f7 100644
--- a/src/mainboard/google/brya/Makefile.inc
+++ b/src/mainboard/google/brya/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c
diff --git a/src/mainboard/google/brya/variants/aurash/Makefile.inc b/src/mainboard/google/brya/variants/aurash/Makefile.inc
index b799b4d7b8..35cff38dc8 100644
--- a/src/mainboard/google/brya/variants/aurash/Makefile.inc
+++ b/src/mainboard/google/brya/variants/aurash/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/baseboard/brask/Makefile.inc b/src/mainboard/google/brya/variants/baseboard/brask/Makefile.inc
index 8121d7e3ae..96950d7b7d 100644
--- a/src/mainboard/google/brya/variants/baseboard/brask/Makefile.inc
+++ b/src/mainboard/google/brya/variants/baseboard/brask/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc b/src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc
index f2efc1de30..3a6695828f 100644
--- a/src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc
+++ b/src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/brya/variants/baseboard/hades/Makefile.inc b/src/mainboard/google/brya/variants/baseboard/hades/Makefile.inc
index 7c75e20e41..47123cd318 100644
--- a/src/mainboard/google/brya/variants/baseboard/hades/Makefile.inc
+++ b/src/mainboard/google/brya/variants/baseboard/hades/Makefile.inc
@@ -1,2 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += memory.c
ramstage-y += ramstage.c
diff --git a/src/mainboard/google/brya/variants/baseboard/nissa/Makefile.inc b/src/mainboard/google/brya/variants/baseboard/nissa/Makefile.inc
index 53aaa41148..3743228e8e 100644
--- a/src/mainboard/google/brya/variants/baseboard/nissa/Makefile.inc
+++ b/src/mainboard/google/brya/variants/baseboard/nissa/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/brya/variants/brya0/Makefile.inc b/src/mainboard/google/brya/variants/brya0/Makefile.inc
index 52d03980da..4a7ff71e45 100644
--- a/src/mainboard/google/brya/variants/brya0/Makefile.inc
+++ b/src/mainboard/google/brya/variants/brya0/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
diff --git a/src/mainboard/google/brya/variants/crota/Makefile.inc b/src/mainboard/google/brya/variants/crota/Makefile.inc
index f9d5990ace..ebdc2e38e2 100644
--- a/src/mainboard/google/brya/variants/crota/Makefile.inc
+++ b/src/mainboard/google/brya/variants/crota/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/gaelin/Makefile.inc b/src/mainboard/google/brya/variants/gaelin/Makefile.inc
index 7d1f88652d..2cddd114ad 100644
--- a/src/mainboard/google/brya/variants/gaelin/Makefile.inc
+++ b/src/mainboard/google/brya/variants/gaelin/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/gothrax/Makefile.inc b/src/mainboard/google/brya/variants/gothrax/Makefile.inc
index 6c29346470..a49954cc35 100644
--- a/src/mainboard/google/brya/variants/gothrax/Makefile.inc
+++ b/src/mainboard/google/brya/variants/gothrax/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/hades/Makefile.inc b/src/mainboard/google/brya/variants/hades/Makefile.inc
index 81d298a708..e272dc2d76 100644
--- a/src/mainboard/google/brya/variants/hades/Makefile.inc
+++ b/src/mainboard/google/brya/variants/hades/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/moli/Makefile.inc b/src/mainboard/google/brya/variants/moli/Makefile.inc
index b799b4d7b8..35cff38dc8 100644
--- a/src/mainboard/google/brya/variants/moli/Makefile.inc
+++ b/src/mainboard/google/brya/variants/moli/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/skolas/Makefile.inc b/src/mainboard/google/brya/variants/skolas/Makefile.inc
index 52d03980da..4a7ff71e45 100644
--- a/src/mainboard/google/brya/variants/skolas/Makefile.inc
+++ b/src/mainboard/google/brya/variants/skolas/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
diff --git a/src/mainboard/google/brya/variants/skolas4es/Makefile.inc b/src/mainboard/google/brya/variants/skolas4es/Makefile.inc
index 52d03980da..4a7ff71e45 100644
--- a/src/mainboard/google/brya/variants/skolas4es/Makefile.inc
+++ b/src/mainboard/google/brya/variants/skolas4es/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
diff --git a/src/mainboard/google/brya/variants/taeko/Makefile.inc b/src/mainboard/google/brya/variants/taeko/Makefile.inc
index 396e5be222..47f0432aeb 100644
--- a/src/mainboard/google/brya/variants/taeko/Makefile.inc
+++ b/src/mainboard/google/brya/variants/taeko/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/taeko4es/Makefile.inc b/src/mainboard/google/brya/variants/taeko4es/Makefile.inc
index 396e5be222..47f0432aeb 100644
--- a/src/mainboard/google/brya/variants/taeko4es/Makefile.inc
+++ b/src/mainboard/google/brya/variants/taeko4es/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/taniks/Makefile.inc b/src/mainboard/google/brya/variants/taniks/Makefile.inc
index 3ee0dc9e0d..61a70ec0ef 100644
--- a/src/mainboard/google/brya/variants/taniks/Makefile.inc
+++ b/src/mainboard/google/brya/variants/taniks/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/cherry/Makefile.inc b/src/mainboard/google/cherry/Makefile.inc
index 4edbd38799..5fe133919c 100644
--- a/src/mainboard/google/cherry/Makefile.inc
+++ b/src/mainboard/google/cherry/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += memlayout.ld
bootblock-y += bootblock.c
bootblock-y += chromeos.c
diff --git a/src/mainboard/google/corsola/Makefile.inc b/src/mainboard/google/corsola/Makefile.inc
index da6775af2e..dce226f20c 100644
--- a/src/mainboard/google/corsola/Makefile.inc
+++ b/src/mainboard/google/corsola/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += memlayout.ld
bootblock-y += bootblock.c
bootblock-y += chromeos.c
diff --git a/src/mainboard/google/dedede/Makefile.inc b/src/mainboard/google/dedede/Makefile.inc
index ec1c065107..fdc26306bb 100644
--- a/src/mainboard/google/dedede/Makefile.inc
+++ b/src/mainboard/google/dedede/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
bootblock-$(CONFIG_CHROMEOS) += chromeos.c
diff --git a/src/mainboard/google/dedede/variants/baseboard/Makefile.inc b/src/mainboard/google/dedede/variants/baseboard/Makefile.inc
index 2c3f2f6989..a58371afe9 100644
--- a/src/mainboard/google/dedede/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/fizz/variants/baseboard/Makefile.inc b/src/mainboard/google/fizz/variants/baseboard/Makefile.inc
index 0ad298b5f4..476f28f18c 100644
--- a/src/mainboard/google/fizz/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/fizz/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/fizz/variants/endeavour/Makefile.inc b/src/mainboard/google/fizz/variants/endeavour/Makefile.inc
index ded8a3572a..6ff6456dd0 100644
--- a/src/mainboard/google/fizz/variants/endeavour/Makefile.inc
+++ b/src/mainboard/google/fizz/variants/endeavour/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/fizz/variants/karma/Makefile.inc b/src/mainboard/google/fizz/variants/karma/Makefile.inc
index ec115e4655..8d74101bb8 100644
--- a/src/mainboard/google/fizz/variants/karma/Makefile.inc
+++ b/src/mainboard/google/fizz/variants/karma/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/geralt/Makefile.inc b/src/mainboard/google/geralt/Makefile.inc
index d2fda23b87..9a35496502 100644
--- a/src/mainboard/google/geralt/Makefile.inc
+++ b/src/mainboard/google/geralt/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += memlayout.ld
bootblock-y += bootblock.c
bootblock-y += chromeos.c
diff --git a/src/mainboard/google/guybrush/variants/baseboard/Makefile.inc b/src/mainboard/google/guybrush/variants/baseboard/Makefile.inc
index cfd3faa6a6..74d030dd74 100644
--- a/src/mainboard/google/guybrush/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/guybrush/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
bootblock-y += helpers.c
diff --git a/src/mainboard/google/kukui/Makefile.inc b/src/mainboard/google/kukui/Makefile.inc
index 968ee19627..7b0298d61e 100644
--- a/src/mainboard/google/kukui/Makefile.inc
+++ b/src/mainboard/google/kukui/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
subdirs-y += sdram_params/
subdirs-y += panel_params/
diff --git a/src/mainboard/google/kukui/sdram_params/Makefile.inc b/src/mainboard/google/kukui/sdram_params/Makefile.inc
index cb8f427413..e7fc110973 100644
--- a/src/mainboard/google/kukui/sdram_params/Makefile.inc
+++ b/src/mainboard/google/kukui/sdram_params/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
sdram-params :=
sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCR-4GB
sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB
diff --git a/src/mainboard/google/mistral/Makefile.inc b/src/mainboard/google/mistral/Makefile.inc
index 48faadf2e8..1cbaa8b3fa 100644
--- a/src/mainboard/google/mistral/Makefile.inc
+++ b/src/mainboard/google/mistral/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += chromeos.c
bootblock-y += reset.c
diff --git a/src/mainboard/google/myst/variants/baseboard/Makefile.inc b/src/mainboard/google/myst/variants/baseboard/Makefile.inc
index 9e9ec0dc53..d5e133a9ec 100644
--- a/src/mainboard/google/myst/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/myst/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
diff --git a/src/mainboard/google/octopus/Makefile.inc b/src/mainboard/google/octopus/Makefile.inc
index dd49610f89..accb4633f3 100644
--- a/src/mainboard/google/octopus/Makefile.inc
+++ b/src/mainboard/google/octopus/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
bootblock-y += ec.c
diff --git a/src/mainboard/google/octopus/variants/ampton/Makefile.inc b/src/mainboard/google/octopus/variants/ampton/Makefile.inc
index dc1c1fe1eb..c717243fae 100644
--- a/src/mainboard/google/octopus/variants/ampton/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/ampton/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/baseboard/Makefile.inc b/src/mainboard/google/octopus/variants/baseboard/Makefile.inc
index 06f125c862..ace6dee630 100644
--- a/src/mainboard/google/octopus/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/octopus/variants/bloog/Makefile.inc b/src/mainboard/google/octopus/variants/bloog/Makefile.inc
index 5228e706f1..86a53c078e 100644
--- a/src/mainboard/google/octopus/variants/bloog/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/bloog/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/bobba/Makefile.inc b/src/mainboard/google/octopus/variants/bobba/Makefile.inc
index a854b669d3..17f22e52aa 100644
--- a/src/mainboard/google/octopus/variants/bobba/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/bobba/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/casta/Makefile.inc b/src/mainboard/google/octopus/variants/casta/Makefile.inc
index ba865e9f82..3c26f0ae68 100644
--- a/src/mainboard/google/octopus/variants/casta/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/casta/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/dood/Makefile.inc b/src/mainboard/google/octopus/variants/dood/Makefile.inc
index a854b669d3..17f22e52aa 100644
--- a/src/mainboard/google/octopus/variants/dood/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/dood/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/fleex/Makefile.inc b/src/mainboard/google/octopus/variants/fleex/Makefile.inc
index 9a649bda6a..ac62f6b7ba 100644
--- a/src/mainboard/google/octopus/variants/fleex/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/fleex/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/foob/Makefile.inc b/src/mainboard/google/octopus/variants/foob/Makefile.inc
index 86a10df2a0..a2f85b09f6 100644
--- a/src/mainboard/google/octopus/variants/foob/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/foob/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/garg/Makefile.inc b/src/mainboard/google/octopus/variants/garg/Makefile.inc
index 16211b7eab..6d41a6d35c 100644
--- a/src/mainboard/google/octopus/variants/garg/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/garg/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/lick/Makefile.inc b/src/mainboard/google/octopus/variants/lick/Makefile.inc
index 9fb63f5f43..9f8b7815b5 100644
--- a/src/mainboard/google/octopus/variants/lick/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/lick/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/meep/Makefile.inc b/src/mainboard/google/octopus/variants/meep/Makefile.inc
index 7277888358..4526e12ac6 100644
--- a/src/mainboard/google/octopus/variants/meep/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/meep/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/phaser/Makefile.inc b/src/mainboard/google/octopus/variants/phaser/Makefile.inc
index 1b171c5e31..eda39ac58d 100644
--- a/src/mainboard/google/octopus/variants/phaser/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/phaser/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/octopus/variants/yorp/Makefile.inc b/src/mainboard/google/octopus/variants/yorp/Makefile.inc
index 0ec849f5b5..f1a61afdcc 100644
--- a/src/mainboard/google/octopus/variants/yorp/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/yorp/Makefile.inc
@@ -1,2 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/poppy/spd/Makefile.inc b/src/mainboard/google/poppy/spd/Makefile.inc
index 997352cd0c..83fbfc5cc6 100644
--- a/src/mainboard/google/poppy/spd/Makefile.inc
+++ b/src/mainboard/google/poppy/spd/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
SEC_SPD_BIN = $(obj)/sec-spd.bin
diff --git a/src/mainboard/google/poppy/variants/atlas/Makefile.inc b/src/mainboard/google/poppy/variants/atlas/Makefile.inc
index 397ef687e9..dc9062ced6 100644
--- a/src/mainboard/google/poppy/variants/atlas/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/atlas/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF # 0b0001
diff --git a/src/mainboard/google/poppy/variants/baseboard/Makefile.inc b/src/mainboard/google/poppy/variants/baseboard/Makefile.inc
index 41669f2114..0d70ca23dd 100644
--- a/src/mainboard/google/poppy/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/poppy/variants/nami/Makefile.inc b/src/mainboard/google/poppy/variants/nami/Makefile.inc
index 7c1e4808a6..7d9e81edc2 100644
--- a/src/mainboard/google/poppy/variants/nami/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/nami/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
# IMPORTANT!! When a new memory SPD is added here, please ensure that ddp_bitmap
# is correctly updated in memory.c to indicate if memory id is using DDP.
diff --git a/src/mainboard/google/poppy/variants/nautilus/Makefile.inc b/src/mainboard/google/poppy/variants/nautilus/Makefile.inc
index 3a36b83bda..80e43fd6a2 100644
--- a/src/mainboard/google/poppy/variants/nautilus/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/nautilus/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = samsung_dimm_K4E8E324EB-EGCF # 0b0000
SPD_SOURCES += samsung_dimm_K4E6E304EB-EGCF # 0b0001
diff --git a/src/mainboard/google/poppy/variants/nocturne/Makefile.inc b/src/mainboard/google/poppy/variants/nocturne/Makefile.inc
index 371655a94e..f5544f6f6a 100644
--- a/src/mainboard/google/poppy/variants/nocturne/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/nocturne/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF # 0b0001 4GB
diff --git a/src/mainboard/google/poppy/variants/poppy/Makefile.inc b/src/mainboard/google/poppy/variants/poppy/Makefile.inc
index ecd1451ea2..15d803a8c0 100644
--- a/src/mainboard/google/poppy/variants/poppy/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/poppy/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += micron_dimm_MT52L256M64D2PP-107 # 0b0001
diff --git a/src/mainboard/google/poppy/variants/rammus/Makefile.inc b/src/mainboard/google/poppy/variants/rammus/Makefile.inc
index 2baeb52494..6bee4f878d 100644
--- a/src/mainboard/google/poppy/variants/rammus/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/rammus/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
SPD_SOURCES = micron_dimm_MT52L512M32D2PF-093 # 0b0000
SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF # 0b0001
SPD_SOURCES += micron_dimm_MT52L256M32D1PF-093 # 0b0010
diff --git a/src/mainboard/google/poppy/variants/soraka/Makefile.inc b/src/mainboard/google/poppy/variants/soraka/Makefile.inc
index 9b14da6c81..ec06f40e9d 100644
--- a/src/mainboard/google/poppy/variants/soraka/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/soraka/Makefile.inc
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += micron_dimm_MT52L256M64D2PP-107 # 0b0001
diff --git a/src/mainboard/google/reef/Makefile.inc b/src/mainboard/google/reef/Makefile.inc
index dd49610f89..accb4633f3 100644
--- a/src/mainboard/google/reef/Makefile.inc
+++ b/src/mainboard/google/reef/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
bootblock-y += ec.c
diff --git a/src/mainboard/google/reef/variants/baseboard/Makefile.inc b/src/mainboard/google/reef/variants/baseboard/Makefile.inc
index 1484261aed..8ee85aff93 100644
--- a/src/mainboard/google/reef/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/reef/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/reef/variants/coral/Makefile.inc b/src/mainboard/google/reef/variants/coral/Makefile.inc
index 440ec9c545..9ec0276a09 100644
--- a/src/mainboard/google/reef/variants/coral/Makefile.inc
+++ b/src/mainboard/google/reef/variants/coral/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += mainboard.c
diff --git a/src/mainboard/google/reef/variants/pyro/Makefile.inc b/src/mainboard/google/reef/variants/pyro/Makefile.inc
index fd45b948ff..be05cd4e5c 100644
--- a/src/mainboard/google/reef/variants/pyro/Makefile.inc
+++ b/src/mainboard/google/reef/variants/pyro/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += memory.c
diff --git a/src/mainboard/google/reef/variants/snappy/Makefile.inc b/src/mainboard/google/reef/variants/snappy/Makefile.inc
index f3c87b2318..ffdfd17716 100644
--- a/src/mainboard/google/reef/variants/snappy/Makefile.inc
+++ b/src/mainboard/google/reef/variants/snappy/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += mainboard.c
diff --git a/src/mainboard/google/rex/Makefile.inc b/src/mainboard/google/rex/Makefile.inc
index cd6be13738..8c60c591aa 100644
--- a/src/mainboard/google/rex/Makefile.inc
+++ b/src/mainboard/google/rex/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c
diff --git a/src/mainboard/google/rex/variants/baseboard/ovis/Makefile.inc b/src/mainboard/google/rex/variants/baseboard/ovis/Makefile.inc
index bb3620adae..2bf1925f37 100644
--- a/src/mainboard/google/rex/variants/baseboard/ovis/Makefile.inc
+++ b/src/mainboard/google/rex/variants/baseboard/ovis/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += memory.c
ramstage-y += ramstage.c
diff --git a/src/mainboard/google/rex/variants/baseboard/rex/Makefile.inc b/src/mainboard/google/rex/variants/baseboard/rex/Makefile.inc
index bb3620adae..2bf1925f37 100644
--- a/src/mainboard/google/rex/variants/baseboard/rex/Makefile.inc
+++ b/src/mainboard/google/rex/variants/baseboard/rex/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += memory.c
ramstage-y += ramstage.c
diff --git a/src/mainboard/google/rex/variants/karis/Makefile.inc b/src/mainboard/google/rex/variants/karis/Makefile.inc
index 6c29346470..a49954cc35 100644
--- a/src/mainboard/google/rex/variants/karis/Makefile.inc
+++ b/src/mainboard/google/rex/variants/karis/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/rex/variants/ovis/Makefile.inc b/src/mainboard/google/rex/variants/ovis/Makefile.inc
index b7851227d7..4c33dad4db 100644
--- a/src/mainboard/google/rex/variants/ovis/Makefile.inc
+++ b/src/mainboard/google/rex/variants/ovis/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/rex/variants/rex0/Makefile.inc b/src/mainboard/google/rex/variants/rex0/Makefile.inc
index cdbf407ca5..0f9a28b2b5 100644
--- a/src/mainboard/google/rex/variants/rex0/Makefile.inc
+++ b/src/mainboard/google/rex/variants/rex0/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/rex/variants/screebo/Makefile.inc b/src/mainboard/google/rex/variants/screebo/Makefile.inc
index 192041b425..8bea0ff390 100644
--- a/src/mainboard/google/rex/variants/screebo/Makefile.inc
+++ b/src/mainboard/google/rex/variants/screebo/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/google/skyrim/variants/baseboard/Makefile.inc b/src/mainboard/google/skyrim/variants/baseboard/Makefile.inc
index 7828cf1bff..0f7cc89975 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/skyrim/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/hp/compaq_8200_elite_sff/Makefile.inc b/src/mainboard/hp/compaq_8200_elite_sff/Makefile.inc
index f0b34f9840..2099428db9 100644
--- a/src/mainboard/hp/compaq_8200_elite_sff/Makefile.inc
+++ b/src/mainboard/hp/compaq_8200_elite_sff/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/hp/compaq_elite_8300_usdt/Makefile.inc b/src/mainboard/hp/compaq_elite_8300_usdt/Makefile.inc
index 18391d8b18..fb492d3583 100644
--- a/src/mainboard/hp/compaq_elite_8300_usdt/Makefile.inc
+++ b/src/mainboard/hp/compaq_elite_8300_usdt/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += early_init.c
bootblock-y += gpio.c
romstage-y += early_init.c
diff --git a/src/mainboard/hp/folio_9480m/Makefile.inc b/src/mainboard/hp/folio_9480m/Makefile.inc
index ebe01aea99..6f4727ab81 100644
--- a/src/mainboard/hp/folio_9480m/Makefile.inc
+++ b/src/mainboard/hp/folio_9480m/Makefile.inc
@@ -1,2 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/hp/z220_series/Makefile.inc b/src/mainboard/hp/z220_series/Makefile.inc
index 00426a88b9..69ef08873b 100644
--- a/src/mainboard/hp/z220_series/Makefile.inc
+++ b/src/mainboard/hp/z220_series/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/ibase/mb899/Makefile.inc b/src/mainboard/ibase/mb899/Makefile.inc
index 992c3736a7..ad8a084da8 100644
--- a/src/mainboard/ibase/mb899/Makefile.inc
+++ b/src/mainboard/ibase/mb899/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += superio_hwm.c
ramstage-y += cstates.c
romstage-y += gpio.c
diff --git a/src/mainboard/ibm/sbp1/Makefile.inc b/src/mainboard/ibm/sbp1/Makefile.inc
index 0688aa1973..4c7a7beee1 100644
--- a/src/mainboard/ibm/sbp1/Makefile.inc
+++ b/src/mainboard/ibm/sbp1/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-y += romstage.c
ramstage-y += ramstage.c
diff --git a/src/mainboard/intel/apollolake_rvp/Makefile.inc b/src/mainboard/intel/apollolake_rvp/Makefile.inc
index 8501868fbf..d604d021c5 100644
--- a/src/mainboard/intel/apollolake_rvp/Makefile.inc
+++ b/src/mainboard/intel/apollolake_rvp/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
diff --git a/src/mainboard/intel/archercity_crb/Makefile.inc b/src/mainboard/intel/archercity_crb/Makefile.inc
index 0688aa1973..4c7a7beee1 100644
--- a/src/mainboard/intel/archercity_crb/Makefile.inc
+++ b/src/mainboard/intel/archercity_crb/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-y += romstage.c
ramstage-y += ramstage.c
diff --git a/src/mainboard/intel/cedarisland_crb/Makefile.inc b/src/mainboard/intel/cedarisland_crb/Makefile.inc
index 3da456e436..bf162bb01e 100644
--- a/src/mainboard/intel/cedarisland_crb/Makefile.inc
+++ b/src/mainboard/intel/cedarisland_crb/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-y += romstage.c
ramstage-y += ramstage.c
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc
index 0ad298b5f4..476f28f18c 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc
+++ b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/intel/d510mo/Makefile.inc b/src/mainboard/intel/d510mo/Makefile.inc
index f87689b8a1..e546b9d6a5 100644
--- a/src/mainboard/intel/d510mo/Makefile.inc
+++ b/src/mainboard/intel/d510mo/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += early_init.c
romstage-y += early_init.c
ramstage-y += cstates.c
diff --git a/src/mainboard/intel/d945gclf/Makefile.inc b/src/mainboard/intel/d945gclf/Makefile.inc
index a34f3f31c7..95250e28a6 100644
--- a/src/mainboard/intel/d945gclf/Makefile.inc
+++ b/src/mainboard/intel/d945gclf/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c
diff --git a/src/mainboard/intel/dcp847ske/Makefile.inc b/src/mainboard/intel/dcp847ske/Makefile.inc
index 08aa2ddde7..f8c155e4c3 100644
--- a/src/mainboard/intel/dcp847ske/Makefile.inc
+++ b/src/mainboard/intel/dcp847ske/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += early_southbridge.c
romstage-y += early_southbridge.c
bootblock-y += gpio.c
diff --git a/src/mainboard/intel/dg41wv/Makefile.inc b/src/mainboard/intel/dg41wv/Makefile.inc
index 4100476891..de8c51494d 100644
--- a/src/mainboard/intel/dg41wv/Makefile.inc
+++ b/src/mainboard/intel/dg41wv/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
diff --git a/src/mainboard/intel/dq67sw/Makefile.inc b/src/mainboard/intel/dq67sw/Makefile.inc
index 18391d8b18..fb492d3583 100644
--- a/src/mainboard/intel/dq67sw/Makefile.inc
+++ b/src/mainboard/intel/dq67sw/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += early_init.c
bootblock-y += gpio.c
romstage-y += early_init.c
diff --git a/src/mainboard/intel/glkrvp/Makefile.inc b/src/mainboard/intel/glkrvp/Makefile.inc
index 72247b2341..965a6f86ff 100644
--- a/src/mainboard/intel/glkrvp/Makefile.inc
+++ b/src/mainboard/intel/glkrvp/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
bootblock-y += ec.c
diff --git a/src/mainboard/intel/glkrvp/variants/baseboard/Makefile.inc b/src/mainboard/intel/glkrvp/variants/baseboard/Makefile.inc
index d2d344c5e0..b0d35e84bc 100644
--- a/src/mainboard/intel/glkrvp/variants/baseboard/Makefile.inc
+++ b/src/mainboard/intel/glkrvp/variants/baseboard/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += boardid.c
diff --git a/src/mainboard/intel/leafhill/Makefile.inc b/src/mainboard/intel/leafhill/Makefile.inc
index c3077e7c7e..ec5b26252a 100644
--- a/src/mainboard/intel/leafhill/Makefile.inc
+++ b/src/mainboard/intel/leafhill/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-y += romstage.c
diff --git a/src/mainboard/intel/minnow3/Makefile.inc b/src/mainboard/intel/minnow3/Makefile.inc
index 3e9bf68af5..a90af2962b 100644
--- a/src/mainboard/intel/minnow3/Makefile.inc
+++ b/src/mainboard/intel/minnow3/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
bootblock-y += gpio.c
diff --git a/src/mainboard/inventec/transformers/Makefile.inc b/src/mainboard/inventec/transformers/Makefile.inc
index 7619419f67..ecb6ef2217 100644
--- a/src/mainboard/inventec/transformers/Makefile.inc
+++ b/src/mainboard/inventec/transformers/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-y += romstage.c
romstage-$(CONFIG_IPMI_KCS_ROMSTAGE) += ipmi.c
diff --git a/src/mainboard/kontron/986lcd-m/Makefile.inc b/src/mainboard/kontron/986lcd-m/Makefile.inc
index a34f3f31c7..95250e28a6 100644
--- a/src/mainboard/kontron/986lcd-m/Makefile.inc
+++ b/src/mainboard/kontron/986lcd-m/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c
diff --git a/src/mainboard/kontron/ktqm77/Makefile.inc b/src/mainboard/kontron/ktqm77/Makefile.inc
index e402ffa605..e4b6fbf0f0 100644
--- a/src/mainboard/kontron/ktqm77/Makefile.inc
+++ b/src/mainboard/kontron/ktqm77/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/kontron/mal10/Makefile.inc b/src/mainboard/kontron/mal10/Makefile.inc
index 7fbab00337..2a21e03146 100644
--- a/src/mainboard/kontron/mal10/Makefile.inc
+++ b/src/mainboard/kontron/mal10/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
ramstage-y += ramstage.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads
diff --git a/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc b/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc
index c291d45ebd..5d3bcc436e 100644
--- a/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc
+++ b/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += gpio.c
diff --git a/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc b/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc
index 4b48156a52..f0aa6b19f3 100644
--- a/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc
+++ b/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
diff --git a/src/mainboard/lenovo/haswell/Makefile.inc b/src/mainboard/lenovo/haswell/Makefile.inc
index d1300f8f67..3861ea195d 100644
--- a/src/mainboard/lenovo/haswell/Makefile.inc
+++ b/src/mainboard/lenovo/haswell/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/romstage.c
diff --git a/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc b/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc
index f3c87b2318..ffdfd17716 100644
--- a/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc
+++ b/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += mainboard.c
diff --git a/src/mainboard/lenovo/s230u/Makefile.inc b/src/mainboard/lenovo/s230u/Makefile.inc
index 31bb642edf..073d8b2e90 100644
--- a/src/mainboard/lenovo/s230u/Makefile.inc
+++ b/src/mainboard/lenovo/s230u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += ec.c
diff --git a/src/mainboard/lenovo/t430/Makefile.inc b/src/mainboard/lenovo/t430/Makefile.inc
index e402ffa605..e4b6fbf0f0 100644
--- a/src/mainboard/lenovo/t430/Makefile.inc
+++ b/src/mainboard/lenovo/t430/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
diff --git a/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc b/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc
index 4100476891..de8c51494d 100644
--- a/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc
+++ b/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
ramstage-y += cstates.c
romstage-y += gpio.c
diff --git a/src/mainboard/msi/h81m-p33/Makefile.inc b/src/mainboard/msi/h81m-p33/Makefile.inc
index d9a8d18d0d..54643607ce 100644
--- a/src/mainboard/msi/h81m-p33/Makefile.inc
+++ b/src/mainboard/msi/h81m-p33/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/msi/ms7707/Makefile.inc b/src/mainboard/msi/ms7707/Makefile.inc
index 2fa05da9ac..10bd6bcb88 100644
--- a/src/mainboard/msi/ms7707/Makefile.inc
+++ b/src/mainboard/msi/ms7707/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += gpio.c
bootblock-y += early_init.c
diff --git a/src/mainboard/siemens/mc_apl1/Makefile.inc b/src/mainboard/siemens/mc_apl1/Makefile.inc
index 124e3806ff..e179201c9c 100644
--- a/src/mainboard/siemens/mc_apl1/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
# The inclusion of romstage.c is not necessary here.
diff --git a/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc
index e553581dd5..be05cd4e5c 100644
--- a/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc
@@ -1,2 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
romstage-y += memory.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc
index 3629aca053..dff9c79c88 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Makefile.inc
index 152b46ece1..f2a034c8c8 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Makefile.inc
index 152b46ece1..f2a034c8c8 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Makefile.inc
index e26339c548..621ffd13fa 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/Makefile.inc
index 3629aca053..dff9c79c88 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl6/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl6/Makefile.inc
index 152b46ece1..f2a034c8c8 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl6/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl6/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
ramstage-y += gpio.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc
index ecab3ccc33..af6f16c3ec 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/supermicro/x9scl/Makefile.inc b/src/mainboard/supermicro/x9scl/Makefile.inc
index 3465dfeca6..c83c7f3618 100644
--- a/src/mainboard/supermicro/x9scl/Makefile.inc
+++ b/src/mainboard/supermicro/x9scl/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += early_init.c
bootblock-y += gpio.c
romstage-y += early_init.c
diff --git a/src/mainboard/system76/addw1/Makefile.inc b/src/mainboard/system76/addw1/Makefile.inc
index fedde68c13..09424595d7 100644
--- a/src/mainboard/system76/addw1/Makefile.inc
+++ b/src/mainboard/system76/addw1/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/adl/Makefile.inc b/src/mainboard/system76/adl/Makefile.inc
index 9dea9f3b1f..c5334f1f0c 100644
--- a/src/mainboard/system76/adl/Makefile.inc
+++ b/src/mainboard/system76/adl/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/bonw14/Makefile.inc b/src/mainboard/system76/bonw14/Makefile.inc
index a866021880..2efcac5f42 100644
--- a/src/mainboard/system76/bonw14/Makefile.inc
+++ b/src/mainboard/system76/bonw14/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/cml-u/Makefile.inc b/src/mainboard/system76/cml-u/Makefile.inc
index 51ad54367e..921112cee9 100644
--- a/src/mainboard/system76/cml-u/Makefile.inc
+++ b/src/mainboard/system76/cml-u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/gaze15/Makefile.inc b/src/mainboard/system76/gaze15/Makefile.inc
index 32a409992f..72f13667d3 100644
--- a/src/mainboard/system76/gaze15/Makefile.inc
+++ b/src/mainboard/system76/gaze15/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/kbl-u/Makefile.inc b/src/mainboard/system76/kbl-u/Makefile.inc
index d749e412cc..bf3828de96 100644
--- a/src/mainboard/system76/kbl-u/Makefile.inc
+++ b/src/mainboard/system76/kbl-u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/oryp5/Makefile.inc b/src/mainboard/system76/oryp5/Makefile.inc
index 7c0701e97c..e52cccafc8 100644
--- a/src/mainboard/system76/oryp5/Makefile.inc
+++ b/src/mainboard/system76/oryp5/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/oryp6/Makefile.inc b/src/mainboard/system76/oryp6/Makefile.inc
index 2267eb6f9f..ab8e965d87 100644
--- a/src/mainboard/system76/oryp6/Makefile.inc
+++ b/src/mainboard/system76/oryp6/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/system76/tgl-u/Makefile.inc b/src/mainboard/system76/tgl-u/Makefile.inc
index ca14835be7..28ada02313 100644
--- a/src/mainboard/system76/tgl-u/Makefile.inc
+++ b/src/mainboard/system76/tgl-u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
ifeq ($(CONFIG_BOARD_SYSTEM76_GALP5),y)
diff --git a/src/mainboard/system76/whl-u/Makefile.inc b/src/mainboard/system76/whl-u/Makefile.inc
index d749e412cc..bf3828de96 100644
--- a/src/mainboard/system76/whl-u/Makefile.inc
+++ b/src/mainboard/system76/whl-u/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
diff --git a/src/mainboard/up/squared/Makefile.inc b/src/mainboard/up/squared/Makefile.inc
index af2508e8cf..68ddfca420 100644
--- a/src/mainboard/up/squared/Makefile.inc
+++ b/src/mainboard/up/squared/Makefile.inc
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
bootblock-y += bootblock.c
romstage-y += romstage.c