[PATCH v2 3/3] cosmetic: aspeed: Modify for SPDX-License

Cédric Le Goater clg at kaod.org
Wed Sep 9 08:50:26 CEST 2020


On 8/31/20 8:03 AM, Ryan Chen wrote:
> Modify SPDX-License for furture patch warning
> 
> Signed-off-by: Ryan Chen <ryan_chen at aspeedtech.com>
> ---
>  arch/arm/dts/ast2500-u-boot.dtsi         | 1 +
>  include/dt-bindings/clock/aspeed-clock.h | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/ast2500-u-boot.dtsi b/arch/arm/dts/ast2500-u-boot.dtsi
> index 29b08f16ac..51a5244766 100644
> --- a/arch/arm/dts/ast2500-u-boot.dtsi
> +++ b/arch/arm/dts/ast2500-u-boot.dtsi
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  #include <dt-bindings/clock/aspeed-clock.h>
>  #include <dt-bindings/reset/ast2500-reset.h>
>  
> diff --git a/include/dt-bindings/clock/aspeed-clock.h b/include/dt-bindings/clock/aspeed-clock.h
> index e6599deeb9..a1aa8c07ce 100644
> --- a/include/dt-bindings/clock/aspeed-clock.h
> +++ b/include/dt-bindings/clock/aspeed-clock.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +// SPDX-License-Identifier: GPL-2.0


But Linux has : 

/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */

Thanks,

C.

>  
>  #define ASPEED_CLK_GATE_ECLK		0
>  #define ASPEED_CLK_GATE_GCLK		1
> 



More information about the U-Boot mailing list