summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rohieb@rohieb.name>2020-02-13 13:12:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-17 10:08:47 +0100
commit46306e782ccc09589feebf25cfeba8e09ebcfc14 (patch)
tree5d2668ea1eeac46c66a2d1cc81e545dbf1166e48
parentee6a508d2b1738c30d4e2eab06ce5732d172524d (diff)
downloadbarebox-46306e782ccc09589feebf25cfeba8e09ebcfc14.tar.gz
include: add SPDX GPL-2.0-only license tags where applicable
Interpret "GPLv2" as "GPLv2 only". Signed-off-by: Roland Hieber <rohieb@rohieb.name> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/aimage.h3
-rw-r--r--include/aiodev.h9
-rw-r--r--include/binfmt.h3
-rw-r--r--include/bootstrap.h3
-rw-r--r--include/bpkfs.h3
-rw-r--r--include/dhcp.h5
-rw-r--r--include/digest.h12
-rw-r--r--include/dma.h4
-rw-r--r--include/firmware.h10
-rw-r--r--include/getopt.h11
-rw-r--r--include/local_mac_address.h3
-rw-r--r--include/menu.h12
-rw-r--r--include/of_graph.h5
-rw-r--r--include/of_mtd.h3
-rw-r--r--include/of_net.h3
-rw-r--r--include/password.h11
-rw-r--r--include/pbl.h3
-rw-r--r--include/poller.h4
-rw-r--r--include/shell.h3
-rw-r--r--include/uimagefs.h3
-rw-r--r--include/w1_mac_address.h3
21 files changed, 20 insertions, 96 deletions
diff --git a/include/aimage.h b/include/aimage.h
index 9702b7d..4f34c24 100644
--- a/include/aimage.h
+++ b/include/aimage.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) Copyright 2011 Jean-Christhophe PLAGNIOL-VILLARD <plagniol@jcrosoft.com>
*
* Android boot image
- *
- * Under GPLv2 only
*/
#ifndef __AIMAGE_H__
diff --git a/include/aiodev.h b/include/aiodev.h
index 5e38b4f..ff877c0 100644
--- a/include/aiodev.h
+++ b/include/aiodev.h
@@ -6,15 +6,6 @@
*
* 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.
- *
- * 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.
*/
#ifndef __AIODEVICE_H
diff --git a/include/binfmt.h b/include/binfmt.h
index 46b627e..7eb46e5 100644
--- a/include/binfmt.h
+++ b/include/binfmt.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * GPL v2
*/
#ifndef __BFMT_H__
diff --git a/include/bootstrap.h b/include/bootstrap.h
index d3ee6be..05734a9 100644
--- a/include/bootstrap.h
+++ b/include/bootstrap.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
- *
- * Under GPLv2
*/
#ifndef __BOOSTRAP_H__
diff --git a/include/bpkfs.h b/include/bpkfs.h
index ccb56c1..c80dc21 100644
--- a/include/bpkfs.h
+++ b/include/bpkfs.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * under GPLv2 only
*/
#ifndef __BPKFS_H__
diff --git a/include/dhcp.h b/include/dhcp.h
index 0dced8e..e19dac0 100644
--- a/include/dhcp.h
+++ b/include/dhcp.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2015 PHYTEC Messtechnik GmbH,
* Author: Wadim Egorov <w.egorov@phytec.de>
- *
- * 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.
*/
#ifndef __DHCP_H__
diff --git a/include/digest.h b/include/digest.h
index 1760841..6148c03 100644
--- a/include/digest.h
+++ b/include/digest.h
@@ -1,19 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) Copyright 2008-2010 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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; 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.
- *
*/
#ifndef __DIGEST_H__
diff --git a/include/dma.h b/include/dma.h
index 7f95782..07b79cd 100644
--- a/include/dma.h
+++ b/include/dma.h
@@ -1,8 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
- *
- * This file is released under the GPLv2
- *
*/
#ifndef __DMA_H
diff --git a/include/firmware.h b/include/firmware.h
index 7c01a77..19777d9 100644
--- a/include/firmware.h
+++ b/include/firmware.h
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2013 Juergen Beisert <kernel@pengutronix.de>, Pengutronix
- *
- * 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.
- *
- * 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.
*/
#ifndef FIRMWARE_H
diff --git a/include/getopt.h b/include/getopt.h
index 4f48ba8..d4c01e7 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -1,17 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* getopt.h - a simple getopt(3) implementation.
*
* Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
- *
- * 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.
- *
- * 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.
- *
*/
#ifndef __GETOPT_H
diff --git a/include/local_mac_address.h b/include/local_mac_address.h
index 3d1ec66..5d2fb9d 100644
--- a/include/local_mac_address.h
+++ b/include/local_mac_address.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
- *
- * Under GPLv2 only
*/
#ifndef __LOCAL_MAC_ADDRESS_H__
diff --git a/include/menu.h b/include/menu.h
index 2fef064..77c496c 100644
--- a/include/menu.h
+++ b/include/menu.h
@@ -1,19 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) Copyright 2009-2010 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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; 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.
- *
*/
#ifndef __MENU_H__
diff --git a/include/of_graph.h b/include/of_graph.h
index 254dd2c..ef3fb8b 100644
--- a/include/of_graph.h
+++ b/include/of_graph.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* OF graph binding parsing helpers
*
@@ -6,10 +7,6 @@
*
* Copyright (C) 2012 Renesas Electronics Corp.
* Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
*/
#ifndef __LINUX_OF_GRAPH_H
#define __LINUX_OF_GRAPH_H
diff --git a/include/of_mtd.h b/include/of_mtd.h
index 9f5b8a2..6dbc3d8 100644
--- a/include/of_mtd.h
+++ b/include/of_mtd.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*
* OF helpers for mtd.
- *
- * This file is released under the GPLv2
*/
#ifndef __LINUX_OF_MTD_H
diff --git a/include/of_net.h b/include/of_net.h
index 0f6ef20..f37af58 100644
--- a/include/of_net.h
+++ b/include/of_net.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* OF helpers for network devices.
- *
- * This file is released under the GPLv2
*/
#ifndef __LINUX_OF_NET_H
diff --git a/include/password.h b/include/password.h
index 8b99618..e259a87 100644
--- a/include/password.h
+++ b/include/password.h
@@ -1,18 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2008-2010 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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 version 2
- * as published by the Free Software Foundation.
- *
- * 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.
- *
*/
#ifndef __PASSWORD_H__
diff --git a/include/pbl.h b/include/pbl.h
index 787bd82..f84ed3b 100644
--- a/include/pbl.h
+++ b/include/pbl.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Under GPLv2
*/
#ifndef __PBL_H__
diff --git a/include/poller.h b/include/poller.h
index 35a2271..b22b8a1 100644
--- a/include/poller.h
+++ b/include/poller.h
@@ -1,8 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2010 Marc Kleine-Budde <mkl@pengutronix.de>
- *
- * This file is released under the GPLv2
- *
*/
#ifndef POLLER_H
diff --git a/include/shell.h b/include/shell.h
index 65dad0e..073f181 100644
--- a/include/shell.h
+++ b/include/shell.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) Copyright 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Under GPLv2 only
*/
#ifndef __SHELL_H__
diff --git a/include/uimagefs.h b/include/uimagefs.h
index 3f58589..6b34982 100644
--- a/include/uimagefs.h
+++ b/include/uimagefs.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * under GPLv2 only
*/
#ifndef __UIMAGEFS_H__
diff --git a/include/w1_mac_address.h b/include/w1_mac_address.h
index cd4be76..1ee0ad2 100644
--- a/include/w1_mac_address.h
+++ b/include/w1_mac_address.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
- *
- * Under GPLv2 only
*/
#ifndef __W1_MAC_ADDRESS_H__