[PATCH] net: add missing SPDX-License-Identifier for files originating from LiMon
Max Merchel
Max.Merchel at ew.tq-group.com
Thu Aug 14 14:03:52 CEST 2025
The header of LiMon imported files reference a License file which
does not exist in U-Boot. Some files were forgotten when adding the
SPDX-License-Identifier.
The LiMon files were originally licensed under GPLv2 as can be seen in
commit [2ea91039].
Based on this commit, add the correct SPDX license identifier.
While at it drop the reference to the non-existing License file from all
LiMon files and update the SPDX-License-Identifier to SPDX version 3.
Signed-off-by: Max Merchel <Max.Merchel at ew.tq-group.com>
---
include/net-legacy.h | 3 +--
include/net/tftp.h | 2 +-
net/arp.c | 3 +--
net/arp.h | 3 +--
net/bootp.c | 2 +-
net/bootp.h | 2 +-
net/cdp.c | 3 +--
net/cdp.h | 3 +--
net/net.c | 3 +--
net/net_rand.h | 2 +-
net/ping.c | 3 +--
net/ping.h | 3 +--
12 files changed, 12 insertions(+), 20 deletions(-)
diff --git a/include/net-legacy.h b/include/net-legacy.h
index a7dbcec1506..050fc352920 100644
--- a/include/net-legacy.h
+++ b/include/net-legacy.h
@@ -1,9 +1,8 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* LiMon Monitor (LiMon) - Network.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
*
* History
* 9/16/00 bor adapted to TQM823L/STK8xxL board, RARP/TFTP boot added
diff --git a/include/net/tftp.h b/include/net/tftp.h
index c411c9b2e65..c7e14817280 100644
--- a/include/net/tftp.h
+++ b/include/net/tftp.h
@@ -1,10 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* LiMon - BOOTP/TFTP.
*
* Copyright 1994, 1995, 2000 Neil Russell.
* Copyright 2011 Comelit Group SpA
* Luca Ceresoli <luca.ceresoli at comelit.it>
- * (See License)
*/
#ifndef __TFTP_H__
diff --git a/net/arp.c b/net/arp.c
index bc1e25f941f..4801dca6213 100644
--- a/net/arp.c
+++ b/net/arp.c
@@ -1,9 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
diff --git a/net/arp.h b/net/arp.h
index c50885fb9a5..882f3ec31fc 100644
--- a/net/arp.h
+++ b/net/arp.h
@@ -1,9 +1,8 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
diff --git a/net/bootp.c b/net/bootp.c
index 95d906e3b2d..19e7453daed 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Based on LiMon - BOOTP.
*
* Copyright 1994, 1995, 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2004 Wolfgang Denk, wd at denx.de
diff --git a/net/bootp.h b/net/bootp.h
index 68320bf66cf..47c743479e7 100644
--- a/net/bootp.h
+++ b/net/bootp.h
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copied from LiMon - BOOTP.
*
* Copyright 1994, 1995, 2000 Neil Russell.
- * (See License)
* Copyright 2000 Paolo Scaffardi
*/
diff --git a/net/cdp.c b/net/cdp.c
index d4cfc587ee3..6e404981d4a 100644
--- a/net/cdp.c
+++ b/net/cdp.c
@@ -1,9 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
diff --git a/net/cdp.h b/net/cdp.h
index 16ccbf4b59e..606fabba957 100644
--- a/net/cdp.h
+++ b/net/cdp.h
@@ -1,9 +1,8 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
diff --git a/net/net.c b/net/net.c
index 5219367e391..ac9b65c0ca4 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1,9 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
diff --git a/net/net_rand.h b/net/net_rand.h
index 686e85f2b53..e21dff8569b 100644
--- a/net/net_rand.h
+++ b/net/net_rand.h
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copied from LiMon - BOOTP.
*
* Copyright 1994, 1995, 2000 Neil Russell.
- * (See License)
* Copyright 2000 Paolo Scaffardi
*/
diff --git a/net/ping.c b/net/ping.c
index 075df3663fe..fb981f62084 100644
--- a/net/ping.c
+++ b/net/ping.c
@@ -1,9 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
diff --git a/net/ping.h b/net/ping.h
index 76ac225fc07..739f128408e 100644
--- a/net/ping.h
+++ b/net/ping.h
@@ -1,9 +1,8 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copied from Linux Monitor (LiMon) - Networking.
*
* Copyright 1994 - 2000 Neil Russell.
- * (See License)
* Copyright 2000 Roland Borde
* Copyright 2000 Paolo Scaffardi
* Copyright 2000-2002 Wolfgang Denk, wd at denx.de
--
2.43.0
More information about the U-Boot
mailing list