Martin Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68984 )
Change subject: soc: Add SPDX license headers to Makefiles ......................................................................
soc: Add SPDX license headers to Makefiles
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: Ic875708697f07b6dae09d27dbd67eb8b960749f0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68984 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Sean Rhodes sean@starlabs.systems --- M src/soc/amd/common/Makefile.inc M src/soc/amd/common/block/Makefile.inc M src/soc/amd/common/block/acp/Makefile.inc M src/soc/amd/common/block/acpi/Makefile.inc M src/soc/amd/common/block/acpimmio/Makefile.inc M src/soc/amd/common/block/alink/Makefile.inc M src/soc/amd/common/block/aoac/Makefile.inc M src/soc/amd/common/block/apob/Makefile.inc M src/soc/amd/common/block/cpu/Makefile.inc M src/soc/amd/common/block/cpu/car/Makefile.inc M src/soc/amd/common/block/cpu/mca/Makefile.inc M src/soc/amd/common/block/cpu/noncar/Makefile.inc M src/soc/amd/common/block/cpu/smm/Makefile.inc M src/soc/amd/common/block/cpu/tsc/Makefile.inc M src/soc/amd/common/block/data_fabric/Makefile.inc M src/soc/amd/common/block/emmc/Makefile.inc M src/soc/amd/common/block/gpio/Makefile.inc M src/soc/amd/common/block/graphics/Makefile.inc M src/soc/amd/common/block/hda/Makefile.inc M src/soc/amd/common/block/i2c/Makefile.inc M src/soc/amd/common/block/iommu/Makefile.inc M src/soc/amd/common/block/lpc/Makefile.inc M src/soc/amd/common/block/pci/Makefile.inc M src/soc/amd/common/block/pm/Makefile.inc M src/soc/amd/common/block/psp/Makefile.inc M src/soc/amd/common/block/sata/Makefile.inc M src/soc/amd/common/block/smbus/Makefile.inc M src/soc/amd/common/block/smi/Makefile.inc M src/soc/amd/common/block/smn/Makefile.inc M src/soc/amd/common/block/smu/Makefile.inc M src/soc/amd/common/block/spi/Makefile.inc M src/soc/amd/common/block/stb/Makefile.inc M src/soc/amd/common/block/uart/Makefile.inc M src/soc/amd/common/fsp/Makefile.inc M src/soc/amd/common/fsp/pci/Makefile.inc M src/soc/amd/common/pi/Makefile.inc M src/soc/amd/common/vboot/Makefile.inc M src/soc/cavium/common/pci/Makefile.inc M src/soc/example/min86/Makefile.inc M src/soc/intel/Makefile.inc M src/soc/intel/alderlake/Makefile.inc M src/soc/intel/apollolake/Makefile.inc M src/soc/intel/baytrail/Makefile.inc M src/soc/intel/baytrail/romstage/Makefile.inc M src/soc/intel/braswell/Makefile.inc M src/soc/intel/braswell/romstage/Makefile.inc M src/soc/intel/broadwell/Makefile.inc M src/soc/intel/broadwell/pch/Makefile.inc M src/soc/intel/cannonlake/Makefile.inc M src/soc/intel/common/Makefile.inc M src/soc/intel/common/basecode/Makefile.inc M src/soc/intel/common/basecode/debug/Makefile.inc M src/soc/intel/common/block/Makefile.inc M src/soc/intel/common/block/acpi/Makefile.inc M src/soc/intel/common/block/chip/Makefile.inc M src/soc/intel/common/block/cnvi/Makefile.inc M src/soc/intel/common/block/cpu/Makefile.inc M src/soc/intel/common/block/crashlog/Makefile.inc M src/soc/intel/common/block/cse/Makefile.inc M src/soc/intel/common/block/dsp/Makefile.inc M src/soc/intel/common/block/dtt/Makefile.inc M src/soc/intel/common/block/fast_spi/Makefile.inc M src/soc/intel/common/block/gpio/Makefile.inc M src/soc/intel/common/block/gpmr/Makefile.inc M src/soc/intel/common/block/graphics/Makefile.inc M src/soc/intel/common/block/gspi/Makefile.inc M src/soc/intel/common/block/hda/Makefile.inc M src/soc/intel/common/block/i2c/Makefile.inc M src/soc/intel/common/block/ioc/Makefile.inc M src/soc/intel/common/block/ipu/Makefile.inc M src/soc/intel/common/block/irq/Makefile.inc M src/soc/intel/common/block/itss/Makefile.inc M src/soc/intel/common/block/lpc/Makefile.inc M src/soc/intel/common/block/lpss/Makefile.inc M src/soc/intel/common/block/memory/Makefile.inc M src/soc/intel/common/block/p2sb/Makefile.inc M src/soc/intel/common/block/pcie/Makefile.inc M src/soc/intel/common/block/pcie/rtd3/Makefile.inc M src/soc/intel/common/block/pcr/Makefile.inc M src/soc/intel/common/block/pmc/Makefile.inc M src/soc/intel/common/block/power_limit/Makefile.inc M src/soc/intel/common/block/rtc/Makefile.inc M src/soc/intel/common/block/sata/Makefile.inc M src/soc/intel/common/block/scs/Makefile.inc M src/soc/intel/common/block/sgx/Makefile.inc M src/soc/intel/common/block/smbus/Makefile.inc M src/soc/intel/common/block/smm/Makefile.inc M src/soc/intel/common/block/spi/Makefile.inc M src/soc/intel/common/block/sram/Makefile.inc M src/soc/intel/common/block/systemagent/Makefile.inc M src/soc/intel/common/block/tcss/Makefile.inc M src/soc/intel/common/block/thermal/Makefile.inc M src/soc/intel/common/block/timer/Makefile.inc M src/soc/intel/common/block/uart/Makefile.inc M src/soc/intel/common/block/usb4/Makefile.inc M src/soc/intel/common/block/xdci/Makefile.inc M src/soc/intel/common/block/xhci/Makefile.inc M src/soc/intel/common/pch/Makefile.inc M src/soc/intel/common/pch/lockdown/Makefile.inc M src/soc/intel/elkhartlake/Makefile.inc M src/soc/intel/icelake/Makefile.inc M src/soc/intel/jasperlake/Makefile.inc M src/soc/intel/meteorlake/Makefile.inc M src/soc/intel/skylake/Makefile.inc M src/soc/intel/skylake/nhlt/Makefile.inc M src/soc/intel/skylake/romstage/Makefile.inc M src/soc/intel/tigerlake/Makefile.inc M src/soc/mediatek/mt8183/Makefile.inc M src/soc/mediatek/mt8186/Makefile.inc M src/soc/mediatek/mt8188/Makefile.inc M src/soc/mediatek/mt8192/Makefile.inc M src/soc/mediatek/mt8195/Makefile.inc M src/soc/nvidia/tegra124/Makefile.inc M src/soc/nvidia/tegra210/Makefile.inc M src/soc/qualcomm/qcs405/Makefile.inc M src/soc/qualcomm/sc7180/Makefile.inc M src/soc/qualcomm/sc7280/Makefile.inc M src/soc/samsung/exynos5250/Makefile.inc M src/soc/samsung/exynos5420/Makefile.inc M src/soc/ti/Makefile.inc M src/soc/ti/am335x/Makefile.inc M src/soc/ucb/riscv/Makefile.inc 122 files changed, 135 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Sean Rhodes: Looks good to me, approved
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc index 63ee773..f047a59 100644 --- a/src/soc/amd/common/Makefile.inc +++ b/src/soc/amd/common/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON),y) subdirs-y += block subdirs-y += fsp diff --git a/src/soc/amd/common/block/Makefile.inc b/src/soc/amd/common/block/Makefile.inc index ad75b92..eeebadf 100644 --- a/src/soc/amd/common/block/Makefile.inc +++ b/src/soc/amd/common/block/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON),y)
subdirs-y += ./* diff --git a/src/soc/amd/common/block/acp/Makefile.inc b/src/soc/amd/common/block/acp/Makefile.inc index c1fa6ec..343e3a7 100644 --- a/src/soc/amd/common/block/acp/Makefile.inc +++ b/src/soc/amd/common/block/acp/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACP_GEN1) += acp.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACP_GEN1) += acp_gen1.c
diff --git a/src/soc/amd/common/block/acpi/Makefile.inc b/src/soc/amd/common/block/acpi/Makefile.inc index f7dc107..2c8f391 100644 --- a/src/soc/amd/common/block/acpi/Makefile.inc +++ b/src/soc/amd/common/block/acpi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI),y)
bootblock-y += acpi.c diff --git a/src/soc/amd/common/block/acpimmio/Makefile.inc b/src/soc/amd/common/block/acpimmio/Makefile.inc index bbc52fb..d1e0ab9 100644 --- a/src/soc/amd/common/block/acpimmio/Makefile.inc +++ b/src/soc/amd/common/block/acpimmio/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO),y)
all-y += mmio_util.c diff --git a/src/soc/amd/common/block/alink/Makefile.inc b/src/soc/amd/common/block/alink/Makefile.inc index b393c3d..fbb96ee 100644 --- a/src/soc/amd/common/block/alink/Makefile.inc +++ b/src/soc/amd/common/block/alink/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_ALINK),y)
bootblock-y += alink.c diff --git a/src/soc/amd/common/block/aoac/Makefile.inc b/src/soc/amd/common/block/aoac/Makefile.inc index 4debc55..21f07271 100644 --- a/src/soc/amd/common/block/aoac/Makefile.inc +++ b/src/soc/amd/common/block/aoac/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_AOAC),y)
bootblock-y += aoac.c diff --git a/src/soc/amd/common/block/apob/Makefile.inc b/src/soc/amd/common/block/apob/Makefile.inc index 56cd5e1..746e015 100644 --- a/src/soc/amd/common/block/apob/Makefile.inc +++ b/src/soc/amd/common/block/apob/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_APOB),y) romstage-y += apob_cache.c ramstage-y += apob_cache.c diff --git a/src/soc/amd/common/block/cpu/Makefile.inc b/src/soc/amd/common/block/cpu/Makefile.inc index 7541a9b..bd9e8ff 100644 --- a/src/soc/amd/common/block/cpu/Makefile.inc +++ b/src/soc/amd/common/block/cpu/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ./* ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE) += update_microcode.c romstage-y += cpu.c diff --git a/src/soc/amd/common/block/cpu/car/Makefile.inc b/src/soc/amd/common/block/cpu/car/Makefile.inc index 130b34b..5116c56 100644 --- a/src/soc/amd/common/block/cpu/car/Makefile.inc +++ b/src/soc/amd/common/block/cpu/car/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_CAR),y)
bootblock-y += cache_as_ram.S diff --git a/src/soc/amd/common/block/cpu/mca/Makefile.inc b/src/soc/amd/common/block/cpu/mca/Makefile.inc index fd9e573..c8120be 100644 --- a/src/soc/amd/common/block/cpu/mca/Makefile.inc +++ b/src/soc/amd/common/block/cpu/mca/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_MCA_COMMON),y) ramstage-y += mca_common.c ramstage-$(CONFIG_ACPI_BERT) += mca_common_bert.c diff --git a/src/soc/amd/common/block/cpu/noncar/Makefile.inc b/src/soc/amd/common/block/cpu/noncar/Makefile.inc index 2de2695..27510bf 100644 --- a/src/soc/amd/common/block/cpu/noncar/Makefile.inc +++ b/src/soc/amd/common/block/cpu/noncar/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_NONCAR),y)
bootblock-y += bootblock.c diff --git a/src/soc/amd/common/block/cpu/smm/Makefile.inc b/src/soc/amd/common/block/cpu/smm/Makefile.inc index 3b6fb80..9562d43 100644 --- a/src/soc/amd/common/block/cpu/smm/Makefile.inc +++ b/src/soc/amd/common/block/cpu/smm/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SMM),y)
romstage-y += smm_helper.c diff --git a/src/soc/amd/common/block/cpu/tsc/Makefile.inc b/src/soc/amd/common/block/cpu/tsc/Makefile.inc index e24db58..ba7f942 100644 --- a/src/soc/amd/common/block/cpu/tsc/Makefile.inc +++ b/src/soc/amd/common/block/cpu/tsc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H),y)
bootblock-y += tsc_freq.c diff --git a/src/soc/amd/common/block/data_fabric/Makefile.inc b/src/soc/amd/common/block/data_fabric/Makefile.inc index 3938af1..1aa0308 100644 --- a/src/soc/amd/common/block/data_fabric/Makefile.inc +++ b/src/soc/amd/common/block/data_fabric/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_DATA_FABRIC),y)
ramstage-y += data_fabric_helper.c diff --git a/src/soc/amd/common/block/emmc/Makefile.inc b/src/soc/amd/common/block/emmc/Makefile.inc index ed68ab2..3f2603f 100644 --- a/src/soc/amd/common/block/emmc/Makefile.inc +++ b/src/soc/amd/common/block/emmc/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_EMMC) += emmc.c diff --git a/src/soc/amd/common/block/gpio/Makefile.inc b/src/soc/amd/common/block/gpio/Makefile.inc index 616b589..64fbe27 100644 --- a/src/soc/amd/common/block/gpio/Makefile.inc +++ b/src/soc/amd/common/block/gpio/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_BANKED_GPIOS),y)
all-y += gpio.c diff --git a/src/soc/amd/common/block/graphics/Makefile.inc b/src/soc/amd/common/block/graphics/Makefile.inc index 3f21aaf..8e3d1bc 100644 --- a/src/soc/amd/common/block/graphics/Makefile.inc +++ b/src/soc/amd/common/block/graphics/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_GRAPHICS) += graphics.c diff --git a/src/soc/amd/common/block/hda/Makefile.inc b/src/soc/amd/common/block/hda/Makefile.inc index d6f1b32..e21b758 100644 --- a/src/soc/amd/common/block/hda/Makefile.inc +++ b/src/soc/amd/common/block/hda/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_HDA) += hda.c diff --git a/src/soc/amd/common/block/i2c/Makefile.inc b/src/soc/amd/common/block/i2c/Makefile.inc index b0747fe..2812fb3 100644 --- a/src/soc/amd/common/block/i2c/Makefile.inc +++ b/src/soc/amd/common/block/i2c/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only all-$(CONFIG_SOC_AMD_COMMON_BLOCK_I2C) += i2c.c all-$(CONFIG_SOC_AMD_COMMON_BLOCK_I2C_PAD_CTRL) += i2c_pad_ctrl.c all-$(CONFIG_SOC_AMD_COMMON_BLOCK_I23C_PAD_CTRL) += i23c_pad_ctrl.c diff --git a/src/soc/amd/common/block/iommu/Makefile.inc b/src/soc/amd/common/block/iommu/Makefile.inc index d08dbfc..a8bc1d6 100644 --- a/src/soc/amd/common/block/iommu/Makefile.inc +++ b/src/soc/amd/common/block/iommu/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_IOMMU) += iommu.c diff --git a/src/soc/amd/common/block/lpc/Makefile.inc b/src/soc/amd/common/block/lpc/Makefile.inc index 040517d..6bec843 100644 --- a/src/soc/amd/common/block/lpc/Makefile.inc +++ b/src/soc/amd/common/block/lpc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC),y)
ramstage-y += lpc.c diff --git a/src/soc/amd/common/block/pci/Makefile.inc b/src/soc/amd/common/block/pci/Makefile.inc index 03958c7..b938c67 100644 --- a/src/soc/amd/common/block/pci/Makefile.inc +++ b/src/soc/amd/common/block/pci/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI),y)
ramstage-y += amd_pci_util.c diff --git a/src/soc/amd/common/block/pm/Makefile.inc b/src/soc/amd/common/block/pm/Makefile.inc index 0baa114..27d9bb5 100644 --- a/src/soc/amd/common/block/pm/Makefile.inc +++ b/src/soc/amd/common/block/pm/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_AMD_COMMON_BLOCK_PM) += pmlib.c
romstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PM_CHIPSET_STATE_SAVE) += chipset_state.c diff --git a/src/soc/amd/common/block/psp/Makefile.inc b/src/soc/amd/common/block/psp/Makefile.inc index c3b0161..3b115e7 100644 --- a/src/soc/amd/common/block/psp/Makefile.inc +++ b/src/soc/amd/common/block/psp/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP),y)
romstage-y += psp.c diff --git a/src/soc/amd/common/block/sata/Makefile.inc b/src/soc/amd/common/block/sata/Makefile.inc index 3ca2a89..6c735f5 100644 --- a/src/soc/amd/common/block/sata/Makefile.inc +++ b/src/soc/amd/common/block/sata/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SATA) += sata.c diff --git a/src/soc/amd/common/block/smbus/Makefile.inc b/src/soc/amd/common/block/smbus/Makefile.inc index 867465e..50b9fdc 100644 --- a/src/soc/amd/common/block/smbus/Makefile.inc +++ b/src/soc/amd/common/block/smbus/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SMBUS),y)
bootblock-y += smbus_early_fch.c diff --git a/src/soc/amd/common/block/smi/Makefile.inc b/src/soc/amd/common/block/smi/Makefile.inc index b6239ae..0d07f73 100644 --- a/src/soc/amd/common/block/smi/Makefile.inc +++ b/src/soc/amd/common/block/smi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SMI),y)
bootblock-y += smi_util.c diff --git a/src/soc/amd/common/block/smn/Makefile.inc b/src/soc/amd/common/block/smn/Makefile.inc index 01de303..12dc400 100644 --- a/src/soc/amd/common/block/smn/Makefile.inc +++ b/src/soc/amd/common/block/smn/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SMN),y)
bootblock-y += smn.c diff --git a/src/soc/amd/common/block/smu/Makefile.inc b/src/soc/amd/common/block/smu/Makefile.inc index 13720a3..65ad6a7 100644 --- a/src/soc/amd/common/block/smu/Makefile.inc +++ b/src/soc/amd/common/block/smu/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_SMU) += smu.c bootblock-$(CONFIG_SOC_AMD_COMMON_BLOCK_SMU) += smu.c romstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SMU) += smu.c diff --git a/src/soc/amd/common/block/spi/Makefile.inc b/src/soc/amd/common/block/spi/Makefile.inc index c58df39..55ca308 100644 --- a/src/soc/amd/common/block/spi/Makefile.inc +++ b/src/soc/amd/common/block/spi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SPI),y)
bootblock-y += fch_spi_ctrl.c diff --git a/src/soc/amd/common/block/stb/Makefile.inc b/src/soc/amd/common/block/stb/Makefile.inc index 5ce9c4b..b77d965 100644 --- a/src/soc/amd/common/block/stb/Makefile.inc +++ b/src/soc/amd/common/block/stb/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_STB),y)
bootblock-y += stb.c diff --git a/src/soc/amd/common/block/uart/Makefile.inc b/src/soc/amd/common/block/uart/Makefile.inc index 153878c..de7b68e 100644 --- a/src/soc/amd/common/block/uart/Makefile.inc +++ b/src/soc/amd/common/block/uart/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_UART),y)
# all-y can't be used, since verstage on PSP has a different implementation diff --git a/src/soc/amd/common/fsp/Makefile.inc b/src/soc/amd/common/fsp/Makefile.inc index 827e4d1..6f220a5 100644 --- a/src/soc/amd/common/fsp/Makefile.inc +++ b/src/soc/amd/common/fsp/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) romstage-y += fsp_reset.c romstage-y += fsp_validate.c diff --git a/src/soc/amd/common/fsp/pci/Makefile.inc b/src/soc/amd/common/fsp/pci/Makefile.inc index cc1377a..85418f3 100644 --- a/src/soc/amd/common/fsp/pci/Makefile.inc +++ b/src/soc/amd/common/fsp/pci/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_COMMON_FSP_PCI),y)
ramstage-y += pci_routing_info.c diff --git a/src/soc/amd/common/pi/Makefile.inc b/src/soc/amd/common/pi/Makefile.inc index 8646b0b..8fcc4c0 100644 --- a/src/soc/amd/common/pi/Makefile.inc +++ b/src/soc/amd/common/pi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_AMD_PI),y)
romstage-y += agesawrapper.c diff --git a/src/soc/amd/common/vboot/Makefile.inc b/src/soc/amd/common/vboot/Makefile.inc index e3486ab..c40a6b0 100644 --- a/src/soc/amd/common/vboot/Makefile.inc +++ b/src/soc/amd/common/vboot/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_VBOOT_VBNV_CMOS),y) bootblock-y += vbnv_cmos.c verstage-y += vbnv_cmos.c diff --git a/src/soc/cavium/common/pci/Makefile.inc b/src/soc/cavium/common/pci/Makefile.inc index 1304052..0569ba6 100644 --- a/src/soc/cavium/common/pci/Makefile.inc +++ b/src/soc/cavium/common/pci/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += uart.c diff --git a/src/soc/example/min86/Makefile.inc b/src/soc/example/min86/Makefile.inc index c3cc195..01f1a94 100644 --- a/src/soc/example/min86/Makefile.inc +++ b/src/soc/example/min86/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_EXAMPLE_MIN86),y)
bootblock-y += cache_as_ram.S diff --git a/src/soc/intel/Makefile.inc b/src/soc/intel/Makefile.inc index bf0d52c..9a7ad74 100644 --- a/src/soc/intel/Makefile.inc +++ b/src/soc/intel/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_STITCH_ME_BIN),y)
objcse := $(obj)/cse diff --git a/src/soc/intel/alderlake/Makefile.inc b/src/soc/intel/alderlake/Makefile.inc index e9266c0..a4c6336 100644 --- a/src/soc/intel/alderlake/Makefile.inc +++ b/src/soc/intel/alderlake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE),y) subdirs-y += romstage subdirs-y += ../../../cpu/intel/microcode diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc index 8f36d4b..107a913 100644 --- a/src/soc/intel/apollolake/Makefile.inc +++ b/src/soc/intel/apollolake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_APOLLOLAKE),y)
subdirs-y += ../../../cpu/intel/common diff --git a/src/soc/intel/baytrail/Makefile.inc b/src/soc/intel/baytrail/Makefile.inc index 2bd558d..281175c 100644 --- a/src/soc/intel/baytrail/Makefile.inc +++ b/src/soc/intel/baytrail/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_BAYTRAIL),y)
subdirs-y += romstage diff --git a/src/soc/intel/baytrail/romstage/Makefile.inc b/src/soc/intel/baytrail/romstage/Makefile.inc index 58d7889..95e69ec 100644 --- a/src/soc/intel/baytrail/romstage/Makefile.inc +++ b/src/soc/intel/baytrail/romstage/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-y += ../../../../cpu/intel/car/romstage.c romstage-y += romstage.c romstage-y += raminit.c diff --git a/src/soc/intel/braswell/Makefile.inc b/src/soc/intel/braswell/Makefile.inc index 4ecb4e7..16d603b 100644 --- a/src/soc/intel/braswell/Makefile.inc +++ b/src/soc/intel/braswell/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y)
subdirs-y += romstage diff --git a/src/soc/intel/braswell/romstage/Makefile.inc b/src/soc/intel/braswell/romstage/Makefile.inc index d405133..4405f0e 100644 --- a/src/soc/intel/braswell/romstage/Makefile.inc +++ b/src/soc/intel/braswell/romstage/Makefile.inc @@ -1,2 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-y += ../../../../cpu/intel/car/romstage.c romstage-y += romstage.c diff --git a/src/soc/intel/broadwell/Makefile.inc b/src/soc/intel/broadwell/Makefile.inc index db590e7..3565cd1 100644 --- a/src/soc/intel/broadwell/Makefile.inc +++ b/src/soc/intel/broadwell/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_BROADWELL),y)
subdirs-y += pch diff --git a/src/soc/intel/broadwell/pch/Makefile.inc b/src/soc/intel/broadwell/pch/Makefile.inc index c83c947..be2f4a4 100644 --- a/src/soc/intel/broadwell/pch/Makefile.inc +++ b/src/soc/intel/broadwell/pch/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-y += bootblock.c
ramstage-y += adsp.c diff --git a/src/soc/intel/cannonlake/Makefile.inc b/src/soc/intel/cannonlake/Makefile.inc index 0eb2ffd..4bd6a00 100644 --- a/src/soc/intel/cannonlake/Makefile.inc +++ b/src/soc/intel/cannonlake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_CANNONLAKE_BASE),y)
subdirs-y += romstage diff --git a/src/soc/intel/common/Makefile.inc b/src/soc/intel/common/Makefile.inc index 28842da..b273ed7 100644 --- a/src/soc/intel/common/Makefile.inc +++ b/src/soc/intel/common/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON),y)
subdirs-y += basecode/ diff --git a/src/soc/intel/common/basecode/Makefile.inc b/src/soc/intel/common/basecode/Makefile.inc index 7fdd0e5..4037484 100644 --- a/src/soc/intel/common/basecode/Makefile.inc +++ b/src/soc/intel/common/basecode/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BASECODE),y)
subdirs-y += ./* diff --git a/src/soc/intel/common/basecode/debug/Makefile.inc b/src/soc/intel/common/basecode/debug/Makefile.inc index 750f88f..9cf4b2b 100644 --- a/src/soc/intel/common/basecode/debug/Makefile.inc +++ b/src/soc/intel/common/basecode/debug/Makefile.inc @@ -1,2 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-$(CONFIG_SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE) += debug_feature.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE) += debug_feature.c diff --git a/src/soc/intel/common/block/Makefile.inc b/src/soc/intel/common/block/Makefile.inc index d6f53c8..ab1971f 100644 --- a/src/soc/intel/common/block/Makefile.inc +++ b/src/soc/intel/common/block/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK),y)
subdirs-y += ./* diff --git a/src/soc/intel/common/block/acpi/Makefile.inc b/src/soc/intel/common/block/acpi/Makefile.inc index 0286d94..0375ce9 100644 --- a/src/soc/intel/common/block/acpi/Makefile.inc +++ b/src/soc/intel/common/block/acpi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_ACPI) += acpi.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_ACPI_GPIO) += gpio.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_ACPI_LPIT) += lpit.c diff --git a/src/soc/intel/common/block/chip/Makefile.inc b/src/soc/intel/common/block/chip/Makefile.inc index 425d5a2..3f6d7d8 100644 --- a/src/soc/intel/common/block/chip/Makefile.inc +++ b/src/soc/intel/common/block/chip/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG),y)
bootblock-y += chip.c diff --git a/src/soc/intel/common/block/cnvi/Makefile.inc b/src/soc/intel/common/block/cnvi/Makefile.inc index 01b9d1d..d21fad3 100644 --- a/src/soc/intel/common/block/cnvi/Makefile.inc +++ b/src/soc/intel/common/block/cnvi/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CNVI) += cnvi.c diff --git a/src/soc/intel/common/block/cpu/Makefile.inc b/src/soc/intel/common/block/cpu/Makefile.inc index 42e392c..8dd6796 100644 --- a/src/soc/intel/common/block/cpu/Makefile.inc +++ b/src/soc/intel/common/block/cpu/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_FSP_CAR),y) bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CPU)+= car/cache_as_ram_fsp.S ifeq ($(CONFIG_NO_FSP_TEMP_RAM_EXIT),y) diff --git a/src/soc/intel/common/block/crashlog/Makefile.inc b/src/soc/intel/common/block/crashlog/Makefile.inc index 3ff1120..1f101c5 100644 --- a/src/soc/intel/common/block/crashlog/Makefile.inc +++ b/src/soc/intel/common/block/crashlog/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CRASHLOG) += crashlog.c diff --git a/src/soc/intel/common/block/cse/Makefile.inc b/src/soc/intel/common/block/cse/Makefile.inc index 0c307ca..d5ea933 100644 --- a/src/soc/intel/common/block/cse/Makefile.inc +++ b/src/soc/intel/common/block/cse/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CSE) += cse.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_CSE) += cse.c romstage-$(CONFIG_SOC_INTEL_CSE_LITE_SKU) += cse_lite.c diff --git a/src/soc/intel/common/block/dsp/Makefile.inc b/src/soc/intel/common/block/dsp/Makefile.inc index 6c2cb79..99efaa8 100644 --- a/src/soc/intel/common/block/dsp/Makefile.inc +++ b/src/soc/intel/common/block/dsp/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_DSP) += dsp.c diff --git a/src/soc/intel/common/block/dtt/Makefile.inc b/src/soc/intel/common/block/dtt/Makefile.inc index 08f48c9..f1d0584 100644 --- a/src/soc/intel/common/block/dtt/Makefile.inc +++ b/src/soc/intel/common/block/dtt/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_DTT) += dtt.c diff --git a/src/soc/intel/common/block/fast_spi/Makefile.inc b/src/soc/intel/common/block/fast_spi/Makefile.inc index 62c744f..1237000a 100644 --- a/src/soc/intel/common/block/fast_spi/Makefile.inc +++ b/src/soc/intel/common/block/fast_spi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_FAST_SPI) += fast_spi.c bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_FAST_SPI) += fast_spi_flash.c
diff --git a/src/soc/intel/common/block/gpio/Makefile.inc b/src/soc/intel/common/block/gpio/Makefile.inc index 0379e92..62f46b7 100644 --- a/src/soc/intel/common/block/gpio/Makefile.inc +++ b/src/soc/intel/common/block/gpio/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GPIO) += gpio.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GPIO) += gpio.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GPIO) += gpio.c diff --git a/src/soc/intel/common/block/gpmr/Makefile.inc b/src/soc/intel/common/block/gpmr/Makefile.inc index 2725fe1..bfaec52 100644 --- a/src/soc/intel/common/block/gpmr/Makefile.inc +++ b/src/soc/intel/common/block/gpmr/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_GPMR), y)
bootblock-y += gpmr.c diff --git a/src/soc/intel/common/block/graphics/Makefile.inc b/src/soc/intel/common/block/graphics/Makefile.inc index 44dfc7e..ac7df44 100644 --- a/src/soc/intel/common/block/graphics/Makefile.inc +++ b/src/soc/intel/common/block/graphics/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GRAPHICS) += graphics.c diff --git a/src/soc/intel/common/block/gspi/Makefile.inc b/src/soc/intel/common/block/gspi/Makefile.inc index 2eb13fa..a820866 100644 --- a/src/soc/intel/common/block/gspi/Makefile.inc +++ b/src/soc/intel/common/block/gspi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI) += gspi.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI) += gspi.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI) += gspi.c diff --git a/src/soc/intel/common/block/hda/Makefile.inc b/src/soc/intel/common/block/hda/Makefile.inc index 410389c..b7d9dea 100644 --- a/src/soc/intel/common/block/hda/Makefile.inc +++ b/src/soc/intel/common/block/hda/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA) += hda.c diff --git a/src/soc/intel/common/block/i2c/Makefile.inc b/src/soc/intel/common/block/i2c/Makefile.inc index db26538..0a03fac 100644 --- a/src/soc/intel/common/block/i2c/Makefile.inc +++ b/src/soc/intel/common/block/i2c/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_I2C),y)
bootblock-y += i2c.c diff --git a/src/soc/intel/common/block/ioc/Makefile.inc b/src/soc/intel/common/block/ioc/Makefile.inc index 5896534..19ad8d0 100644 --- a/src/soc/intel/common/block/ioc/Makefile.inc +++ b/src/soc/intel/common/block/ioc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_IOC) += ioc.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_IOC) += ioc.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_IOC) += ioc.c diff --git a/src/soc/intel/common/block/ipu/Makefile.inc b/src/soc/intel/common/block/ipu/Makefile.inc index ac5bc76..9aa7668 100644 --- a/src/soc/intel/common/block/ipu/Makefile.inc +++ b/src/soc/intel/common/block/ipu/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_IPU) += ipu.c diff --git a/src/soc/intel/common/block/irq/Makefile.inc b/src/soc/intel/common/block/irq/Makefile.inc index 71b0691..ce801bd 100644 --- a/src/soc/intel/common/block/irq/Makefile.inc +++ b/src/soc/intel/common/block/irq/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_IRQ) += irq.c diff --git a/src/soc/intel/common/block/itss/Makefile.inc b/src/soc/intel/common/block/itss/Makefile.inc index bc0e97a..543bfa3 100644 --- a/src/soc/intel/common/block/itss/Makefile.inc +++ b/src/soc/intel/common/block/itss/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_ITSS) += itss.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_ITSS) += itss.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_ITSS) += itss.c diff --git a/src/soc/intel/common/block/lpc/Makefile.inc b/src/soc/intel/common/block/lpc/Makefile.inc index 428ade9..b510cd0 100644 --- a/src/soc/intel/common/block/lpc/Makefile.inc +++ b/src/soc/intel/common/block/lpc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPC) += lpc_lib.c
romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPC) += lpc_lib.c diff --git a/src/soc/intel/common/block/lpss/Makefile.inc b/src/soc/intel/common/block/lpss/Makefile.inc index a185492..c990ffa 100644 --- a/src/soc/intel/common/block/lpss/Makefile.inc +++ b/src/soc/intel/common/block/lpss/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c verstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c diff --git a/src/soc/intel/common/block/memory/Makefile.inc b/src/soc/intel/common/block/memory/Makefile.inc index 1009872..083864f 100644 --- a/src/soc/intel/common/block/memory/Makefile.inc +++ b/src/soc/intel/common/block/memory/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_MEMINIT) += meminit.c diff --git a/src/soc/intel/common/block/p2sb/Makefile.inc b/src/soc/intel/common/block/p2sb/Makefile.inc index 3274279..bcdd5a2 100644 --- a/src/soc/intel/common/block/p2sb/Makefile.inc +++ b/src/soc/intel/common/block/p2sb/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_BASE_P2SB) += p2sblib.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_BASE_P2SB) += p2sblib.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_BASE_P2SB) += p2sblib.c diff --git a/src/soc/intel/common/block/pcie/Makefile.inc b/src/soc/intel/common/block/pcie/Makefile.inc index 521ca6b..9f7ce9a 100644 --- a/src/soc/intel/common/block/pcie/Makefile.inc +++ b/src/soc/intel/common/block/pcie/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ./*
romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PCIE) += pcie_helpers.c diff --git a/src/soc/intel/common/block/pcie/rtd3/Makefile.inc b/src/soc/intel/common/block/pcie/rtd3/Makefile.inc index 7edea97..7e7f22c 100644 --- a/src/soc/intel/common/block/pcie/rtd3/Makefile.inc +++ b/src/soc/intel/common/block/pcie/rtd3/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PCIE_RTD3) += rtd3.c diff --git a/src/soc/intel/common/block/pcr/Makefile.inc b/src/soc/intel/common/block/pcr/Makefile.inc index 0577e0a..db3133a 100644 --- a/src/soc/intel/common/block/pcr/Makefile.inc +++ b/src/soc/intel/common/block/pcr/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PCR) += pcr.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PCR) += pcr.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PCR) += pcr.c diff --git a/src/soc/intel/common/block/pmc/Makefile.inc b/src/soc/intel/common/block/pmc/Makefile.inc index 8dacc10..e46d5ee 100644 --- a/src/soc/intel/common/block/pmc/Makefile.inc +++ b/src/soc/intel/common/block/pmc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC),y) bootblock-y += pmclib.c romstage-y += pmclib.c diff --git a/src/soc/intel/common/block/power_limit/Makefile.inc b/src/soc/intel/common/block/power_limit/Makefile.inc index 83c41a7..8211eb7 100644 --- a/src/soc/intel/common/block/power_limit/Makefile.inc +++ b/src/soc/intel/common/block/power_limit/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_POWER_LIMIT) += power_limit.c diff --git a/src/soc/intel/common/block/rtc/Makefile.inc b/src/soc/intel/common/block/rtc/Makefile.inc index aeb0d94..13ab788 100644 --- a/src/soc/intel/common/block/rtc/Makefile.inc +++ b/src/soc/intel/common/block/rtc/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_RTC) += rtc.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_RTC) += rtc.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_RTC) += rtc.c diff --git a/src/soc/intel/common/block/sata/Makefile.inc b/src/soc/intel/common/block/sata/Makefile.inc index 623d151..aabba8c 100644 --- a/src/soc/intel/common/block/sata/Makefile.inc +++ b/src/soc/intel/common/block/sata/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SATA) += sata.c diff --git a/src/soc/intel/common/block/scs/Makefile.inc b/src/soc/intel/common/block/scs/Makefile.inc index 0b77f5f..63a7213 100644 --- a/src/soc/intel/common/block/scs/Makefile.inc +++ b/src/soc/intel/common/block/scs/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifneq ($(CONFIG_SOC_INTEL_ALDERLAKE_PCH_N),y) ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SCS) += sd.c endif diff --git a/src/soc/intel/common/block/sgx/Makefile.inc b/src/soc/intel/common/block/sgx/Makefile.inc index ce3c436..84ca67f 100644 --- a/src/soc/intel/common/block/sgx/Makefile.inc +++ b/src/soc/intel/common/block/sgx/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SGX_ENABLE) += sgx.c diff --git a/src/soc/intel/common/block/smbus/Makefile.inc b/src/soc/intel/common/block/smbus/Makefile.inc index 53dc15e..777d92a 100644 --- a/src/soc/intel/common/block/smbus/Makefile.inc +++ b/src/soc/intel/common/block/smbus/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SMBUS) += smbuslib.c bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SMBUS) += smbus_early.c bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_TCO) += tco.c diff --git a/src/soc/intel/common/block/smm/Makefile.inc b/src/soc/intel/common/block/smm/Makefile.inc index 82a3191..318cd62 100644 --- a/src/soc/intel/common/block/smm/Makefile.inc +++ b/src/soc/intel/common/block/smm/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SMM) += smm.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SMM) += smm.c postcar-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SMM) += smm.c diff --git a/src/soc/intel/common/block/spi/Makefile.inc b/src/soc/intel/common/block/spi/Makefile.inc index 1ac4c21..a95d605 100644 --- a/src/soc/intel/common/block/spi/Makefile.inc +++ b/src/soc/intel/common/block/spi/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_SPI),y) bootblock-y += spi.c
diff --git a/src/soc/intel/common/block/sram/Makefile.inc b/src/soc/intel/common/block/sram/Makefile.inc index a490d91..5597741 100644 --- a/src/soc/intel/common/block/sram/Makefile.inc +++ b/src/soc/intel/common/block/sram/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SRAM) += sram.c diff --git a/src/soc/intel/common/block/systemagent/Makefile.inc b/src/soc/intel/common/block/systemagent/Makefile.inc index 7e49ec72..fe7a71c 100644 --- a/src/soc/intel/common/block/systemagent/Makefile.inc +++ b/src/soc/intel/common/block/systemagent/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SA) += systemagent_early.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SA) += systemagent_early.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SA) += systemagent_early.c diff --git a/src/soc/intel/common/block/tcss/Makefile.inc b/src/soc/intel/common/block/tcss/Makefile.inc index a391080..3c1bf5f 100644 --- a/src/soc/intel/common/block/tcss/Makefile.inc +++ b/src/soc/intel/common/block/tcss/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_TCSS) += tcss.c diff --git a/src/soc/intel/common/block/thermal/Makefile.inc b/src/soc/intel/common/block/thermal/Makefile.inc index cd71032..24d29f7 100644 --- a/src/soc/intel/common/block/thermal/Makefile.inc +++ b/src/soc/intel/common/block/thermal/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL) += thermal_common.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL_PCI_DEV) += thermal_pci.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_THERMAL_BEHIND_PMC) += thermal_pmc.c diff --git a/src/soc/intel/common/block/timer/Makefile.inc b/src/soc/intel/common/block/timer/Makefile.inc index b562c50..bb69fab 100644 --- a/src/soc/intel/common/block/timer/Makefile.inc +++ b/src/soc/intel/common/block/timer/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_TIMER) += timer.c verstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_TIMER) += timer.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_TIMER) += timer.c diff --git a/src/soc/intel/common/block/uart/Makefile.inc b/src/soc/intel/common/block/uart/Makefile.inc index d7a7702..ded8719 100644 --- a/src/soc/intel/common/block/uart/Makefile.inc +++ b/src/soc/intel/common/block/uart/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_UART) += uart.c romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_UART) += uart.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_UART) += uart.c diff --git a/src/soc/intel/common/block/usb4/Makefile.inc b/src/soc/intel/common/block/usb4/Makefile.inc index 91f0991..760cf1c 100644 --- a/src/soc/intel/common/block/usb4/Makefile.inc +++ b/src/soc/intel/common/block/usb4/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_USB4) += usb4.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_USB4_PCIE) += pcie.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_USB4_XHCI) += xhci.c diff --git a/src/soc/intel/common/block/xdci/Makefile.inc b/src/soc/intel/common/block/xdci/Makefile.inc index 3326cde..97859a8 100644 --- a/src/soc/intel/common/block/xdci/Makefile.inc +++ b/src/soc/intel/common/block/xdci/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_XDCI) += xdci.c diff --git a/src/soc/intel/common/block/xhci/Makefile.inc b/src/soc/intel/common/block/xhci/Makefile.inc index 831992a..f1ef3e5 100644 --- a/src/soc/intel/common/block/xhci/Makefile.inc +++ b/src/soc/intel/common/block/xhci/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_XHCI) += xhci.c ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_XHCI_ELOG) += elog.c
diff --git a/src/soc/intel/common/pch/Makefile.inc b/src/soc/intel/common/pch/Makefile.inc index fca3908..19c17d5 100644 --- a/src/soc/intel/common/pch/Makefile.inc +++ b/src/soc/intel/common/pch/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-$(CONFIG_SOC_INTEL_COMMON_PCH_BASE) += ./*
ifeq ($(CONFIG_SOC_INTEL_COMMON_PCH_BASE),y) diff --git a/src/soc/intel/common/pch/lockdown/Makefile.inc b/src/soc/intel/common/pch/lockdown/Makefile.inc index f4663f5..71466f8 100644 --- a/src/soc/intel/common/pch/lockdown/Makefile.inc +++ b/src/soc/intel/common/pch/lockdown/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-$(CONFIG_SOC_INTEL_COMMON_PCH_LOCKDOWN) += lockdown.c diff --git a/src/soc/intel/elkhartlake/Makefile.inc b/src/soc/intel/elkhartlake/Makefile.inc index 2c613e0..1ed11b4 100644 --- a/src/soc/intel/elkhartlake/Makefile.inc +++ b/src/soc/intel/elkhartlake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_ELKHARTLAKE),y)
subdirs-y += romstage diff --git a/src/soc/intel/icelake/Makefile.inc b/src/soc/intel/icelake/Makefile.inc index 90c3036..ad26056 100644 --- a/src/soc/intel/icelake/Makefile.inc +++ b/src/soc/intel/icelake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_ICELAKE),y)
subdirs-y += romstage diff --git a/src/soc/intel/jasperlake/Makefile.inc b/src/soc/intel/jasperlake/Makefile.inc index 36a6caf..44fbdf3 100644 --- a/src/soc/intel/jasperlake/Makefile.inc +++ b/src/soc/intel/jasperlake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_JASPERLAKE),y)
subdirs-y += romstage diff --git a/src/soc/intel/meteorlake/Makefile.inc b/src/soc/intel/meteorlake/Makefile.inc index 147fb59..2876e16 100644 --- a/src/soc/intel/meteorlake/Makefile.inc +++ b/src/soc/intel/meteorlake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_METEORLAKE),y)
subdirs-y += romstage diff --git a/src/soc/intel/skylake/Makefile.inc b/src/soc/intel/skylake/Makefile.inc index 369f324..162b343 100644 --- a/src/soc/intel/skylake/Makefile.inc +++ b/src/soc/intel/skylake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_COMMON_SKYLAKE_BASE),y)
subdirs-y += nhlt diff --git a/src/soc/intel/skylake/nhlt/Makefile.inc b/src/soc/intel/skylake/nhlt/Makefile.inc index 7596492..dda9662 100644 --- a/src/soc/intel/skylake/nhlt/Makefile.inc +++ b/src/soc/intel/skylake/nhlt/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ramstage-y += dmic.c ramstage-y += nau88l25.c ramstage-y += max98357.c diff --git a/src/soc/intel/skylake/romstage/Makefile.inc b/src/soc/intel/skylake/romstage/Makefile.inc index cac7065..3e665b3 100644 --- a/src/soc/intel/skylake/romstage/Makefile.inc +++ b/src/soc/intel/skylake/romstage/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only romstage-y += fsp_params.c romstage-y += ../../../../cpu/intel/car/romstage.c romstage-y += romstage.c diff --git a/src/soc/intel/tigerlake/Makefile.inc b/src/soc/intel/tigerlake/Makefile.inc index 8436980..5a00699 100644 --- a/src/soc/intel/tigerlake/Makefile.inc +++ b/src/soc/intel/tigerlake/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_INTEL_TIGERLAKE),y)
subdirs-y += romstage diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc index 6a71cd6..3b4a1e8 100644 --- a/src/soc/mediatek/mt8183/Makefile.inc +++ b/src/soc/mediatek/mt8183/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_MEDIATEK_MT8183),y)
bootblock-y += bootblock.c diff --git a/src/soc/mediatek/mt8186/Makefile.inc b/src/soc/mediatek/mt8186/Makefile.inc index 5764634..d03ea0e 100644 --- a/src/soc/mediatek/mt8186/Makefile.inc +++ b/src/soc/mediatek/mt8186/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_MEDIATEK_MT8186),y)
# for bootblock, verstage, romstage, ramstage diff --git a/src/soc/mediatek/mt8188/Makefile.inc b/src/soc/mediatek/mt8188/Makefile.inc index 83914e8..fc56eb3 100644 --- a/src/soc/mediatek/mt8188/Makefile.inc +++ b/src/soc/mediatek/mt8188/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_MEDIATEK_MT8188),y)
all-y += ../common/flash_controller.c diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc index cd3f473..5d4b87b 100644 --- a/src/soc/mediatek/mt8192/Makefile.inc +++ b/src/soc/mediatek/mt8192/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_MEDIATEK_MT8192),y)
# for bootblock, verstage, romstage, ramstage diff --git a/src/soc/mediatek/mt8195/Makefile.inc b/src/soc/mediatek/mt8195/Makefile.inc index 84cd802..73ea6fa 100644 --- a/src/soc/mediatek/mt8195/Makefile.inc +++ b/src/soc/mediatek/mt8195/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_MEDIATEK_MT8195),y)
# for bootblock, verstage, romstage, ramstage diff --git a/src/soc/nvidia/tegra124/Makefile.inc b/src/soc/nvidia/tegra124/Makefile.inc index e80125e..fb8c160 100644 --- a/src/soc/nvidia/tegra124/Makefile.inc +++ b/src/soc/nvidia/tegra124/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_NVIDIA_TEGRA124),y)
bootblock-y += bootblock.c diff --git a/src/soc/nvidia/tegra210/Makefile.inc b/src/soc/nvidia/tegra210/Makefile.inc index 5846be9..d93f048 100644 --- a/src/soc/nvidia/tegra210/Makefile.inc +++ b/src/soc/nvidia/tegra210/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_NVIDIA_TEGRA210),y)
CBOOTIMAGE_OPTS = --soc tegra210 diff --git a/src/soc/qualcomm/qcs405/Makefile.inc b/src/soc/qualcomm/qcs405/Makefile.inc index 3e1bccc..5512af5 100644 --- a/src/soc/qualcomm/qcs405/Makefile.inc +++ b/src/soc/qualcomm/qcs405/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_SOC_QUALCOMM_QCS405),y)
diff --git a/src/soc/qualcomm/sc7180/Makefile.inc b/src/soc/qualcomm/sc7180/Makefile.inc index 956d80c..734691e 100644 --- a/src/soc/qualcomm/sc7180/Makefile.inc +++ b/src/soc/qualcomm/sc7180/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_SOC_QUALCOMM_SC7180),y)
diff --git a/src/soc/qualcomm/sc7280/Makefile.inc b/src/soc/qualcomm/sc7280/Makefile.inc index 6f94475..6280068 100644 --- a/src/soc/qualcomm/sc7280/Makefile.inc +++ b/src/soc/qualcomm/sc7280/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_QUALCOMM_SC7280),y)
decompressor-y += decompressor.c diff --git a/src/soc/samsung/exynos5250/Makefile.inc b/src/soc/samsung/exynos5250/Makefile.inc index 861c0bb..8456a6b 100644 --- a/src/soc/samsung/exynos5250/Makefile.inc +++ b/src/soc/samsung/exynos5250/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5250),y)
bootblock-y += spi.c alternate_cbfs.c diff --git a/src/soc/samsung/exynos5420/Makefile.inc b/src/soc/samsung/exynos5420/Makefile.inc index f455558..aa12132 100644 --- a/src/soc/samsung/exynos5420/Makefile.inc +++ b/src/soc/samsung/exynos5420/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_CPU_SAMSUNG_EXYNOS5420),y)
bootblock-y += spi.c alternate_cbfs.c diff --git a/src/soc/ti/Makefile.inc b/src/soc/ti/Makefile.inc index 357cc82..7eb83d5 100644 --- a/src/soc/ti/Makefile.inc +++ b/src/soc/ti/Makefile.inc @@ -1 +1,2 @@ +## SPDX-License-Identifier: GPL-2.0-only subdirs-$(CONFIG_SOC_TI_AM335X) += am335x diff --git a/src/soc/ti/am335x/Makefile.inc b/src/soc/ti/am335x/Makefile.inc index 4e35529..e09a0f7 100644 --- a/src/soc/ti/am335x/Makefile.inc +++ b/src/soc/ti/am335x/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_TI_AM335X),y) bootblock-y += bootblock.c bootblock-y += timer.c diff --git a/src/soc/ucb/riscv/Makefile.inc b/src/soc/ucb/riscv/Makefile.inc index 6d2c36a..08fa740 100644 --- a/src/soc/ucb/riscv/Makefile.inc +++ b/src/soc/ucb/riscv/Makefile.inc @@ -1,3 +1,4 @@ +## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_SOC_UCB_RISCV),y)
romstage-y += cbmem.c