According to our /README, GPL-2.0-only applies for the whole project except noted otherwise. Signed-off-by: Roland Hieber <rohieb@xxxxxxxxxxx> --- 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox