mainboard: Add SPDX license headers to Makefiles

To help identify the licenses of the various files contained in the
coreboot source, we've added SPDX headers to the top of all of the
.c and .h files. This extends that practice to Makefiles.

Any file in the coreboot project without a specific license is bound
to the license of the overall coreboot project, GPL Version 2.

This patch adds the GPL V2 license identifier to the top of all
makefiles in the mainboard directory that don't already have an SPDX
license line at the top.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ic451e68b1ad9ccdf34484dd98bd7fca7e177ef22
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68982
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Tim Crawford <tcrawford@system76.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Martin Roth
2023-08-04 12:16:41 -06:00
committed by Martin L Roth
parent 8324fe9211
commit 8ebd8cc348
142 changed files with 275 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += gpio.c
bootblock-y += early_init.c
romstage-y += early_init.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gnvs.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += cstates.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
romstage-$(CONFIG_BOARD_ASUS_P3B_F) += variants/$(VARIANT_DIR)/romstage.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += cstates.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c gpio.c
romstage-y += romstage.c
ramstage-y += ramstage.c gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/acpi

View File

@@ -1 +1,3 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = samsung-K4AAG165WA-BCTD

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/acpi

View File

@@ -1 +1,3 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = samsung-M471A1G44AB0-CWE

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += memmap.c
postcar-y += memmap.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
bootblock-y += memmap.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += early_init.c
bootblock-y += early_init.c
ramstage-y += cstates.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += cstates.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += cstates.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
subdirs-y += sdram_params/
bootblock-y += memlayout.ld

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
sdram-params :=
# Generic parameters

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += memory.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += memory.c

View File

@@ -1,2 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += memory.c
ramstage-y += ramstage.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += memory.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += memlayout.ld
bootblock-y += bootblock.c
bootblock-y += chromeos.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += memlayout.ld
bootblock-y += bootblock.c
bootblock-y += chromeos.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
bootblock-$(CONFIG_CHROMEOS) += chromeos.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += memlayout.ld
bootblock-y += bootblock.c
bootblock-y += chromeos.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
bootblock-y += helpers.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
subdirs-y += sdram_params/
subdirs-y += panel_params/

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
sdram-params :=
sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCR-4GB
sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += chromeos.c
bootblock-y += reset.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
bootblock-y += ec.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += memory.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,2 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
SEC_SPD_BIN = $(obj)/sec-spd.bin

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF # 0b0001

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += memory.c

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
# IMPORTANT!! When a new memory SPD is added here, please ensure that ddp_bitmap
# is correctly updated in memory.c to indicate if memory id is using DDP.

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = samsung_dimm_K4E8E324EB-EGCF # 0b0000
SPD_SOURCES += samsung_dimm_K4E6E304EB-EGCF # 0b0001

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF # 0b0001 4GB

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += micron_dimm_MT52L256M64D2PP-107 # 0b0001

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = micron_dimm_MT52L512M32D2PF-093 # 0b0000
SPD_SOURCES += samsung_dimm_K4E8E324EB-EGCF # 0b0001
SPD_SOURCES += micron_dimm_MT52L256M32D1PF-093 # 0b0010

View File

@@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
SPD_SOURCES = empty # 0b0000
SPD_SOURCES += micron_dimm_MT52L256M64D2PP-107 # 0b0001

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
bootblock-y += ec.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += mainboard.c

View File

@@ -1 +1,3 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += memory.c

View File

@@ -1 +1,3 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += mainboard.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += memory.c
ramstage-y += ramstage.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += memory.c
ramstage-y += ramstage.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
romstage-y += memory.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += early_init.c
bootblock-y += gpio.c
romstage-y += early_init.c

View File

@@ -1,2 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-y += superio_hwm.c
ramstage-y += cstates.c
romstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
romstage-y += romstage.c
ramstage-y += ramstage.c

View File

@@ -1 +1,3 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
romstage-y += romstage.c
ramstage-y += ramstage.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += bootblock.c
romstage-y += romstage.c
ramstage-y += ramstage.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += gpio.c
ramstage-y += gpio.c

View File

@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-y += early_init.c
romstage-y += early_init.c
ramstage-y += cstates.c

Some files were not shown because too many files have changed in this diff Show More