diff mbox

[U-Boot] spi: Add GPL-2.0+ SPDX-License-Identifier for missing ones

Message ID 6961456a-5ba9-41d3-92d7-3b4be5a55d03@DB8EHSMHS001.ehs.local
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Jagannadha Sutradharudu Teki Oct. 8, 2013, 1:03 p.m. UTC
Added GPL-2.0+ SPDX-License-Identifier for missed spi
source files.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
---
 drivers/spi/sh_spi.c        | 14 +-------------
 drivers/spi/tegra20_slink.c | 20 +++-----------------
 include/spi_flash.h         |  7 +------
 3 files changed, 5 insertions(+), 36 deletions(-)

Comments

Tom Rini Oct. 10, 2013, 5:50 p.m. UTC | #1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/08/2013 09:03 AM, Jagannadha Sutradharudu Teki wrote:
> Added GPL-2.0+ SPDX-License-Identifier for missed spi
> source files.
> 
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
> ---
>  drivers/spi/sh_spi.c        | 14 +-------------
>  drivers/spi/tegra20_slink.c | 20 +++-----------------
>  include/spi_flash.h         |  7 +------
>  3 files changed, 5 insertions(+), 36 deletions(-)
> 
> diff --git a/drivers/spi/sh_spi.c b/drivers/spi/sh_spi.c
> index 744afe3..07c80bb 100644
> --- a/drivers/spi/sh_spi.c
> +++ b/drivers/spi/sh_spi.c
> @@ -3,19 +3,7 @@
>   *
>   * Copyright (C) 2011-2012 Renesas Solutions Corp.
>   *
> - * 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; 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
> + * SPDX-License-Identifier:	GPL-2.0+
>   */
>  
>  #include <common.h>
> diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c
> index 664de6e..697cae0 100644
> --- a/drivers/spi/tegra20_slink.c
> +++ b/drivers/spi/tegra20_slink.c
> @@ -1,24 +1,10 @@
>  /*
>   * NVIDIA Tegra SPI-SLINK controller
>   *
> - * Copyright (c) 2010-2013 NVIDIA Corporation
> + * Copyright (c) 2010-2013
> + * NVIDIA Corporation <www.nvidia.com>
>   *
> - * See file CREDITS for list of people who contributed to this
> - * project.
> - *
> - * This software is licensed under the terms of the GNU General Public
> - * License version 2, as published by the Free Software Foundation, and
> - * may be copied, distributed, and modified under those terms.
> - *
> - * 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+
>   */
>  
>  #include <common.h>
> diff --git a/include/spi_flash.h b/include/spi_flash.h
> index 1ff5af4..b961213 100644
> --- a/include/spi_flash.h
> +++ b/include/spi_flash.h
> @@ -4,12 +4,7 @@
>   * Copyright (C) 2008 Atmel Corporation
>   * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc.
>   *
> - * 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
> - * version 2 as published by the Free Software Foundation. 
> + * SPDX-License-Identifier:	GPL-2.0+
>   */
>  
>  #ifndef _SPI_FLASH_H_

