mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rohieb@rohieb.name>
To: barebox@lists.infradead.org
Cc: rhi@pengutronix.de, Roland Hieber <rohieb@rohieb.name>
Subject: [PATCH 6/6] include: spi: add SPDX GPL-2.0-only license tags for files without licensing information
Date: Thu,  7 Feb 2019 23:39:06 +0100	[thread overview]
Message-ID: <20190207223906.24394-6-rohieb@rohieb.name> (raw)
In-Reply-To: <20190207223906.24394-1-rohieb@rohieb.name>

According to our /README, GPL-2.0-only applies for the whole project
except noted otherwise.

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
---
 include/spi/eeprom.h  | 1 +
 include/spi/flash.h   | 1 +
 include/spi/imx-spi.h | 1 +
 include/spi/spi.h     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/include/spi/eeprom.h b/include/spi/eeprom.h
index 15495e59f5..410ecea19c 100644
--- a/include/spi/eeprom.h
+++ b/include/spi/eeprom.h
@@ -1,15 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef _SPI_EEPROM_H
 #define _SPI_EEPROM_H
 
 /*
  * Put one of these structures in platform_data for SPI EEPROMS handled
  * by the "at25" driver.  On SPI, most EEPROMS understand the same core
  * command set.  If you need to support EEPROMs that don't yet fit, add
  * flags to support those protocol options.  These values all come from
  * the chip datasheets.
  */
 struct spi_eeprom {
 	char		name[10];
 	u16		page_size;		/* for writes */
 	u16		flags;
 #define	EE_ADDR1	0x0001			/*  8 bit addrs */
diff --git a/include/spi/flash.h b/include/spi/flash.h
index c1204e7e61..796d649d9a 100644
--- a/include/spi/flash.h
+++ b/include/spi/flash.h
@@ -1,15 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef LINUX_SPI_FLASH_H
 #define LINUX_SPI_FLASH_H
 
 struct mtd_partition;
 
 /**
  * struct flash_platform_data: board-specific flash data
  * @name: optional flash device name (eg, as used with mtdparts=)
  * @parts: optional array of mtd_partitions for static partitioning
  * @nr_parts: number of mtd_partitions for static partitoning
  * @type: optional flash device type (e.g. m25p80 vs m25p64), for use
  *	with chips that can't be queried for JEDEC or other IDs
  *
  * Board init code (in arch/.../mach-xxx/board-yyy.c files) can
  * provide information about SPI flash parts (such as DataFlash) to
diff --git a/include/spi/imx-spi.h b/include/spi/imx-spi.h
index a592573e62..568795188c 100644
--- a/include/spi/imx-spi.h
+++ b/include/spi/imx-spi.h
@@ -1,15 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef __SPI_IMX_SPI_H
 #define __SPI_IMX_SPI_H
 
 #define CSPI_0_0_RXDATA		0x00
 #define CSPI_0_0_TXDATA		0x04
 #define CSPI_0_0_CTRL		0x08
 #define CSPI_0_0_INT		0x0C
 #define CSPI_0_0_DMA		0x18
 #define CSPI_0_0_STAT		0x0C
 #define CSPI_0_0_PERIOD		0x14
 #define CSPI_0_0_TEST		0x10
 #define CSPI_0_0_RESET		0x1C
 
 #define CSPI_0_0_CTRL_ENABLE		(1 << 10)
 #define CSPI_0_0_CTRL_MASTER		(1 << 11)
diff --git a/include/spi/spi.h b/include/spi/spi.h
index 620e5e57b4..f827f80ff7 100644
--- a/include/spi/spi.h
+++ b/include/spi/spi.h
@@ -1,15 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef __INCLUDE_SPI_H
 #define __INCLUDE_SPI_H
 
 #include <driver.h>
 #include <linux/string.h>
 
 struct spi_board_info {
 	char	*name;
 	int 	max_speed_hz;
 	int	bus_num;
 	int	chip_select;
 
 	/* mode becomes spi_device.mode, and is essential for chips
 	 * where the default of SPI_CS_HIGH = 0 is wrong.
 	 */
-- 
2.19.2


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

  parent reply	other threads:[~2019-02-07 22:40 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-07 22:39 [PATCH 1/6] include: add SPDX GPL-2.0-only license tags where applicable Roland Hieber
2019-02-07 22:39 ` [PATCH 2/6] include: add SPDX GPL-2.0-or-later " Roland Hieber
2019-02-07 22:39 ` [PATCH 3/6] include: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2019-02-07 22:39 ` [PATCH 4/6] include: add SPDX LGPL-2.1-or-later license tags where applicable Roland Hieber
2019-02-07 22:39 ` [PATCH 5/6] include: spi: add SPDX GPL-2.0-or-later " Roland Hieber
2019-02-07 22:39 ` Roland Hieber [this message]
2019-02-08  5:48 ` [PATCH 1/6] include: add SPDX GPL-2.0-only " Oleksij Rempel
2019-02-08  8:59   ` Roland Hieber
2019-02-08  9:09     ` Ahmad Fatoum
2019-02-11 10:25       ` Roland Hieber
2019-02-15  8:57         ` Ahmad Fatoum
2019-02-15 11:18           ` Roland Hieber
2019-02-22 13:25             ` Roland Hieber
2019-02-11 11:06     ` Roland Hieber
2019-03-10 20:42   ` Roland Hieber
2019-03-10 21:06     ` Sam Ravnborg
2019-03-13  9:42       ` Roland Hieber
2020-02-02 15:42 ` [PATCH v2 0/6] SPDX license tags and (L)GPL boilerplate cleanup Roland Hieber
2020-02-02 15:42   ` [PATCH v2 1/6] include: add SPDX GPL-2.0-only license tags where applicable Roland Hieber
2020-02-03  7:42     ` Ahmad Fatoum
2020-02-02 15:42   ` [PATCH v2 2/6] include: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-03  7:45     ` Ahmad Fatoum
2020-02-03 18:46       ` Roland Hieber
2020-02-02 15:42   ` [PATCH v2 3/6] include: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-03  7:47     ` Ahmad Fatoum
2020-02-02 15:42   ` [PATCH v2 4/6] include: add SPDX LGPL-2.1-or-later license tags where applicable Roland Hieber
2020-02-03  7:49     ` Ahmad Fatoum
2020-02-03 18:48       ` Roland Hieber
2020-02-02 15:43   ` [PATCH v2 5/6] include: spi: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-03  7:50     ` Ahmad Fatoum
2020-02-02 15:43   ` [PATCH v2 6/6] include: spi: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-03  7:51     ` Ahmad Fatoum
2020-02-13 12:12 ` [PATCH v3 0/7] SPDX license tags and (L)GPL boilerplate cleanup Roland Hieber
2020-02-13 12:12   ` [PATCH v3 1/7] include: add SPDX GPL-2.0-only license tags where applicable Roland Hieber
2020-02-13 12:12   ` [PATCH v3 2/7] include: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-13 12:12   ` [PATCH v3 3/7] include: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-13 12:12   ` [PATCH v3 4/7] LICENSES: add LGPL-2.1-or-later Roland Hieber
2020-02-13 12:12   ` [PATCH v3 5/7] include: add SPDX LGPL-2.1-or-later license tags where applicable Roland Hieber
2020-02-13 12:12   ` [PATCH v3 6/7] include: spi: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-13 12:12   ` [PATCH v3 7/7] include: spi: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-17  9:09   ` [PATCH v3 0/7] SPDX license tags and (L)GPL boilerplate cleanup Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190207223906.24394-6-rohieb@rohieb.name \
    --to=rohieb@rohieb.name \
    --cc=barebox@lists.infradead.org \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox