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

Jagan Teki jagannadh.teki at gmail.com
Thu Oct 10 20:43:42 CEST 2013


On Thu, Oct 10, 2013 at 11:20 PM, Tom Rini <trini at 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 at 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.
-- 
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki


More information about the U-Boot mailing list