NAK.  Read the blurb carefully.  In each case there is no "or later", so
they are all GPL-2.0 not GPL-

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSVujSAAoJENk4IS6UOR1WBUUP/R+Jo9o37aL6u9cCtx7npfMo
AB+zXRQ/nfxo9K3m7GAbZfBTSxnKU7SW9wWnBuOvoU9YmJPvXinugBwJGdXfLLH+
z2XD30DYlCC8L5CvhSVYV2k8zU//tILSNVegl/obZYP963fP7y78EW5c5HpX2UR4
DK843M98h3mOiZVVkO8L5F/uGN0B1ddqVNoMoEIRmhZPDNk27TeXRFc90ppIbtbM
DAIEby0PezT2GmqYQdSps1XqHeMqtLlzkGn+808/ccm1UC+E+3f5AdsNND5ZHggN
+EI4DiPzf+hGc6cnYSvpr0M+tpdEMOVbNY1KtfLLHMhLPYhTE/RKs4PHVBaX9xzg
hh2ZwrN/41lSUQkiXOJsYCAzb1qijBAdPFBQCZMZRSQhu8hU0j4mHZ9fO61Gt9oQ
jED8OJq78LyKD1wsqbVeCNfLwRZUzIcQZme/JMiVR+4kp7eQI+jjG1GQPu+wCfJz
XPA6RnJwgM4spNZx9CqJhFzLhM5WshaNHDWqt0gUe4WTX1/3NY+z3jEKJyV3cW0M
UG+HPPJMOz2ccNJBXa6ZhWatipqjchcyzhKWyzWljYgxazbNzIoGzxPvPXWe95xK
WdHJf3cDZw2XHmRopjFY+Hgdy40VSk04vFBf6ES+l7WMIbNi3Jl1HfUnqffAUOxL
vU2tspMjuXvNMbSxkfa/
=fDOT
-----END PGP SIGNATURE-----
Jagan Teki Oct. 10, 2013, 6:43 p.m. UTC | #2
On Thu, Oct 10, 2013 at 11:20 PM, Tom Rini <trini@ti.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/08/2013 09:03 AM, Jagannadha Sutradharudu Teki wrote:
>> Added GPL-2.0+ SPDX-License-Identifier for missed spi
>> source files.
>>
>> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
>> ---
>>  drivers/spi/sh_spi.c        | 14 +-------------
>>  drivers/spi/tegra20_slink.c | 20 +++-----------------
>>  include/spi_flash.h         |  7 +------
>>  3 files changed, 5 insertions(+), 36 deletions(-)
>>
>> diff --git a/drivers/spi/sh_spi.c b/drivers/spi/sh_spi.c
>> index 744afe3..07c80bb 100644
>> --- a/drivers/spi/sh_spi.c
>> +++ b/drivers/spi/sh_spi.c
>> @@ -3,19 +3,7 @@
>>   *
>>   * Copyright (C) 2011-2012 Renesas Solutions Corp.
>>   *
>> - * 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; 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
>> - *
>> + * SPDX-License-Identifier:  GPL-2.0+
>>   */
>>
>>  #include <common.h>
>> diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c
>> index 664de6e..697cae0 100644
>> --- a/drivers/spi/tegra20_slink.c
>> +++ b/drivers/spi/tegra20_slink.c
>> @@ -1,24 +1,10 @@
>>  /*
>>   * NVIDIA Tegra SPI-SLINK controller
>>   *
>> - * Copyright (c) 2010-2013 NVIDIA Corporation
>> + * Copyright (c) 2010-2013
>> + * NVIDIA Corporation <www.nvidia.com>
>>   *
>> - * See file CREDITS for list of people who contributed to this
>> - * project.
>> - *
>> - * This software is licensed under the terms of the GNU General Public
>> - * License version 2, as published by the Free Software Foundation, and
>> - * may be copied, distributed, and modified under those terms.
>> - *
>> - * 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+
>>   */
>>
>>  #include <common.h>
>> diff --git a/include/spi_flash.h b/include/spi_flash.h
>> index 1ff5af4..b961213 100644
>> --- a/include/spi_flash.h
>> +++ b/include/spi_flash.h
>> @@ -4,12 +4,7 @@
>>   * Copyright (C) 2008 Atmel Corporation
>>   * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc.
>>   *
>> - * 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
>> - * version 2 as published by the Free Software Foundation.
>> + * SPDX-License-Identifier:  GPL-2.0+
>>   */
>>
>>  #ifndef _SPI_FLASH_H_
>
> NAK.  Read the blurb carefully.  In each case there is no "or later", so
> they are all GPL-2.0 not GPL-

OK, got your point.
diff mbox

Patch

diff --git a/drivers/spi/sh_spi.c b/drivers/spi/sh_spi.c
index 744afe3..07c80bb 100644
--- a/drivers/spi/sh_spi.c
+++ b/drivers/spi/sh_spi.c
@@ -3,19 +3,7 @@ 
  *
  * Copyright (C) 2011-2012 Renesas Solutions Corp.
  *
- * 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; 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
+ * SPDX-License-Identifier:	GPL-2.0+
  */
 
 #include <common.h>
diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c
index 664de6e..697cae0 100644
--- a/drivers/spi/tegra20_slink.c
+++ b/drivers/spi/tegra20_slink.c
@@ -1,24 +1,10 @@ 
 /*
  * NVIDIA Tegra SPI-SLINK controller
  *
- * Copyright (c) 2010-2013 NVIDIA Corporation
+ * Copyright (c) 2010-2013
+ * NVIDIA Corporation <www.nvidia.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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+
  */
 
 #include <common.h>
diff --git a/include/spi_flash.h b/include/spi_flash.h
index 1ff5af4..b961213 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -4,12 +4,7 @@ 
  * Copyright (C) 2008 Atmel Corporation
  * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc.
  *
- * 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
- * version 2 as published by the Free Software Foundation. 
+ * SPDX-License-Identifier:	GPL-2.0+
  */
 
 #ifndef _SPI_FLASH_H_