Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68979 )
Change subject: cpu: Add SPDX license headers to Makefiles ......................................................................
cpu: Add SPDX license headers to Makefiles
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I3033f2a9eebc75220f7666325857b3ddd60c8f75 --- M src/cpu/Makefile.inc M src/cpu/amd/Makefile.inc M src/cpu/amd/mtrr/Makefile.inc M src/cpu/amd/smm/Makefile.inc M src/cpu/armltd/Makefile.inc M src/cpu/intel/Makefile.inc M src/cpu/intel/common/Makefile.inc M src/cpu/intel/fit/Makefile.inc M src/cpu/intel/haswell/Makefile.inc M src/cpu/intel/hyperthreading/Makefile.inc M src/cpu/intel/microcode/Makefile.inc M src/cpu/intel/model_1067x/Makefile.inc M src/cpu/intel/model_106cx/Makefile.inc M src/cpu/intel/model_2065x/Makefile.inc M src/cpu/intel/model_206ax/Makefile.inc M src/cpu/intel/model_6bx/Makefile.inc M src/cpu/intel/model_6ex/Makefile.inc M src/cpu/intel/model_6fx/Makefile.inc M src/cpu/intel/model_6xx/Makefile.inc M src/cpu/intel/model_f2x/Makefile.inc M src/cpu/intel/model_f3x/Makefile.inc M src/cpu/intel/model_f4x/Makefile.inc M src/cpu/intel/smm/Makefile.inc M src/cpu/intel/smm/gen1/Makefile.inc M src/cpu/intel/socket_441/Makefile.inc M src/cpu/intel/socket_BGA956/Makefile.inc M src/cpu/intel/socket_FCBGA559/Makefile.inc M src/cpu/intel/socket_LGA775/Makefile.inc M src/cpu/intel/socket_m/Makefile.inc M src/cpu/intel/socket_mPGA604/Makefile.inc M src/cpu/intel/socket_p/Makefile.inc M src/cpu/intel/speedstep/Makefile.inc M src/cpu/intel/turbo/Makefile.inc M src/cpu/x86/64bit/Makefile.inc M src/cpu/x86/Makefile.inc M src/cpu/x86/lapic/Makefile.inc M src/cpu/x86/mtrr/Makefile.inc M src/cpu/x86/pae/Makefile.inc M src/cpu/x86/tsc/Makefile.inc 39 files changed, 49 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/68979/1
diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc index 12c682d..2669182 100644 --- a/src/cpu/Makefile.inc +++ b/src/cpu/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ################################################################################ ## Subdirectories ################################################################################ diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc index 5c07a66..79a6238 100644 --- a/src/cpu/amd/Makefile.inc +++ b/src/cpu/amd/Makefile.inc @@ -1,2 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-$(CONFIG_CPU_AMD_AGESA) += agesa subdirs-$(CONFIG_CPU_AMD_PI) += pi diff --git a/src/cpu/amd/mtrr/Makefile.inc b/src/cpu/amd/mtrr/Makefile.inc index 5ed435a..ed501d7 100644 --- a/src/cpu/amd/mtrr/Makefile.inc +++ b/src/cpu/amd/mtrr/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += amd_mtrr.c diff --git a/src/cpu/amd/smm/Makefile.inc b/src/cpu/amd/smm/Makefile.inc index 97a6694..af4ed10 100644 --- a/src/cpu/amd/smm/Makefile.inc +++ b/src/cpu/amd/smm/Makefile.inc @@ -1,2 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += smm_init.c diff --git a/src/cpu/armltd/Makefile.inc b/src/cpu/armltd/Makefile.inc index 014742f..f66b4c4 100644 --- a/src/cpu/armltd/Makefile.inc +++ b/src/cpu/armltd/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-$(CONFIG_CPU_ARMLTD_CORTEX_A9) += cortex-a9 diff --git a/src/cpu/intel/Makefile.inc b/src/cpu/intel/Makefile.inc index 01913de..9b39c1f 100644 --- a/src/cpu/intel/Makefile.inc +++ b/src/cpu/intel/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only # Note: From here on down, we are socket-centric. Socket choice determines # what other CPU files are included. # diff --git a/src/cpu/intel/common/Makefile.inc b/src/cpu/intel/common/Makefile.inc index 530ecee..d3f685d 100644 --- a/src/cpu/intel/common/Makefile.inc +++ b/src/cpu/intel/common/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_CPU_INTEL_COMMON) += common_init.c ramstage-$(CONFIG_CPU_INTEL_COMMON) += hyperthreading.c ramstage-$(CONFIG_CPU_INTEL_COMMON_VOLTAGE) += voltage.c diff --git a/src/cpu/intel/fit/Makefile.inc b/src/cpu/intel/fit/Makefile.inc index d3f12e4..3826b17 100644 --- a/src/cpu/intel/fit/Makefile.inc +++ b/src/cpu/intel/fit/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-y += fit.c
# The FIT table is generated as a separate CBFS file. diff --git a/src/cpu/intel/haswell/Makefile.inc b/src/cpu/intel/haswell/Makefile.inc index 5516184..38b8803 100644 --- a/src/cpu/intel/haswell/Makefile.inc +++ b/src/cpu/intel/haswell/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += haswell_init.c
romstage-y += romstage.c diff --git a/src/cpu/intel/hyperthreading/Makefile.inc b/src/cpu/intel/hyperthreading/Makefile.inc index 8adbad9..26868eb 100644 --- a/src/cpu/intel/hyperthreading/Makefile.inc +++ b/src/cpu/intel/hyperthreading/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += intel_sibling.c diff --git a/src/cpu/intel/microcode/Makefile.inc b/src/cpu/intel/microcode/Makefile.inc index 119c38f..89e5114 100644 --- a/src/cpu/intel/microcode/Makefile.inc +++ b/src/cpu/intel/microcode/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_MICROCODE_UPDATE_PRE_RAM) += microcode_asm.S
bootblock-$(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS) += microcode.c diff --git a/src/cpu/intel/model_1067x/Makefile.inc b/src/cpu/intel/model_1067x/Makefile.inc index 545f04d..f19d3ca 100644 --- a/src/cpu/intel/model_1067x/Makefile.inc +++ b/src/cpu/intel/model_1067x/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_1067x_init.c ramstage-$(CONFIG_PARALLEL_MP) += mp_init.c subdirs-y += ../../x86/name diff --git a/src/cpu/intel/model_106cx/Makefile.inc b/src/cpu/intel/model_106cx/Makefile.inc index 6d8414e..14b8e0f 100644 --- a/src/cpu/intel/model_106cx/Makefile.inc +++ b/src/cpu/intel/model_106cx/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_106cx_init.c subdirs-y += ../../x86/name subdirs-y += ../smm/gen1 diff --git a/src/cpu/intel/model_2065x/Makefile.inc b/src/cpu/intel/model_2065x/Makefile.inc index b676eb6a..8b00173 100644 --- a/src/cpu/intel/model_2065x/Makefile.inc +++ b/src/cpu/intel/model_2065x/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_2065x_init.c subdirs-y += ../../x86/name subdirs-y += ../../intel/turbo diff --git a/src/cpu/intel/model_206ax/Makefile.inc b/src/cpu/intel/model_206ax/Makefile.inc index 90dfeb3..dcb7d88 100644 --- a/src/cpu/intel/model_206ax/Makefile.inc +++ b/src/cpu/intel/model_206ax/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_206ax_init.c subdirs-y += ../../x86/name subdirs-y += ../smm/gen1 diff --git a/src/cpu/intel/model_6bx/Makefile.inc b/src/cpu/intel/model_6bx/Makefile.inc index 84f4ff0..6dcb8aa 100644 --- a/src/cpu/intel/model_6bx/Makefile.inc +++ b/src/cpu/intel/model_6bx/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_6bx_init.c subdirs-y += ../../x86/name
diff --git a/src/cpu/intel/model_6ex/Makefile.inc b/src/cpu/intel/model_6ex/Makefile.inc index e1491e6..f6e31c8 100644 --- a/src/cpu/intel/model_6ex/Makefile.inc +++ b/src/cpu/intel/model_6ex/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_6ex_init.c subdirs-y += ../../x86/name subdirs-y += ../common diff --git a/src/cpu/intel/model_6fx/Makefile.inc b/src/cpu/intel/model_6fx/Makefile.inc index f6f838d..55f3cef 100644 --- a/src/cpu/intel/model_6fx/Makefile.inc +++ b/src/cpu/intel/model_6fx/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_6fx_init.c subdirs-y += ../../x86/name subdirs-y += ../common diff --git a/src/cpu/intel/model_6xx/Makefile.inc b/src/cpu/intel/model_6xx/Makefile.inc index b2f87ab..65b8373 100644 --- a/src/cpu/intel/model_6xx/Makefile.inc +++ b/src/cpu/intel/model_6xx/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_6xx_init.c
cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-06-*) diff --git a/src/cpu/intel/model_f2x/Makefile.inc b/src/cpu/intel/model_f2x/Makefile.inc index fa1b51a..18d245c 100644 --- a/src/cpu/intel/model_f2x/Makefile.inc +++ b/src/cpu/intel/model_f2x/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../common subdirs-y += ../hyperthreading
diff --git a/src/cpu/intel/model_f3x/Makefile.inc b/src/cpu/intel/model_f3x/Makefile.inc index c855996..1d662cd 100644 --- a/src/cpu/intel/model_f3x/Makefile.inc +++ b/src/cpu/intel/model_f3x/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_f3x_init.c
subdirs-y += ../hyperthreading diff --git a/src/cpu/intel/model_f4x/Makefile.inc b/src/cpu/intel/model_f4x/Makefile.inc index 7e853b0..26ede1d 100644 --- a/src/cpu/intel/model_f4x/Makefile.inc +++ b/src/cpu/intel/model_f4x/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += model_f4x_init.c subdirs-y += ../smm/gen1 ramstage-$(CONFIG_PARALLEL_MP) += ../model_1067x/mp_init.c diff --git a/src/cpu/intel/smm/Makefile.inc b/src/cpu/intel/smm/Makefile.inc index a49b796..dc8d829 100644 --- a/src/cpu/intel/smm/Makefile.inc +++ b/src/cpu/intel/smm/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm_reloc.c diff --git a/src/cpu/intel/smm/gen1/Makefile.inc b/src/cpu/intel/smm/gen1/Makefile.inc index 0936710..054dabb 100644 --- a/src/cpu/intel/smm/gen1/Makefile.inc +++ b/src/cpu/intel/smm/gen1/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c diff --git a/src/cpu/intel/socket_441/Makefile.inc b/src/cpu/intel/socket_441/Makefile.inc index 58ec230..78dc3f0 100644 --- a/src/cpu/intel/socket_441/Makefile.inc +++ b/src/cpu/intel/socket_441/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_106cx subdirs-y += ../microcode subdirs-y += ../speedstep diff --git a/src/cpu/intel/socket_BGA956/Makefile.inc b/src/cpu/intel/socket_BGA956/Makefile.inc index 8cafa7e..1dde657 100644 --- a/src/cpu/intel/socket_BGA956/Makefile.inc +++ b/src/cpu/intel/socket_BGA956/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_1067x subdirs-y += ../microcode subdirs-y += ../speedstep diff --git a/src/cpu/intel/socket_FCBGA559/Makefile.inc b/src/cpu/intel/socket_FCBGA559/Makefile.inc index f6d54c9..38ab807 100644 --- a/src/cpu/intel/socket_FCBGA559/Makefile.inc +++ b/src/cpu/intel/socket_FCBGA559/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_106cx subdirs-y += ../microcode subdirs-y += ../speedstep diff --git a/src/cpu/intel/socket_LGA775/Makefile.inc b/src/cpu/intel/socket_LGA775/Makefile.inc index 9b08be6..f9d6937 100644 --- a/src/cpu/intel/socket_LGA775/Makefile.inc +++ b/src/cpu/intel/socket_LGA775/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_6fx subdirs-y += ../model_f3x subdirs-y += ../model_f4x diff --git a/src/cpu/intel/socket_m/Makefile.inc b/src/cpu/intel/socket_m/Makefile.inc index 6c53ec2..c63fad9 100644 --- a/src/cpu/intel/socket_m/Makefile.inc +++ b/src/cpu/intel/socket_m/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_6ex subdirs-y += ../model_6fx subdirs-y += ../../x86/lapic diff --git a/src/cpu/intel/socket_mPGA604/Makefile.inc b/src/cpu/intel/socket_mPGA604/Makefile.inc index f9dfc67..0a60688 100644 --- a/src/cpu/intel/socket_mPGA604/Makefile.inc +++ b/src/cpu/intel/socket_mPGA604/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_f2x subdirs-y += ../../x86/lapic subdirs-y += ../microcode diff --git a/src/cpu/intel/socket_p/Makefile.inc b/src/cpu/intel/socket_p/Makefile.inc index 64bb8be..a9180c9 100644 --- a/src/cpu/intel/socket_p/Makefile.inc +++ b/src/cpu/intel/socket_p/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ../model_6fx subdirs-y += ../model_1067x subdirs-y += ../../x86/lapic diff --git a/src/cpu/intel/speedstep/Makefile.inc b/src/cpu/intel/speedstep/Makefile.inc index eddd4f34..1703a68 100644 --- a/src/cpu/intel/speedstep/Makefile.inc +++ b/src/cpu/intel/speedstep/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += acpi.c speedstep.c diff --git a/src/cpu/intel/turbo/Makefile.inc b/src/cpu/intel/turbo/Makefile.inc index 48ec55d..e57e9a0 100644 --- a/src/cpu/intel/turbo/Makefile.inc +++ b/src/cpu/intel/turbo/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += turbo.c diff --git a/src/cpu/x86/64bit/Makefile.inc b/src/cpu/x86/64bit/Makefile.inc index 48f56fc..e727de9 100644 --- a/src/cpu/x86/64bit/Makefile.inc +++ b/src/cpu/x86/64bit/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-y += mode_switch.S ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y) verstage-y += mode_switch.S diff --git a/src/cpu/x86/Makefile.inc b/src/cpu/x86/Makefile.inc index dffc2b1..8469e02 100644 --- a/src/cpu/x86/Makefile.inc +++ b/src/cpu/x86/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += lapic subdirs-y += mtrr subdirs-y += pae diff --git a/src/cpu/x86/lapic/Makefile.inc b/src/cpu/x86/lapic/Makefile.inc index 91a41f7..d376886 100644 --- a/src/cpu/x86/lapic/Makefile.inc +++ b/src/cpu/x86/lapic/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_AP_IN_SIPI_WAIT) += lapic_cpu_stop.c ramstage-$(CONFIG_LEGACY_SMP_INIT) += lapic_cpu_init.c ramstage-$(CONFIG_LEGACY_SMP_INIT) += secondary.S diff --git a/src/cpu/x86/mtrr/Makefile.inc b/src/cpu/x86/mtrr/Makefile.inc index a78517a..dcd3ffd 100644 --- a/src/cpu/x86/mtrr/Makefile.inc +++ b/src/cpu/x86/mtrr/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += mtrr.c
romstage-y += earlymtrr.c diff --git a/src/cpu/x86/pae/Makefile.inc b/src/cpu/x86/pae/Makefile.inc index 70e0b2f..256b922 100644 --- a/src/cpu/x86/pae/Makefile.inc +++ b/src/cpu/x86/pae/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-y += pgtbl.c verstage_x86-y += pgtbl.c romstage-y += pgtbl.c diff --git a/src/cpu/x86/tsc/Makefile.inc b/src/cpu/x86/tsc/Makefile.inc index 978d7fa..cdcfe76 100644 --- a/src/cpu/x86/tsc/Makefile.inc +++ b/src/cpu/x86/tsc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-y += delay_tsc.c ramstage-y += delay_tsc.c romstage-y += delay_tsc.c