From 577766efd5591a198e3fcb44ddf692015027170e Mon Sep 17 00:00:00 2001 From: Macpaul Lin Date: Thu, 11 Aug 2022 18:46:06 +0800 Subject: [PATCH] soc/mediatek/mt8188: replace SPDX identifiers to GPL-2.0-only OR MIT This replaces 'SPDX-License-Identifier' tags in all the files under soc/mediatek/mt8188 for better code re-use in other open source software stack. These files were originally from MediaTek and follow coreboot's main license: "GPL-2.0-only". Now MediaTek replaces these files to "GPL-2.0-only OR MIT" license. Signed-off-by: Macpaul Lin Change-Id: If61e8b252400e8e5ecd185b6806b1ca279065f15 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66628 Reviewed-by: Hung-Te Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/soc/mediatek/mt8188/bootblock.c | 2 +- src/soc/mediatek/mt8188/emi.c | 2 +- src/soc/mediatek/mt8188/gpio.c | 2 +- src/soc/mediatek/mt8188/i2c.c | 2 +- src/soc/mediatek/mt8188/include/soc/addressmap.h | 2 +- src/soc/mediatek/mt8188/include/soc/auxadc.h | 2 +- src/soc/mediatek/mt8188/include/soc/efuse.h | 2 +- src/soc/mediatek/mt8188/include/soc/emi.h | 2 +- src/soc/mediatek/mt8188/include/soc/gpio.h | 2 +- src/soc/mediatek/mt8188/include/soc/gpio_base.h | 2 +- src/soc/mediatek/mt8188/include/soc/i2c.h | 2 +- src/soc/mediatek/mt8188/include/soc/infracfg.h | 2 +- src/soc/mediatek/mt8188/include/soc/iocfg.h | 2 +- src/soc/mediatek/mt8188/include/soc/mcucfg.h | 2 +- src/soc/mediatek/mt8188/include/soc/memlayout.ld | 2 +- src/soc/mediatek/mt8188/include/soc/pll.h | 2 +- src/soc/mediatek/mt8188/include/soc/pmif.h | 2 +- src/soc/mediatek/mt8188/include/soc/rtc.h | 2 +- src/soc/mediatek/mt8188/include/soc/spi.h | 2 +- src/soc/mediatek/mt8188/include/soc/spm.h | 2 +- src/soc/mediatek/mt8188/include/soc/symbols.h | 2 +- src/soc/mediatek/mt8188/include/soc/timer.h | 2 +- src/soc/mediatek/mt8188/include/soc/usb.h | 2 +- src/soc/mediatek/mt8188/include/soc/wdt.h | 2 +- src/soc/mediatek/mt8188/msdc.c | 2 +- src/soc/mediatek/mt8188/mt6315.c | 2 +- src/soc/mediatek/mt8188/mt6359p.c | 2 +- src/soc/mediatek/mt8188/pll.c | 2 +- src/soc/mediatek/mt8188/pmif_clk.c | 2 +- src/soc/mediatek/mt8188/pmif_spi.c | 2 +- src/soc/mediatek/mt8188/pmif_spmi.c | 2 +- src/soc/mediatek/mt8188/soc.c | 2 +- src/soc/mediatek/mt8188/spi.c | 2 +- src/soc/mediatek/mt8188/usb.c | 2 +- src/soc/mediatek/mt8188/wdt.c | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/soc/mediatek/mt8188/bootblock.c b/src/soc/mediatek/mt8188/bootblock.c index 8dffe5671b..e7ff97aeae 100644 --- a/src/soc/mediatek/mt8188/bootblock.c +++ b/src/soc/mediatek/mt8188/bootblock.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include diff --git a/src/soc/mediatek/mt8188/emi.c b/src/soc/mediatek/mt8188/emi.c index bb503bb6ca..7c9ca8e157 100644 --- a/src/soc/mediatek/mt8188/emi.c +++ b/src/soc/mediatek/mt8188/emi.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/gpio.c b/src/soc/mediatek/mt8188/gpio.c index 4c4ee31edc..ecadb3f8f0 100644 --- a/src/soc/mediatek/mt8188/gpio.c +++ b/src/soc/mediatek/mt8188/gpio.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/i2c.c b/src/soc/mediatek/mt8188/i2c.c index 2c1fcf0a16..c9841cb377 100644 --- a/src/soc/mediatek/mt8188/i2c.c +++ b/src/soc/mediatek/mt8188/i2c.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/addressmap.h b/src/soc/mediatek/mt8188/include/soc/addressmap.h index 0edc2d66fb..3ae61fa8f0 100644 --- a/src/soc/mediatek/mt8188/include/soc/addressmap.h +++ b/src/soc/mediatek/mt8188/include/soc/addressmap.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef __SOC_MEDIATEK_MT8188_INCLUDE_SOC_ADDRESSMAP_H__ #define __SOC_MEDIATEK_MT8188_INCLUDE_SOC_ADDRESSMAP_H__ diff --git a/src/soc/mediatek/mt8188/include/soc/auxadc.h b/src/soc/mediatek/mt8188/include/soc/auxadc.h index b8f0234b95..d332873a21 100644 --- a/src/soc/mediatek/mt8188/include/soc/auxadc.h +++ b/src/soc/mediatek/mt8188/include/soc/auxadc.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/efuse.h b/src/soc/mediatek/mt8188/include/soc/efuse.h index 3b693f7fe2..0cdc1d402c 100644 --- a/src/soc/mediatek/mt8188/include/soc/efuse.h +++ b/src/soc/mediatek/mt8188/include/soc/efuse.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef SOC_MEDIATEK_MT8188_EFUSE_H #define SOC_MEDIATEK_MT8188_EFUSE_H diff --git a/src/soc/mediatek/mt8188/include/soc/emi.h b/src/soc/mediatek/mt8188/include/soc/emi.h index eeefdd3cab..cbf65c3c08 100644 --- a/src/soc/mediatek/mt8188/include/soc/emi.h +++ b/src/soc/mediatek/mt8188/include/soc/emi.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/gpio.h b/src/soc/mediatek/mt8188/include/soc/gpio.h index 4aba34c858..803fcf4fa1 100644 --- a/src/soc/mediatek/mt8188/include/soc/gpio.h +++ b/src/soc/mediatek/mt8188/include/soc/gpio.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/gpio_base.h b/src/soc/mediatek/mt8188/include/soc/gpio_base.h index ab652d967b..dabff3593f 100644 --- a/src/soc/mediatek/mt8188/include/soc/gpio_base.h +++ b/src/soc/mediatek/mt8188/include/soc/gpio_base.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/i2c.h b/src/soc/mediatek/mt8188/include/soc/i2c.h index 1e46f29ef7..104da9a7be 100644 --- a/src/soc/mediatek/mt8188/include/soc/i2c.h +++ b/src/soc/mediatek/mt8188/include/soc/i2c.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/infracfg.h b/src/soc/mediatek/mt8188/include/soc/infracfg.h index e35c637413..82846211b1 100644 --- a/src/soc/mediatek/mt8188/include/soc/infracfg.h +++ b/src/soc/mediatek/mt8188/include/soc/infracfg.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef SOC_MEDIATEK_MT8188_INFRACFG_H #define SOC_MEDIATEK_MT8188_INFRACFG_H diff --git a/src/soc/mediatek/mt8188/include/soc/iocfg.h b/src/soc/mediatek/mt8188/include/soc/iocfg.h index 4c37c88921..2834d2defd 100644 --- a/src/soc/mediatek/mt8188/include/soc/iocfg.h +++ b/src/soc/mediatek/mt8188/include/soc/iocfg.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/mcucfg.h b/src/soc/mediatek/mt8188/include/soc/mcucfg.h index 9bd278eea6..78d8dcab96 100644 --- a/src/soc/mediatek/mt8188/include/soc/mcucfg.h +++ b/src/soc/mediatek/mt8188/include/soc/mcucfg.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef SOC_MEDIATEK_MT8188_MCUCFG_H #define SOC_MEDIATEK_MT8188_MCUCFG_H diff --git a/src/soc/mediatek/mt8188/include/soc/memlayout.ld b/src/soc/mediatek/mt8188/include/soc/memlayout.ld index d8db9df55a..dc4090d74b 100644 --- a/src/soc/mediatek/mt8188/include/soc/memlayout.ld +++ b/src/soc/mediatek/mt8188/include/soc/memlayout.ld @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include /* diff --git a/src/soc/mediatek/mt8188/include/soc/pll.h b/src/soc/mediatek/mt8188/include/soc/pll.h index fb884d30ca..150e981156 100644 --- a/src/soc/mediatek/mt8188/include/soc/pll.h +++ b/src/soc/mediatek/mt8188/include/soc/pll.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/pmif.h b/src/soc/mediatek/mt8188/include/soc/pmif.h index dd8ada7b33..bc4f136c79 100644 --- a/src/soc/mediatek/mt8188/include/soc/pmif.h +++ b/src/soc/mediatek/mt8188/include/soc/pmif.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef __MT8188_SOC_PMIF_H__ #define __MT8188_SOC_PMIF_H__ diff --git a/src/soc/mediatek/mt8188/include/soc/rtc.h b/src/soc/mediatek/mt8188/include/soc/rtc.h index 5061471a0b..b2eb3f1f39 100644 --- a/src/soc/mediatek/mt8188/include/soc/rtc.h +++ b/src/soc/mediatek/mt8188/include/soc/rtc.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef SOC_MEDIATEK_MT8188_RTC_H #define SOC_MEDIATEK_MT8188_RTC_H diff --git a/src/soc/mediatek/mt8188/include/soc/spi.h b/src/soc/mediatek/mt8188/include/soc/spi.h index 50ab6127b2..b1ac9ff2c6 100644 --- a/src/soc/mediatek/mt8188/include/soc/spi.h +++ b/src/soc/mediatek/mt8188/include/soc/spi.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/spm.h b/src/soc/mediatek/mt8188/include/soc/spm.h index e2f4770443..8257d55555 100644 --- a/src/soc/mediatek/mt8188/include/soc/spm.h +++ b/src/soc/mediatek/mt8188/include/soc/spm.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef SOC_MEDIATEK_MT8188_SPM_H #define SOC_MEDIATEK_MT8188_SPM_H diff --git a/src/soc/mediatek/mt8188/include/soc/symbols.h b/src/soc/mediatek/mt8188/include/soc/symbols.h index 0909dbe3e2..fcda1ef1af 100644 --- a/src/soc/mediatek/mt8188/include/soc/symbols.h +++ b/src/soc/mediatek/mt8188/include/soc/symbols.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef _SOC_MEDIATEK_MT8188_SYMBOLS_H_ #define _SOC_MEDIATEK_MT8188_SYMBOLS_H_ diff --git a/src/soc/mediatek/mt8188/include/soc/timer.h b/src/soc/mediatek/mt8188/include/soc/timer.h index 54b4e84435..182e9b070a 100644 --- a/src/soc/mediatek/mt8188/include/soc/timer.h +++ b/src/soc/mediatek/mt8188/include/soc/timer.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/usb.h b/src/soc/mediatek/mt8188/include/soc/usb.h index d343721390..78be8e931f 100644 --- a/src/soc/mediatek/mt8188/include/soc/usb.h +++ b/src/soc/mediatek/mt8188/include/soc/usb.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/include/soc/wdt.h b/src/soc/mediatek/mt8188/include/soc/wdt.h index 39d5b179f3..0975e5f15c 100644 --- a/src/soc/mediatek/mt8188/include/soc/wdt.h +++ b/src/soc/mediatek/mt8188/include/soc/wdt.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #ifndef SOC_MEDIATEK_MT8188_WDT_H #define SOC_MEDIATEK_MT8188_WDT_H diff --git a/src/soc/mediatek/mt8188/msdc.c b/src/soc/mediatek/mt8188/msdc.c index bb72f1fd45..72044f0a30 100644 --- a/src/soc/mediatek/mt8188/msdc.c +++ b/src/soc/mediatek/mt8188/msdc.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/mt6315.c b/src/soc/mediatek/mt8188/mt6315.c index 470d998205..c3ace0b28d 100644 --- a/src/soc/mediatek/mt8188/mt6315.c +++ b/src/soc/mediatek/mt8188/mt6315.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include diff --git a/src/soc/mediatek/mt8188/mt6359p.c b/src/soc/mediatek/mt8188/mt6359p.c index bdca560614..b4b6bae88a 100644 --- a/src/soc/mediatek/mt8188/mt6359p.c +++ b/src/soc/mediatek/mt8188/mt6359p.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include diff --git a/src/soc/mediatek/mt8188/pll.c b/src/soc/mediatek/mt8188/pll.c index 71fefbe8e0..22f8a0450c 100644 --- a/src/soc/mediatek/mt8188/pll.c +++ b/src/soc/mediatek/mt8188/pll.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include diff --git a/src/soc/mediatek/mt8188/pmif_clk.c b/src/soc/mediatek/mt8188/pmif_clk.c index 4856852c29..e292ba186a 100644 --- a/src/soc/mediatek/mt8188/pmif_clk.c +++ b/src/soc/mediatek/mt8188/pmif_clk.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include diff --git a/src/soc/mediatek/mt8188/pmif_spi.c b/src/soc/mediatek/mt8188/pmif_spi.c index df86ccda39..3341c3ec0d 100644 --- a/src/soc/mediatek/mt8188/pmif_spi.c +++ b/src/soc/mediatek/mt8188/pmif_spi.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include diff --git a/src/soc/mediatek/mt8188/pmif_spmi.c b/src/soc/mediatek/mt8188/pmif_spmi.c index e0a3030b50..84e1ceae52 100644 --- a/src/soc/mediatek/mt8188/pmif_spmi.c +++ b/src/soc/mediatek/mt8188/pmif_spmi.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include diff --git a/src/soc/mediatek/mt8188/soc.c b/src/soc/mediatek/mt8188/soc.c index 99f021a384..6066de476b 100644 --- a/src/soc/mediatek/mt8188/soc.c +++ b/src/soc/mediatek/mt8188/soc.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include #include diff --git a/src/soc/mediatek/mt8188/spi.c b/src/soc/mediatek/mt8188/spi.c index 7297f6627b..67249b493f 100644 --- a/src/soc/mediatek/mt8188/spi.c +++ b/src/soc/mediatek/mt8188/spi.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/usb.c b/src/soc/mediatek/mt8188/usb.c index 8d1f513758..58cee55bee 100644 --- a/src/soc/mediatek/mt8188/usb.c +++ b/src/soc/mediatek/mt8188/usb.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification diff --git a/src/soc/mediatek/mt8188/wdt.c b/src/soc/mediatek/mt8188/wdt.c index 5218de39b8..c40f7944c9 100644 --- a/src/soc/mediatek/mt8188/wdt.c +++ b/src/soc/mediatek/mt8188/wdt.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ /* * This file is created based on MT8188 Functional Specification