ec: Add SPDX license headers to Makefiles

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ie5355e05982b372ef69515cfa081e2afbc7b09fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68981
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Martin Roth 2022-10-28 22:36:59 -06:00 committed by Felix Held
parent 2332d29ba9
commit 74a4dca481
18 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_ACPI),y) ifeq ($(CONFIG_EC_ACPI),y)
bootblock-y += ec.c bootblock-y += ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_COMPAL_ENE932),y) ifeq ($(CONFIG_EC_COMPAL_ENE932),y)
ramstage-y += ec.c ramstage-y += ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_GOOGLE_CHROMEEC),y) ifeq ($(CONFIG_EC_GOOGLE_CHROMEEC),y)
subdirs-y += audio_codec subdirs-y += audio_codec

View File

@ -1 +1,2 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_AUDIO_CODEC) += audio_codec.c ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_AUDIO_CODEC) += audio_codec.c

View File

@ -1 +1,2 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C_TUNNEL) += i2c_tunnel.c ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C_TUNNEL) += i2c_tunnel.c

View File

@ -1,2 +1,3 @@
## SPDX-License-Identifier: GPL-2.0-only
subdirs-y += conn subdirs-y += conn
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MUX) += mux.c ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MUX) += mux.c

View File

@ -1 +1,2 @@
## SPDX-License-Identifier: GPL-2.0-only
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MUX) += conn.c ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MUX) += conn.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c bootblock-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c
verstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c verstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c
romstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c romstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_GOOGLE_WILCO),y) ifeq ($(CONFIG_EC_GOOGLE_WILCO),y)
bootblock-y += bootblock.c commands.c mailbox.c bootblock-y += bootblock.c commands.c mailbox.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_KONTRON_IT8516E),y) ifeq ($(CONFIG_EC_KONTRON_IT8516E),y)
ramstage-y += ec.c ramstage-y += ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
bootblock-$(CONFIG_EC_KONTRON_KEMPLD) += early_kempld.c bootblock-$(CONFIG_EC_KONTRON_KEMPLD) += early_kempld.c
ramstage-$(CONFIG_EC_KONTRON_KEMPLD) += early_kempld.c ramstage-$(CONFIG_EC_KONTRON_KEMPLD) += early_kempld.c
ramstage-$(CONFIG_EC_KONTRON_KEMPLD) += kempld.c ramstage-$(CONFIG_EC_KONTRON_KEMPLD) += kempld.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_LENOVO_H8),y) ifeq ($(CONFIG_EC_LENOVO_H8),y)
ramstage-y += sense.c ramstage-y += sense.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_LENOVO_PMH7),y) ifeq ($(CONFIG_EC_LENOVO_PMH7),y)
bootblock-y += pmh7.c bootblock-y += pmh7.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_LIBREM_EC),y) ifeq ($(CONFIG_EC_LIBREM_EC),y)
all-y += ../../system76/ec/system76_ec.c all-y += ../../system76/ec/system76_ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_QUANTA_ENE_KB3940Q),y) ifeq ($(CONFIG_EC_QUANTA_ENE_KB3940Q),y)
ramstage-y += ec.c ramstage-y += ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_QUANTA_IT8518),y) ifeq ($(CONFIG_EC_QUANTA_IT8518),y)
romstage-y += ec.c romstage-y += ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_SMSC_MEC1308),y) ifeq ($(CONFIG_EC_SMSC_MEC1308),y)
ramstage-y += ec.c ramstage-y += ec.c

View File

@ -1,3 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_EC_SYSTEM76_EC),y) ifeq ($(CONFIG_EC_SYSTEM76_EC),y)
all-y += system76_ec.c all-y += system76_ec.c