diff options
Diffstat (limited to 'src')
122 files changed, 122 insertions, 0 deletions
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc index 63ee773dddfa..f047a590bf03 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 ad75b92866f9..eeebadf2b2ee 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 c1fa6ec40823..343e3a703f39 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 f7dc10795560..2c8f391889a9 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 bbc52fbd3d1a..d1e0ab9add46 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 b393c3db1308..fbb96eef87a3 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 4debc5592837..21f072713476 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 56cd5e12de0c..746e015103c3 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 7541a9bd5b6b..bd9e8ff88ff5 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 130b34b6832a..5116c56cd198 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 fd9e573e057b..c8120be97e31 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 2de2695b5551..27510bf540b0 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 3b6fb807e5ec..9562d43f2d5c 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 e24db5813316..ba7f942c0bd3 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 3938af122ed5..1aa030893807 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 ed68ab238d04..3f2603f6e61a 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 616b58986d91..64fbe27c7c3a 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 3f21aafe7def..8e3d1bc50a32 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 d6f1b3275a6a..e21b7582ce87 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 b0747fe50f2d..2812fb311d9c 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 d08dbfcc3314..a8bc1d6d4642 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 040517d947b2..6bec843020e0 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 03958c7543c9..b938c67c75e2 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 0baa11414ca1..27d9bb5fe883 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 c3b01615147d..3b115e732cf6 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 3ca2a890e2b3..6c735f559899 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 867465efd4c3..50b9fdc4653b 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 b6239aec7692..0d07f739e3b8 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 01de3036064b..12dc4003ad66 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 13720a3ccf22..65ad6a7bcc89 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 c58df39a3d1c..55ca308c0212 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 5ce9c4b22850..b77d9650d505 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 153878cb6b09..de7b68e3fd19 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 827e4d1e7d49..6f220a5f750e 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 cc1377a42c45..85418f395f6c 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 8646b0bb1e93..8fcc4c0cf440 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 e3486abffc5e..c40a6b05559a 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 13040527d001..0569ba61b319 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 c3cc195af4b9..01f1a94bc486 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 bf0d52cd1aaa..9a7ad7499e7e 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 e9266c0da494..a4c6336449e2 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 8f36d4b8e8e8..107a91393236 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 2bd558d5da52..281175c9a8da 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 58d7889917b9..95e69ec23784 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 4ecb4e79f187..16d603bbca42 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 d405133110a7..4405f0ebc4ff 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 db590e7fae73..3565cd180bd6 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 c83c94773f6d..be2f4a429273 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 0eb2ffd3d291..4bd6a00e0a5a 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 28842da0ba7c..b273ed7c12b9 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 7fdd0e544be2..4037484cf80c 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 750f88f488ab..9cf4b2bc2f31 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 d6f53c8ba655..ab1971f58e63 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 0286d942dcdc..0375ce9c09a6 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 425d5a24c8ca..3f6d7d861027 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 01b9d1d0e901..d21fad3859fc 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 42e392ca7591..8dd6796d59e6 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 3ff11206099b..1f101c5c7e52 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 0c307cab7b95..d5ea93397aaa 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 6c2cb79d4ee2..99efaa87bb43 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 08f48c9e103a..f1d058407e4c 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 62c744f0fb37..1237000af028 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 0379e92250ff..62f46b78e423 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 2725fe1f65f7..bfaec52c7683 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 44dfc7ef2c4f..ac7df44a2fd2 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 2eb13fa347f4..a820866cebbb 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 410389c423ce..b7d9dea53c0d 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 db26538b1af4..0a03fac4cee9 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 589653472980..19ad8d04769c 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 ac5bc764a881..9aa766870349 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 71b069105cf5..ce801bd443f6 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 bc0e97a2f905..543bfa3f2889 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 428ade9ade13..b510cd0ec355 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 a185492535a2..c990ffaa3edc 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 1009872702b1..083864fc6443 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 32742795d6d7..bcdd5a2752b0 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 521ca6b37edd..9f7ce9a6f7a6 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 7edea97bd49d..7e7f22c9ab9b 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 0577e0ac4fde..db3133a5ec08 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 8dacc1091003..e46d5ee7e048 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 83c41a7ba795..8211eb7a4f00 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 aeb0d9431ee5..13ab7889ca41 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 623d1511e1e5..aabba8c7308a 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 0b77f5fa2184..63a7213d6cfa 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 ce3c436141fa..84ca67fa347d 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 53dc15e17916..777d92ad096b 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 82a3191e2575..318cd627c235 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 1ac4c2175b63..a95d605f71fe 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 a490d914fdd6..5597741e2870 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 7e49ec7291b8..fe7a71cbcc6d 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 a3910808f87d..3c1bf5f97ef1 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 cd71032ecb61..24d29f73a516 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 b562c5078186..bb69fab19902 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 d7a770258f50..ded8719929a7 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 91f0991534c4..760cf1c4659f 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 3326cde87180..97859a8015f1 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 831992ad165b..f1ef3e5f6fa0 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 fca3908a03fb..19c17d579cfe 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 f4663f569a60..71466f8edd1a 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 2c613e016848..1ed11b464451 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 90c3036a8bd6..ad26056a0f44 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 36a6caf086d5..44fbdf341d76 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 147fb59e4c94..2876e16c9e3d 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 369f324243c8..162b343ae280 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 7596492f48a5..dda96620145f 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 cac7065b1092..3e665b36fad5 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 843698072fa7..5a00699a9018 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 6a71cd6b2228..3b4a1e8ccb55 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 5764634ee990..d03ea0e791e4 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 83914e8d5046..fc56eb3f4a8f 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 cd3f473e20aa..5d4b87b51eee 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 84cd802be385..73ea6faccd26 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 e80125e9537b..fb8c160faeba 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 5846be9809ab..d93f0488c5c7 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 3e1bccc99e74..5512af5650c8 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 956d80c207b3..734691ea0a78 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 6f94475d9782..62800680a4b1 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 861c0bb8fbe5..8456a6b35e98 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 f455558bfee8..aa121323b190 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 357cc82e18ec..7eb83d51eb7c 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 4e35529889d6..e09a0f7e378e 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 6d2c36a3405a..08fa740a2e0d 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 |