Re: [PATCH] arm: mxs: Replace license and copyright boilerplate by SPDX identifiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 30, 2021 at 09:28:02PM +0200, Uwe Kleine-König wrote:
> Converts the files that licensecheck can determine to be licensed under
> GPL-2.0-only or GPL-2.0-or-later and also convert their copyright
> statements to SPDX.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
>  arch/arm/mach-mxs/bcb.c                      | 10 +++-------
>  arch/arm/mach-mxs/clocksource-imx23.c        | 16 ++-------------
>  arch/arm/mach-mxs/clocksource-imx28.c        | 15 ++------------
>  arch/arm/mach-mxs/imx.c                      | 16 ++-------------
>  arch/arm/mach-mxs/include/mach/clock.h       | 16 ++-------------
>  arch/arm/mach-mxs/include/mach/fb.h          | 12 +----------
>  arch/arm/mach-mxs/include/mach/generic.h     | 16 ++-------------
>  arch/arm/mach-mxs/include/mach/imx-regs.h    | 16 ++-------------
>  arch/arm/mach-mxs/include/mach/imx23-regs.h  | 15 ++------------
>  arch/arm/mach-mxs/include/mach/imx28-regs.h  | 12 +----------
>  arch/arm/mach-mxs/include/mach/iomux-imx23.h | 14 ++-----------
>  arch/arm/mach-mxs/include/mach/iomux-imx28.h | 12 +----------
>  arch/arm/mach-mxs/include/mach/iomux.h       | 16 ++-------------
>  arch/arm/mach-mxs/include/mach/mci.h         | 13 +-----------
>  arch/arm/mach-mxs/include/mach/ssp.h         | 15 ++++----------
>  arch/arm/mach-mxs/iomux-imx.c                | 16 ++-------------
>  arch/arm/mach-mxs/ocotp.c                    | 17 +++++-----------
>  arch/arm/mach-mxs/power.c                    | 17 ++++++----------
>  arch/arm/mach-mxs/soc-imx23.c                | 19 ++++--------------
>  arch/arm/mach-mxs/soc-imx28.c                | 19 ++++--------------
>  arch/arm/mach-mxs/usb-imx23.c                | 20 +++++--------------
>  arch/arm/mach-mxs/usb-imx28.c                | 21 +++++---------------
>  22 files changed, 60 insertions(+), 283 deletions(-)

Reviewed-by: Roland Hieber <rhi@xxxxxxxxxxxxxx>

