diff mbox

[U-Boot] imx: fix licensing in i.MX files

Message ID 1502957972-18085-1-git-send-email-sbabic@denx.de
State Superseded
Headers show

Commit Message

Stefano Babic Aug. 17, 2017, 8:19 a.m. UTC
Some files for i.MX do not yet have the SPDX ID to reference the correct
license.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 arch/arm/include/asm/arch-mx35/mmc_host_def.h | 18 +-----------------
 arch/arm/include/asm/arch-mx5/iomux-mx51.h    |  7 +------
 arch/arm/include/asm/arch-mxs/iomux-mx23.h    |  7 +------
 arch/arm/include/asm/arch-mxs/iomux-mx28.h    |  7 +------
 4 files changed, 4 insertions(+), 35 deletions(-)

Comments

Wolfgang Denk Aug. 17, 2017, 10:56 a.m. UTC | #1
Dear Stefano

In message <1502957972-18085-1-git-send-email-sbabic@denx.de> you wrote:
> Some files for i.MX do not yet have the SPDX ID to reference the correct
> license.

Be careful to use identical mappings!

> --- a/arch/arm/include/asm/arch-mx35/mmc_host_def.h
> +++ b/arch/arm/include/asm/arch-mx35/mmc_host_def.h
...
> - * 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's version 2 of
> - * the License.
...
> + * SPDX-License-Identifier:	GPL-2.0+

This should be GPL-2.0, without the '+' !


Best regards,

Wolfgang Denk
Stefano Babic Aug. 17, 2017, 11:52 a.m. UTC | #2
On 17/08/2017 12:56, Wolfgang Denk wrote:
> Dear Stefano
> 
> In message <1502957972-18085-1-git-send-email-sbabic@denx.de> you wrote:
>> Some files for i.MX do not yet have the SPDX ID to reference the correct
>> license.
> 
> Be careful to use identical mappings!
> 
>> --- a/arch/arm/include/asm/arch-mx35/mmc_host_def.h
>> +++ b/arch/arm/include/asm/arch-mx35/mmc_host_def.h
> ...
>> - * 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's version 2 of
>> - * the License.
> ...
>> + * SPDX-License-Identifier:	GPL-2.0+
> 
> This should be GPL-2.0, without the '+' !
> 

Right, thanks ! Fix in V2.

Best regards,
Stefano
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-mx35/mmc_host_def.h b/arch/arm/include/asm/arch-mx35/mmc_host_def.h
index 775b955..b76c9a7 100644
--- a/arch/arm/include/asm/arch-mx35/mmc_host_def.h
+++ b/arch/arm/include/asm/arch-mx35/mmc_host_def.h
@@ -3,23 +3,7 @@ 
  * Texas Instruments, <www.ti.com>
  * Syed Mohammed Khasim <khasim@ti.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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's version 2 of
- * the License.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:	GPL-2.0+
  */
 
 #ifndef MMC_HOST_DEF_H
diff --git a/arch/arm/include/asm/arch-mx5/iomux-mx51.h b/arch/arm/include/asm/arch-mx5/iomux-mx51.h
index 5c636ac..522512e 100644
--- a/arch/arm/include/asm/arch-mx5/iomux-mx51.h
+++ b/arch/arm/include/asm/arch-mx5/iomux-mx51.h
@@ -3,12 +3,7 @@ 
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  * Copyright (C) 2009-2012 Genesi USA, Inc.
  *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
+ * SPDX-License-Identifier:	GPL-2.0+
  */
 
 /*
diff --git a/arch/arm/include/asm/arch-mxs/iomux-mx23.h b/arch/arm/include/asm/arch-mxs/iomux-mx23.h
index 7cb5e71..690929c 100644
--- a/arch/arm/include/asm/arch-mxs/iomux-mx23.h
+++ b/arch/arm/include/asm/arch-mxs/iomux-mx23.h
@@ -2,12 +2,7 @@ 
  * Copyright (C) 2009-2010 Amit Kucheria <amit.kucheria@canonical.com>
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
+ * SPDX-License-Identifier:	GPL-2.0+
  */
 
 #ifndef __MACH_IOMUX_MX23_H__
diff --git a/arch/arm/include/asm/arch-mxs/iomux-mx28.h b/arch/arm/include/asm/arch-mxs/iomux-mx28.h
index b42820d..39ea74b 100644
--- a/arch/arm/include/asm/arch-mxs/iomux-mx28.h
+++ b/arch/arm/include/asm/arch-mxs/iomux-mx28.h
@@ -2,12 +2,7 @@ 
  * Copyright (C) 2009-2010 Amit Kucheria <amit.kucheria@canonical.com>
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
+ * SPDX-License-Identifier:	GPL-2.0+
  */
 
 #ifndef __MACH_IOMUX_MX28_H__