> diff --git a/arch/arm/mach-mxs/bcb.c b/arch/arm/mach-mxs/bcb.c
> index 860508bde7c5..749cf29af610 100644
> --- a/arch/arm/mach-mxs/bcb.c
> +++ b/arch/arm/mach-mxs/bcb.c
> @@ -1,11 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2011 Wolfram Sang, Pengutronix e.K.
> +
>  /*
> - * (C) Copyright 2011 Wolfram Sang, Pengutronix e.K.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
>   * Based on a similar function in Karo Electronics TX28-U-Boot (flash.c).
>   * Probably written by Lothar Waßmann (like tx28.c).
>   */
> diff --git a/arch/arm/mach-mxs/clocksource-imx23.c b/arch/arm/mach-mxs/clocksource-imx23.c
> index 8279ee2f2df8..0a6716f87958 100644
> --- a/arch/arm/mach-mxs/clocksource-imx23.c
> +++ b/arch/arm/mach-mxs/clocksource-imx23.c
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix
>  
>  #include <common.h>
>  #include <init.h>
> diff --git a/arch/arm/mach-mxs/clocksource-imx28.c b/arch/arm/mach-mxs/clocksource-imx28.c
> index 4f38af68b4a5..ea6d4b514630 100644
> --- a/arch/arm/mach-mxs/clocksource-imx28.c
> +++ b/arch/arm/mach-mxs/clocksource-imx28.c
> @@ -1,16 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix <kernel@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix <kernel@xxxxxxxxxxxxxx>
>  
>  #include <common.h>
>  #include <init.h>
> diff --git a/arch/arm/mach-mxs/imx.c b/arch/arm/mach-mxs/imx.c
> index b7247b9b720a..5af9cca4e9fb 100644
> --- a/arch/arm/mach-mxs/imx.c
> +++ b/arch/arm/mach-mxs/imx.c
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix
>  
>  #include <common.h>
>  #include <bootsource.h>
> diff --git a/arch/arm/mach-mxs/include/mach/clock.h b/arch/arm/mach-mxs/include/mach/clock.h
> index adbc3304f88e..2050b959133e 100644
> --- a/arch/arm/mach-mxs/include/mach/clock.h
> +++ b/arch/arm/mach-mxs/include/mach/clock.h
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */
>  
>  #ifndef __MACH_CLOCK_H
>  # define __MACH_CLOCK_H
> diff --git a/arch/arm/mach-mxs/include/mach/fb.h b/arch/arm/mach-mxs/include/mach/fb.h
> index ad28f79d57db..8fcfe8652067 100644
> --- a/arch/arm/mach-mxs/include/mach/fb.h
> +++ b/arch/arm/mach-mxs/include/mach/fb.h
> @@ -1,14 +1,4 @@
> -/*
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  
>  #ifndef __MACH_FB_H
>  # define __MACH_FB_H
> diff --git a/arch/arm/mach-mxs/include/mach/generic.h b/arch/arm/mach-mxs/include/mach/generic.h
> index d63fa4825743..dc1b6ed4a008 100644
> --- a/arch/arm/mach-mxs/include/mach/generic.h
> +++ b/arch/arm/mach-mxs/include/mach/generic.h
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */
>  
>  #ifdef CONFIG_ARCH_IMX23
>  # define cpu_is_mx23()	(1)
> diff --git a/arch/arm/mach-mxs/include/mach/imx-regs.h b/arch/arm/mach-mxs/include/mach/imx-regs.h
> index f5abd8bf796b..4aede1bc9318 100644
> --- a/arch/arm/mach-mxs/include/mach/imx-regs.h
> +++ b/arch/arm/mach-mxs/include/mach/imx-regs.h
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */
>  
>  #ifndef _IMX_REGS_H
>  # define _IMX_REGS_H
> diff --git a/arch/arm/mach-mxs/include/mach/imx23-regs.h b/arch/arm/mach-mxs/include/mach/imx23-regs.h
> index 3fd2f3d15b94..a9a295fcbcd6 100644
> --- a/arch/arm/mach-mxs/include/mach/imx23-regs.h
> +++ b/arch/arm/mach-mxs/include/mach/imx23-regs.h
> @@ -1,16 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */
>  
>  #ifndef __ASM_ARCH_MX23_REGS_H
>  #define __ASM_ARCH_MX23_REGS_H
> diff --git a/arch/arm/mach-mxs/include/mach/imx28-regs.h b/arch/arm/mach-mxs/include/mach/imx28-regs.h
> index 1a90ec2aa561..67e1009a9917 100644
> --- a/arch/arm/mach-mxs/include/mach/imx28-regs.h
> +++ b/arch/arm/mach-mxs/include/mach/imx28-regs.h
> @@ -1,14 +1,4 @@
> -/*
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  
>  #ifndef __ASM_ARCH_MX28_REGS_H
>  #define __ASM_ARCH_MX28_REGS_H
> diff --git a/arch/arm/mach-mxs/include/mach/iomux-imx23.h b/arch/arm/mach-mxs/include/mach/iomux-imx23.h
> index 1e225f8fc51b..78a55a47b10d 100644
> --- a/arch/arm/mach-mxs/include/mach/iomux-imx23.h
> +++ b/arch/arm/mach-mxs/include/mach/iomux-imx23.h
> @@ -1,15 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */
>  
>  #ifndef __ASM_MACH_IOMUX_MX23_H
>  #define __ASM_MACH_IOMUX_MX23_H
> diff --git a/arch/arm/mach-mxs/include/mach/iomux-imx28.h b/arch/arm/mach-mxs/include/mach/iomux-imx28.h
> index 6119f3caf98d..9fefe3a2af36 100644
> --- a/arch/arm/mach-mxs/include/mach/iomux-imx28.h
> +++ b/arch/arm/mach-mxs/include/mach/iomux-imx28.h
> @@ -1,14 +1,4 @@
> -/*
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  
>  #ifndef __MACH_IOMUX_IMX28_H
>  #define __MACH_IOMUX_IMX28_H
> diff --git a/arch/arm/mach-mxs/include/mach/iomux.h b/arch/arm/mach-mxs/include/mach/iomux.h
> index 0091dbae1194..47e843e43f50 100644
> --- a/arch/arm/mach-mxs/include/mach/iomux.h
> +++ b/arch/arm/mach-mxs/include/mach/iomux.h
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */
>  
>  #ifndef __ASM_MACH_IOMUX_H
>  #define __ASM_MACH_IOMUX_H
> diff --git a/arch/arm/mach-mxs/include/mach/mci.h b/arch/arm/mach-mxs/include/mach/mci.h
> index c47c24cba831..3383635dfc13 100644
> --- a/arch/arm/mach-mxs/include/mach/mci.h
> +++ b/arch/arm/mach-mxs/include/mach/mci.h
> @@ -1,15 +1,4 @@
> -/*
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  
>  #ifndef __MACH_MMC_H
>  #define __MACH_MMC_H
> diff --git a/arch/arm/mach-mxs/include/mach/ssp.h b/arch/arm/mach-mxs/include/mach/ssp.h
> index 5eee5c010a02..b90a44820519 100644
> --- a/arch/arm/mach-mxs/include/mach/ssp.h
> +++ b/arch/arm/mach-mxs/include/mach/ssp.h
> @@ -1,14 +1,7 @@
> -/*
> - * Freescale MXS SSP
> - *
> - * Copyright (C) 2013 Michael Grzeschik <mgr@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - */
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +/* SPDX-FileCopyrightText: 2013 Michael Grzeschik <mgr@xxxxxxxxxxxxxx> */
> +
> +/* Freescale MXS SSP */
>  
>  #ifndef __SSP_H__
>  #define __SSP_H__
> diff --git a/arch/arm/mach-mxs/iomux-imx.c b/arch/arm/mach-mxs/iomux-imx.c
> index 68a4e3cbd6cb..6b96fc4ed9c9 100644
> --- a/arch/arm/mach-mxs/iomux-imx.c
> +++ b/arch/arm/mach-mxs/iomux-imx.c
> @@ -1,17 +1,5 @@
> -/*
> - * (C) Copyright 2010 Juergen Beisert - Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix
>  
>  #include <common.h>
>  #include <init.h>
> diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c
> index a4df39c2e902..5f78d9d773ec 100644
> --- a/arch/arm/mach-mxs/ocotp.c
> +++ b/arch/arm/mach-mxs/ocotp.c
> @@ -1,15 +1,8 @@
> -/*
> - * ocotp.c - barebox driver for the On-Chip One Time Programmable for MXS
> - *
> - * Copyright (C) 2012 by Wolfram Sang, Pengutronix e.K.
> - * based on the kernel driver which is
> - * Copyright 2010 Freescale Semiconductor, Inc. All Rights Reserved.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2012 Wolfram Sang, Pengutronix e.K.
> +// SPDX-FileCopyrightText: 2010 Freescale Semiconductor, Inc.
> +
> +/* ocotp.c - barebox driver for the On-Chip One Time Programmable for MXS */
>  
>  #include <common.h>
>  #include <init.h>
> diff --git a/arch/arm/mach-mxs/power.c b/arch/arm/mach-mxs/power.c
> index 6febf5dbaa52..342f7b0271c1 100644
> --- a/arch/arm/mach-mxs/power.c
> +++ b/arch/arm/mach-mxs/power.c
> @@ -1,14 +1,9 @@
> -/*
> - * i.MX28 power related functions
> - *
> - * Copyright 2011 Sascha Hauer, Pengutronix <s.hauer@xxxxxxxxxxxxxx>
> - * Copyright (C) 2012 Wolfram Sang, Pengutronix <w.sang@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2011 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>, Pengutronix
> +// SPDX-FileCopyrightText: 2012 Wolfram Sang <w.sang@xxxxxxxxxxxxxx>, Pengutronix
> +
> +/* i.MX28 power related functions */
> +
>  #include <common.h>
>  #include <io.h>
>  #include <stmp-device.h>
> diff --git a/arch/arm/mach-mxs/soc-imx23.c b/arch/arm/mach-mxs/soc-imx23.c
> index 8c47c766cc2b..16b1fda5ed95 100644
> --- a/arch/arm/mach-mxs/soc-imx23.c
> +++ b/arch/arm/mach-mxs/soc-imx23.c
> @@ -1,18 +1,7 @@
> -/*
> - * (c) 2012 Juergen Beisert <kernel@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * Collection of some SoC specific functions
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2012 Juergen Beisert <kernel@xxxxxxxxxxxxxx>
> +
> +/* Collection of some SoC specific functions */
>  
>  #include <common.h>
>  #include <init.h>
> diff --git a/arch/arm/mach-mxs/soc-imx28.c b/arch/arm/mach-mxs/soc-imx28.c
> index a214e2b7a6d9..e3d3cb1c0a30 100644
> --- a/arch/arm/mach-mxs/soc-imx28.c
> +++ b/arch/arm/mach-mxs/soc-imx28.c
> @@ -1,18 +1,7 @@
> -/*
> - * (c) 2012 Juergen Beisert <kernel@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * Collection of some SoC specific functions
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2012 Juergen Beisert <kernel@xxxxxxxxxxxxxx>
> +
> +/* Collection of some SoC specific functions */
>  
>  #include <common.h>
>  #include <init.h>
> diff --git a/arch/arm/mach-mxs/usb-imx23.c b/arch/arm/mach-mxs/usb-imx23.c
> index d9a54b66f89d..6acf1bb7866b 100644
> --- a/arch/arm/mach-mxs/usb-imx23.c
> +++ b/arch/arm/mach-mxs/usb-imx23.c
> @@ -1,18 +1,8 @@
> -/*
> - * i.MX23 USBPHY setup
> - *
> - * Copyright 2011 Sascha Hauer, Pengutronix <s.hauer@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2011 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>, Pengutronix
> +
> +/* i.MX23 USBPHY setup */
> +
>  #include <common.h>
>  #include <io.h>
>  #include <mach/imx23-regs.h>
> diff --git a/arch/arm/mach-mxs/usb-imx28.c b/arch/arm/mach-mxs/usb-imx28.c
> index a4e1bdb2802e..3793169b5985 100644
> --- a/arch/arm/mach-mxs/usb-imx28.c
> +++ b/arch/arm/mach-mxs/usb-imx28.c
> @@ -1,19 +1,8 @@
> -/*
> - * i.MX28 USBPHY setup
> - *
> - * Copyright 2011 Sascha Hauer, Pengutronix <s.hauer@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - */
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-FileCopyrightText: 2011 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>, Pengutronix
> +
> +/* i.MX28 USBPHY setup */
> +
>  #include <common.h>
>  #include <io.h>
>  #include <errno.h>
> -- 
> 2.30.2
> 
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@xxxxxxxxxxxxxx     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux