Skip to contentSkip to conversation

MIPS: migrate all files to SPDX

PATCH Superseded Oleksij Rempel 4 participants 8 messages Dec 15, 2018 – Dec 18, 2018

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#3 lore raw

PATCH 3/3 MIPS: update to GPL-2.0-or-later for files copyrighted by me

In reply to Oleksij Rempel
---
 arch/mips/boards/8devices-lima/lowlevel.S               | 2 +-
 arch/mips/boards/dptechnics-dpt-module/lowlevel.S       | 2 +-
 arch/mips/boards/netgear-wg102/include/board/debug_ll.h | 2 +-
 arch/mips/boards/tplink-wdr4300/lowlevel.S              | 2 +-
 arch/mips/mach-ath79/bbu.c                              | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/mips/boards/8devices-lima/lowlevel.S +1 -1
index f33cfe4d9..b53b23b42 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2018 Oleksij Rempel <[email protected]>
  */
arch/mips/boards/dptechnics-dpt-module/lowlevel.S +1 -1
index 801c51909..28b8f4fac 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2017 Oleksij Rempel <[email protected]>
  */
arch/mips/boards/netgear-wg102/include/board/debug_ll.h +1 -1
index b0c1cd173..cc3b1d74b 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2013 Oleksij Rempel <[email protected]>
  */
arch/mips/boards/tplink-wdr4300/lowlevel.S +1 -1
index 4d7301cb7..461b257f4 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2017 Oleksij Rempel <[email protected]>
  */
arch/mips/mach-ath79/bbu.c +1 -1
index 36214798c..0f64e6195 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Oleksij Rempel <[email protected]>
  */
Signature · 7 lines
2.17.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/3 MIPS: convert files with not precise GNU version to SPDX

In reply to Oleksij Rempel

According to COPYING file in the root directory, this files should be marked as GPL-1.0-or-later:
....
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
...

---
 arch/mips/include/asm/addrspace.h    | 5 +----
 arch/mips/include/asm/asm.h          | 5 +----
 arch/mips/include/asm/byteorder.h    | 5 +----
 arch/mips/include/asm/cacheops.h     | 7 +------
 arch/mips/include/asm/cpu-features.h | 5 +----
 arch/mips/include/asm/cpu-info.h     | 5 +----
 arch/mips/include/asm/elf.h          | 5 +----
 arch/mips/include/asm/mipsregs.h     | 5 +----
 arch/mips/include/asm/posix_types.h  | 5 +----
 arch/mips/include/asm/ptrace.h       | 5 +----
 arch/mips/include/asm/regdef.h       | 5 +----
 arch/mips/include/asm/sgidefs.h      | 5 +----
 arch/mips/include/asm/stackframe.h   | 5 +----
 arch/mips/include/asm/swab.h         | 5 +----
 arch/mips/include/asm/types.h        | 5 +----
 arch/mips/include/asm/unaligned.h    | 5 +----
 arch/mips/lib/c-r4k.c                | 5 +----
 arch/mips/lib/memcpy.S               | 5 +----
 arch/mips/lib/memset.S               | 5 +----
 19 files changed, 19 insertions(+), 78 deletions(-)
arch/mips/include/asm/addrspace.h +1 -4
index dc44d7f79..0c54ae698 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1996, 99 Ralf Baechle
  * Copyright (C) 2000, 2002  Maciej W. Rozycki
  * Copyright (C) 1990, 1999 by Silicon Graphics, Inc.
arch/mips/include/asm/asm.h +1 -4
index 5ead754b1..19e331ed6 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1995, 1996, 1997, 1999, 2001 by Ralf Baechle
  * Copyright (C) 1999 by Silicon Graphics, Inc.
  * Copyright (C) 2001 MIPS Technologies, Inc.
arch/mips/include/asm/byteorder.h +1 -4
index 9579051ff..5e61c5660 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1996, 99, 2003 by Ralf Baechle
  */
 #ifndef _ASM_BYTEORDER_H
arch/mips/include/asm/cacheops.h +1 -6
index 3bc585259..b066d35cb 100644
@@ -1,10 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * Cache operations for the cache instruction.
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * (C) Copyright 1996, 97, 99, 2002, 03 Ralf Baechle
  * (C) Copyright 1999 Silicon Graphics, Inc.
  */
arch/mips/include/asm/cpu-features.h +1 -4
index 168d85445..de38cb408 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 2003, 2004 Ralf Baechle
  * Copyright (C) 2004  Maciej W. Rozycki
  */
arch/mips/include/asm/cpu-info.h +1 -4
index 670173046..06b319b6d 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1994 Waldorf GMBH
  * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003 Ralf Baechle
  * Copyright (C) 1996 Paul M. Antoine
arch/mips/include/asm/elf.h +1 -4
index b8b82191c..28295d6ab 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Much of this is taken from binutils and GNU libc ...
  */
 
arch/mips/include/asm/mipsregs.h +1 -4
index 30262e6e1..2435607c4 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001 by Ralf Baechle
  * Copyright (C) 2000 Silicon Graphics, Inc.
  * Modified for further R[236]000 support by Paul M. Antoine, 1996.
arch/mips/include/asm/posix_types.h +1 -4
index c38e24a4b..131be24ee 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1996, 97, 98, 99, 2000 by Ralf Baechle
  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  */
arch/mips/include/asm/ptrace.h +1 -4
index 211834d8f..878e871f5 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000 by Ralf Baechle
  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  */
arch/mips/include/asm/regdef.h +1 -4
index 7c8ecb6b9..b6f551b1b 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1985 MIPS Computer Systems, Inc.
  * Copyright (C) 1994, 95, 99, 2003 by Ralf Baechle
  * Copyright (C) 1990 - 1992, 1999 Silicon Graphics, Inc.
arch/mips/include/asm/sgidefs.h +1 -4
index 876442fcf..6af101b63 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1996, 1999, 2001 Ralf Baechle
  * Copyright (C) 1999 Silicon Graphics, Inc.
  * Copyright (C) 2001 MIPS Technologies, Inc.
arch/mips/include/asm/stackframe.h +1 -4
index abfa2d25b..2b9ec197a 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1994, 95, 96, 99, 2001 Ralf Baechle
  * Copyright (C) 1994, 1995, 1996 Paul M. Antoine.
  * Copyright (C) 1999 Silicon Graphics, Inc.
arch/mips/include/asm/swab.h +1 -4
index 97c2f81b4..f195353d6 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1996, 99, 2003 by Ralf Baechle
  */
 #ifndef _ASM_SWAB_H
arch/mips/include/asm/types.h +1 -4
index 4140c92e1..0e37cc8d9 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle
  * Copyright (C) 2008 Wind River Systems,
  *   written by Ralf Baechle
arch/mips/include/asm/unaligned.h +1 -4
index 42f66c311..648e3869e 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 2007 Ralf Baechle ([email protected])
  */
 #ifndef _ASM_MIPS_UNALIGNED_H
arch/mips/lib/c-r4k.c +1 -4
index cb0544a53..58d143dc0 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1996 David S. Miller ([email protected])
  * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Ralf Baechle ([email protected])
  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
arch/mips/lib/memcpy.S +1 -4
index a5af0c938..22c041a79 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1998, 99, 2000, 01, 2002 Ralf Baechle ([email protected])
  * Copyright (C) 1999, 2000, 01, 2002 Silicon Graphics, Inc.
  * Copyright (C) 2002 Broadcom, Inc.
arch/mips/lib/memset.S +1 -4
index d3c1c7239..0db29f029 100644
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-1.0-or-later */
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
  * Copyright (C) 1998, 1999, 2000 by Ralf Baechle
  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  * Copyright (C) 2007 by Maciej W. Rozycki
Signature · 7 lines
2.17.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#0 lore raw

PATCH 1/3 MIPS: migrate all files to SPDX

---
 arch/mips/boards/8devices-lima/lowlevel.S         | 14 +-------------
 arch/mips/boards/black-swift/lowlevel.S           | 14 +-------------
 arch/mips/boards/dlink-dir-320/board.c            | 14 +-------------
 arch/mips/boards/dptechnics-dpt-module/lowlevel.S |  5 +----
 arch/mips/boards/img-ci20/lowlevel.S              | 14 +-------------
 .../boards/loongson-ls1b/include/board/debug_ll.h | 14 +-------------
 arch/mips/boards/loongson-ls1b/lowlevel.S         | 14 +-------------
 .../boards/netgear-wg102/include/board/debug_ll.h | 14 +-------------
 arch/mips/boards/netgear-wg102/lowlevel.S         | 14 +-------------
 .../boards/qemu-malta/include/board/debug_ll.h    | 14 +-------------
 arch/mips/boards/qemu-malta/lowlevel.S            | 14 +-------------
 arch/mips/boards/ritmix-rzx50/lowlevel.S          | 14 +-------------
 arch/mips/boards/tplink-mr3020/lowlevel.S         | 14 +-------------
 arch/mips/boards/tplink-wdr4300/lowlevel.S        | 14 +-------------
 arch/mips/boot/dtb.c                              | 14 +-------------
 arch/mips/boot/main_entry-pbl.c                   | 15 +--------------
 arch/mips/boot/main_entry.c                       | 15 +--------------
 arch/mips/boot/start.S                            | 14 +-------------
 arch/mips/dts/img-ci20.dts                        | 12 +-----------
 arch/mips/include/asm/barebox.h                   | 14 +-------------
 arch/mips/include/asm/bitops.h                    | 14 +-------------
 arch/mips/include/asm/common.h                    | 14 +-------------
 arch/mips/include/asm/debug_ll_ns16550.h          | 14 +-------------
 arch/mips/include/asm/dma.h                       |  4 +---
 arch/mips/include/asm/gt64120.h                   | 11 +----------
 arch/mips/include/asm/module.h                    | 14 +-------------
 arch/mips/include/asm/pbl_macros.h                | 14 +-------------
 arch/mips/include/asm/pbl_nmon.h                  | 14 +-------------
 arch/mips/include/asm/string.h                    | 14 +-------------
 arch/mips/lib/barebox.lds.S                       | 14 +-------------
 arch/mips/lib/cpu-probe.c                         |  6 +-----
 arch/mips/lib/cpuinfo.c                           | 14 +-------------
 arch/mips/lib/csrc-r4k.c                          | 14 +-------------
 arch/mips/lib/dma-default.c                       | 11 +----------
 arch/mips/lib/pbl.lds.S                           |  2 +-
 arch/mips/mach-ar231x/ar231x.c                    |  6 +-----
 arch/mips/mach-ar231x/ar231x_reset.c              |  6 +-----
 arch/mips/mach-ar231x/board.c                     |  6 +-----
 arch/mips/mach-ar231x/include/mach/ar2312_regs.h  |  6 +-----
 .../mach-ar231x/include/mach/ar231x_platform.h    |  6 +-----
 arch/mips/mach-ar231x/include/mach/debug_ll.h     | 14 +-------------
 arch/mips/mach-ath79/bbu.c                        | 10 +---------
 arch/mips/mach-ath79/include/mach/ar71xx_regs.h   |  5 +----
 arch/mips/mach-ath79/include/mach/ath79.h         |  5 +----
 arch/mips/mach-ath79/include/mach/debug_ll.h      | 14 +-------------
 .../mach-ath79/include/mach/debug_ll_ar9331.h     | 14 +-------------
 .../mach-ath79/include/mach/debug_ll_ar9344.h     | 14 +-------------
 arch/mips/mach-ath79/reset.c                      | 14 +-------------
 arch/mips/mach-bcm47xx/include/mach/debug_ll.h    | 14 +-------------
 arch/mips/mach-bcm47xx/include/mach/hardware.h    | 14 +-------------
 arch/mips/mach-bcm47xx/reset.c                    | 14 +-------------
 arch/mips/mach-loongson/include/mach/debug_ll.h   | 14 +-------------
 arch/mips/mach-loongson/include/mach/loongson1.h  |  6 +-----
 arch/mips/mach-loongson/loongson1_reset.c         | 11 +----------
 arch/mips/mach-malta/include/mach/debug_ll.h      | 14 +-------------
 arch/mips/mach-malta/include/mach/hardware.h      | 14 +-------------
 arch/mips/mach-malta/reset.c                      | 14 +-------------
 arch/mips/mach-xburst/csrc-jz4750.c               | 14 +-------------
 arch/mips/mach-xburst/include/mach/debug_ll.h     | 14 +-------------
 .../mach-xburst/include/mach/debug_ll_jz4750d.h   | 14 +-------------
 .../mach-xburst/include/mach/debug_ll_jz4780.h    | 14 +-------------
 arch/mips/mach-xburst/include/mach/jz4750d_regs.h |  5 +----
 arch/mips/mach-xburst/include/mach/jz4780.h       | 12 +-----------
 arch/mips/mach-xburst/reset-jz4750.c              | 14 +-------------
 arch/mips/pbl/zbarebox.lds.S                      | 15 +--------------
 65 files changed, 65 insertions(+), 717 deletions(-)
arch/mips/boards/8devices-lima/lowlevel.S +1 -13
index a619747f3..f33cfe4d9 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2018 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_8devices_lima
arch/mips/boards/black-swift/lowlevel.S +1 -13
index 3a9e780db..104dd26d1 100644
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013, 2015 Antony Pavlov <[email protected]>
  * Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_black_swift
arch/mips/boards/dlink-dir-320/board.c +1 -13
index d00e4fab4..b75812cef 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011, 2014 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #include <common.h>
arch/mips/boards/dptechnics-dpt-module/lowlevel.S +1 -4
index 6601427ba..801c51909 100644
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2017 Oleksij Rempel <[email protected]>
- *
- * 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.
  */
 
 #define BOARD_PBL_START start_dptechnics_dpt_module
arch/mips/boards/img-ci20/lowlevel.S +1 -13
index ad3c851e0..056df17bf 100644
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Startup Code for Imagination Creator CI20 board
  *
  * Copyright (C) 2014 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_img_ci20
arch/mips/boards/loongson-ls1b/include/board/debug_ll.h +1 -13
index e60ce4cec..05420f73a 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /** @file
arch/mips/boards/loongson-ls1b/lowlevel.S +1 -13
index d17a0f79d..37744e9fa 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_loongson_ls1b
arch/mips/boards/netgear-wg102/include/board/debug_ll.h +1 -13
index 2725032ba..b0c1cd173 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /** @file
arch/mips/boards/netgear-wg102/lowlevel.S +1 -13
index f449d4e05..e48dded26 100644
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
  * Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_netgear_wg102
arch/mips/boards/qemu-malta/include/board/debug_ll.h +1 -13
index abeee5345..5b112b8ae 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __INCLUDE_BOARD_DEBUG_LL_QEMU_MALTA_H__
arch/mips/boards/qemu-malta/lowlevel.S +1 -13
index e6d57bcff..3861ae9e4 100644
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Startup Code for MIPS CPU
  *
  * Copyright (C) 2012 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_qemu_malta
arch/mips/boards/ritmix-rzx50/lowlevel.S +1 -13
index b669963ca..7a9743835 100644
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Startup Code for Ritmix RZX-50 board
  *
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_ritmix_rzx50
arch/mips/boards/tplink-mr3020/lowlevel.S +1 -13
index 1efcbaa69..e3e6a61b7 100644
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013, 2015 Antony Pavlov <[email protected]>
  * Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_tplink_mr3020
arch/mips/boards/tplink-wdr4300/lowlevel.S +1 -13
index 9c4e6b7fa..4d7301cb7 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2017 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_tplink_wdr4300
arch/mips/boot/dtb.c +1 -13
index b9ea8f41e..ea30e16f2 100644
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
  *
  * Based on arch/arm/cpu/dtb.c:
  * Copyright (C) 2013 Sascha Hauer <[email protected]>, Pengutronix
- *
- * 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.
- *
  */
 #include <common.h>
 #include <init.h>
arch/mips/boot/main_entry-pbl.c +1 -14
index e608fcb35..b40887b06 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2012 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
  */
 
 #include <common.h>
arch/mips/boot/main_entry.c +1 -14
index e33ae64e7..84325da93 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2012 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
  */
 
 #include <init.h>
arch/mips/boot/start.S +1 -13
index 39ac9414d..6efe03e98 100644
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Startup Code for MIPS CPU
  *
  * Copyright (C) 2011, 2015 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #include <asm/pbl_macros.h>
arch/mips/dts/img-ci20.dts +1 -11
index d98566602..e1d3280c4 100644
@@ -1,19 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * CI20 device tree
  *
  * Copyright (c) 2013 Imagination Technologies
  * Author: Paul Burton <[email protected]>
- *
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
  */
 
 /dts-v1/;
arch/mips/include/asm/barebox.h +1 -13
index e5b964ca1..2d13ee932 100644
@@ -1,16 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 #ifndef _ASM_MIPS_BAREBOX_H_
 #define _ASM_MIPS_BAREBOX_H_
arch/mips/include/asm/bitops.h +1 -13
index e77ab8320..e2bdf98e9 100644
@@ -1,16 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 #ifndef _ASM_BITOPS_H_
 #define _ASM_BITOPS_H_
arch/mips/include/asm/common.h +1 -13
index 2f5419f7d..531659195 100644
@@ -1,16 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 /**
  * @file
arch/mips/include/asm/debug_ll_ns16550.h +1 -13
index 058814ecf..df58c4cf0 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012, 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /** @file
arch/mips/include/asm/dma.h +1 -3
index 30a58c78b..e0b468917 100644
@@ -1,8 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 by Marc Kleine-Budde <[email protected]>
- *
- * This file is released under the GPLv2
- *
  */
 
 #ifndef __ASM_DMA_H
arch/mips/include/asm/gt64120.h +1 -10
index 88fa1fa5f..34d238259 100644
@@ -1,19 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2000, 2004, 2005  MIPS Technologies, Inc.
  *	All rights reserved.
  *	Authors: Carsten Langgaard <[email protected]>
  *		 Maciej W. Rozycki <[email protected]>
  * Copyright (C) 2005 Ralf Baechle ([email protected])
- *
- *  This program is free software; you can distribute 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 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 _ASM_GT64120_H
 #define _ASM_GT64120_H
arch/mips/include/asm/module.h +1 -13
index 0978d8947..1ffceeebd 100644
@@ -1,16 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 #ifndef _ASM_MIPS_MODULE_H_
 #define _ASM_MIPS_MODULE_H_
arch/mips/include/asm/pbl_macros.h +1 -13
index bb3182cda..e78d1afe6 100644
@@ -1,21 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Startup Code for MIPS CPU
  *
  * Copyright (C) 2011, 2012 Antony Pavlov <[email protected]>
  * ADR macro copyrighted (C) 2009 by Shinya Kuribayashi <[email protected]>
- *
- * This file is part of barebox.
- * 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 __ASM_PBL_MACROS_H
arch/mips/include/asm/pbl_nmon.h +1 -13
index e0326bd7c..0e4ec3996 100644
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * nano-monitor for MIPS CPU
  *
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #include <mach/debug_ll.h>
arch/mips/include/asm/string.h +1 -13
index a797a7459..9e5814976 100644
@@ -1,16 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 /**
  * @file
arch/mips/lib/barebox.lds.S +1 -13
index c4026bb7f..8ddf95451 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 
arch/mips/lib/cpu-probe.c +1 -5
index b5d63db18..cf6384974 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Processor capabilities determination functions.
  *
@@ -5,11 +6,6 @@
  * Copyright (C) 1994 - 2006 Ralf Baechle
  * Copyright (C) 2003, 2004  Maciej W. Rozycki
  * Copyright (C) 2001, 2004  MIPS Inc.
- *
- * 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; either version
- * 2 of the License, or (at your option) any later version.
  */
 #include <common.h>
 #include <asm/mipsregs.h>
arch/mips/lib/cpuinfo.c +1 -13
index fb02a4d20..fd27920f9 100644
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * cpuinfo - show information about MIPS CPU
  *
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #include <common.h>
arch/mips/lib/csrc-r4k.c +1 -13
index 6f6e18c8e..9facf04bd 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /**
arch/mips/lib/dma-default.c +1 -10
index 71c1e423b..fbe627c24 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * (C) Copyright 2015, 2016 Peter Mamonov <[email protected]>
- *
- * 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.
- *
  */
 
 #include <dma.h>
arch/mips/lib/pbl.lds.S +1 -1
index 7ca9ae151..1f0285dd6 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * (C) Copyright 2018 Oleksij Rempel <[email protected]>, Pengutronix
  * (C) Copyright 2012 Sascha Hauer <[email protected]>, Pengutronix
arch/mips/mach-ar231x/ar231x.c +1 -5
index 3a0103b5c..7dc4156e6 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Based on Linux driver:
  *  Copyright (C) 2003 Atheros Communications, Inc.,  All Rights Reserved.
@@ -6,11 +7,6 @@
  *  Copyright (C) 2006-2009 Felix Fietkau <[email protected]>
  * Ported to Barebox:
  *  Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <common.h>
arch/mips/mach-ar231x/ar231x_reset.c +1 -5
index 7c322d87b..f88167ba4 100644
@@ -1,10 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <common.h>
arch/mips/mach-ar231x/board.c +1 -5
index 8bd1787cb..48bd7360f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Based on Linux driver:
  *  Copyright (C) 2003 Atheros Communications, Inc.,  All Rights Reserved.
@@ -6,11 +7,6 @@
  *  Copyright (C) 2006-2009 Felix Fietkau <[email protected]>
  * Ported to Barebox:
  *  Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 
arch/mips/mach-ar231x/include/mach/ar2312_regs.h +1 -5
index 7ac1b09b9..fa0ad5dfc 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Based on Linux driver:
  *  Copyright (C) 2003 Atheros Communications, Inc.,  All Rights Reserved.
@@ -5,11 +6,6 @@
  *  Copyright (C) 2006-2009 Felix Fietkau <[email protected]>
  * Ported to Barebox:
  *  Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef AR2312_H
arch/mips/mach-ar231x/include/mach/ar231x_platform.h +1 -5
index 18f55b69c..561ec30c6 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Based on Linux driver:
  *  Copyright (C) 2003 Atheros Communications, Inc.,  All Rights Reserved.
@@ -6,11 +7,6 @@
  *  Copyright (C) 2006-2009 Felix Fietkau <[email protected]>
  * Ported to Barebox:
  *  Copyright (C) 2013 Oleksij Rempel <[email protected]>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __AR231X_PLATFORM_H
arch/mips/mach-ar231x/include/mach/debug_ll.h +1 -13
index ecec15916..50f442aa3 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __MACH_AR231X_DEBUG_LL__
arch/mips/mach-ath79/bbu.c +1 -9
index 701b5752e..36214798c 100644
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2017 Oleksij Rempel <[email protected]>
- *
- * 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.
  */
 
 #include <common.h>
arch/mips/mach-ath79/include/mach/ar71xx_regs.h +1 -4
index f73700b5b..f7737d682 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  Atheros AR71XX/AR724X/AR913X SoC register definitions
  *
@@ -6,10 +7,6 @@
  *  Copyright (C) 2008 Imre Kaloz <[email protected]>
  *
  *  Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP
- *
- *  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 __ASM_MACH_AR71XX_REGS_H
arch/mips/mach-ath79/include/mach/ath79.h +1 -4
index ff53406fb..206bd2289 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  Atheros AR71XX/AR724X/AR913X common definitions
  *
@@ -5,10 +6,6 @@
  *  Copyright (C) 2008 Imre Kaloz <[email protected]>
  *
  *  Parts of this file are based on Atheros' 2.6.15 BSP
- *
- *  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 __ASM_MACH_ATH79_H
arch/mips/mach-ath79/include/mach/debug_ll.h +1 -13
index a49b6cf4a..67691f13b 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __MACH_ATH79_DEBUG_LL__
arch/mips/mach-ath79/include/mach/debug_ll_ar9331.h +1 -13
index 11088490d..cd32e2d1d 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * based on linux.git/drivers/tty/serial/ar933x_uart.c
- *
- * This file is part of barebox.
- * 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 __AR933X_DEBUG_LL__
arch/mips/mach-ath79/include/mach/debug_ll_ar9344.h +1 -13
index 359cf0d42..96ac08bb5 100644
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2017 Oleksij Rempel <[email protected]>
  * Copyright (C) 2012, 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __AR9344_DEBUG_LL__
arch/mips/mach-ath79/reset.c +1 -13
index 066578822..b756c859d 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Du Huanpeng <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #include <common.h>
arch/mips/mach-bcm47xx/include/mach/debug_ll.h +1 -13
index 3e74e0f67..0fbe389a4 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /** @file
arch/mips/mach-bcm47xx/include/mach/hardware.h +1 -13
index 462302df8..071229f86 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __INCLUDE_ARCH_HARDWARE_H__
arch/mips/mach-bcm47xx/reset.c +1 -13
index 6287adb37..33dfb7b3b 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 #include <common.h>
arch/mips/mach-loongson/include/mach/debug_ll.h +1 -13
index 1904fb940..c2d6edb77 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __MACH_LOONGSON_DEBUG_LL__
arch/mips/mach-loongson/include/mach/loongson1.h +1 -5
index 12fdbc00b..75e1a5504 100644
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (c) 2011 Zhang, Keguang <keguang.zhang at gmail.com>
  *
  * Register mappings for Loongson 1
- *
- * 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;  either version 2 of the  License, or (at your
- * option) any later version.
  */
 
 #ifndef __ASM_MACH_LOONGSON1_LOONGSON1_H
arch/mips/mach-loongson/loongson1_reset.c +1 -10
index 7a8f1d683..3763a109e 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Antony Pavlov <antonynpavlov at gmail.com>
- *
- * 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.
- *
  */
 
 #include <common.h>
arch/mips/mach-malta/include/mach/debug_ll.h +1 -13
index a9cf8b3c1..63d1538c5 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /** @file
arch/mips/mach-malta/include/mach/hardware.h +1 -13
index ba28cb86d..1176b08b6 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __INCLUDE_ARCH_HARDWARE_H__
arch/mips/mach-malta/reset.c +1 -13
index ff29cd5e9..df7be0ae5 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /**
arch/mips/mach-xburst/csrc-jz4750.c +1 -13
index 75e065414..302709e59 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /**
arch/mips/mach-xburst/include/mach/debug_ll.h +1 -13
index a1ce17efd..ea12ea591 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __MACH_XBURST_DEBUG_LL__
arch/mips/mach-xburst/include/mach/debug_ll_jz4750d.h +1 -13
index 6d18366c5..8633ad2d1 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __INCLUDE_DEBUG_LL_JZ4750D_H__
arch/mips/mach-xburst/include/mach/debug_ll_jz4780.h +1 -13
index 0bdc58caa..20e94d6c4 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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 __INCLUDE_DEBUG_LL_JZ4780_H__
arch/mips/mach-xburst/include/mach/jz4750d_regs.h +1 -4
index 396c823a1..5e02488e9 100644
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * based on linux/include/asm-mips/mach-jz4750d/regs.h
  *
  * JZ4750D register definition.
  *
  * Copyright (C) 2008 Ingenic Semiconductor Inc.
- *
- * 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 __JZ4750D_REGS_H__
arch/mips/mach-xburst/include/mach/jz4780.h +1 -11
index 4503a93ec..8f5870068 100644
@@ -1,19 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * JZ4780 SoC definitions
  *
  * Copyright (c) 2013 Imagination Technologies
  * Author: Paul Burton <[email protected]>
- *
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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 __MIPS_ASM_MACH_JZ4780_JZ4780_H__
arch/mips/mach-xburst/reset-jz4750.c +1 -13
index 1fdcc7b8a..a1d5976fb 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Antony Pavlov <[email protected]>
- *
- * This file is part of barebox.
- * 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.
- *
  */
 
 /**
arch/mips/pbl/zbarebox.lds.S +1 -14
index a883fdb2d..04b5b8680 100644
@@ -1,19 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * (C) Copyright 2012 Sascha Hauer <[email protected]>, Pengutronix
- *
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
  */
 
 #include <asm-generic/barebox.lds.h>
Signature · 7 lines
2.17.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Re: [PATCH v1 2/3] MIPS: convert files with not precise GNU version to SPDX

In reply to Oleksij Rempel
Quoted 7 lines · Oleksij Rempel

According to COPYING file in the root directory, this files should be marked as GPL-1.0-or-later:
....
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

The toplevel COPYING file is a GPLv2, without "or later".

rsc

Signature · 9 lines
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw
In reply to Oleksij Rempel
Quoted 74 lines · On Sat, 15 Dec 2018 11:02:33 +0100 Oleksij Rempel <[email protected]>…
---
 arch/mips/boards/8devices-lima/lowlevel.S         | 14 +-------------
 arch/mips/boards/black-swift/lowlevel.S           | 14 +-------------
 arch/mips/boards/dlink-dir-320/board.c            | 14 +-------------
 arch/mips/boards/dptechnics-dpt-module/lowlevel.S |  5 +----
 arch/mips/boards/img-ci20/lowlevel.S              | 14 +-------------
 .../boards/loongson-ls1b/include/board/debug_ll.h | 14 +-------------
 arch/mips/boards/loongson-ls1b/lowlevel.S         | 14 +-------------
 .../boards/netgear-wg102/include/board/debug_ll.h | 14 +-------------
 arch/mips/boards/netgear-wg102/lowlevel.S         | 14 +-------------
 .../boards/qemu-malta/include/board/debug_ll.h    | 14 +-------------
 arch/mips/boards/qemu-malta/lowlevel.S            | 14 +-------------
 arch/mips/boards/ritmix-rzx50/lowlevel.S          | 14 +-------------
 arch/mips/boards/tplink-mr3020/lowlevel.S         | 14 +-------------
 arch/mips/boards/tplink-wdr4300/lowlevel.S        | 14 +-------------
 arch/mips/boot/dtb.c                              | 14 +-------------
 arch/mips/boot/main_entry-pbl.c                   | 15 +--------------
 arch/mips/boot/main_entry.c                       | 15 +--------------
 arch/mips/boot/start.S                            | 14 +-------------
 arch/mips/dts/img-ci20.dts                        | 12 +-----------
 arch/mips/include/asm/barebox.h                   | 14 +-------------
 arch/mips/include/asm/bitops.h                    | 14 +-------------
 arch/mips/include/asm/common.h                    | 14 +-------------
 arch/mips/include/asm/debug_ll_ns16550.h          | 14 +-------------
 arch/mips/include/asm/dma.h                       |  4 +---
 arch/mips/include/asm/gt64120.h                   | 11 +----------
 arch/mips/include/asm/module.h                    | 14 +-------------
 arch/mips/include/asm/pbl_macros.h                | 14 +-------------
 arch/mips/include/asm/pbl_nmon.h                  | 14 +-------------
 arch/mips/include/asm/string.h                    | 14 +-------------
 arch/mips/lib/barebox.lds.S                       | 14 +-------------
 arch/mips/lib/cpu-probe.c                         |  6 +-----
 arch/mips/lib/cpuinfo.c                           | 14 +-------------
 arch/mips/lib/csrc-r4k.c                          | 14 +-------------
 arch/mips/lib/dma-default.c                       | 11 +----------
 arch/mips/lib/pbl.lds.S                           |  2 +-
 arch/mips/mach-ar231x/ar231x.c                    |  6 +-----
 arch/mips/mach-ar231x/ar231x_reset.c              |  6 +-----
 arch/mips/mach-ar231x/board.c                     |  6 +-----
 arch/mips/mach-ar231x/include/mach/ar2312_regs.h  |  6 +-----
 .../mach-ar231x/include/mach/ar231x_platform.h    |  6 +-----
 arch/mips/mach-ar231x/include/mach/debug_ll.h     | 14 +-------------
 arch/mips/mach-ath79/bbu.c                        | 10 +---------
 arch/mips/mach-ath79/include/mach/ar71xx_regs.h   |  5 +----
 arch/mips/mach-ath79/include/mach/ath79.h         |  5 +----
 arch/mips/mach-ath79/include/mach/debug_ll.h      | 14 +-------------
 .../mach-ath79/include/mach/debug_ll_ar9331.h     | 14 +-------------
 .../mach-ath79/include/mach/debug_ll_ar9344.h     | 14 +-------------
 arch/mips/mach-ath79/reset.c                      | 14 +-------------
 arch/mips/mach-bcm47xx/include/mach/debug_ll.h    | 14 +-------------
 arch/mips/mach-bcm47xx/include/mach/hardware.h    | 14 +-------------
 arch/mips/mach-bcm47xx/reset.c                    | 14 +-------------
 arch/mips/mach-loongson/include/mach/debug_ll.h   | 14 +-------------
 arch/mips/mach-loongson/include/mach/loongson1.h  |  6 +-----
 arch/mips/mach-loongson/loongson1_reset.c         | 11 +----------
 arch/mips/mach-malta/include/mach/debug_ll.h      | 14 +-------------
 arch/mips/mach-malta/include/mach/hardware.h      | 14 +-------------
 arch/mips/mach-malta/reset.c                      | 14 +-------------
 arch/mips/mach-xburst/csrc-jz4750.c               | 14 +-------------
 arch/mips/mach-xburst/include/mach/debug_ll.h     | 14 +-------------
 .../mach-xburst/include/mach/debug_ll_jz4750d.h   | 14 +-------------
 .../mach-xburst/include/mach/debug_ll_jz4780.h    | 14 +-------------
 arch/mips/mach-xburst/include/mach/jz4750d_regs.h |  5 +----
 arch/mips/mach-xburst/include/mach/jz4780.h       | 12 +-----------
 arch/mips/mach-xburst/reset-jz4750.c              | 14 +-------------
 arch/mips/pbl/zbarebox.lds.S                      | 15 +--------------
 65 files changed, 65 insertions(+), 717 deletions(-)
arch/mips/boards/8devices-lima/lowlevel.S +0 -0
index a619747f3..f33cfe4d9 100644

arch/mips/boards/8devices-lima/lowlevel.S line 4

Quoted 5 lines
arch/mips/boards/8devices-lima/lowlevel.S +1 -2
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2018 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.

Why you don't like this line?

arch/mips/boards/8devices-lima/lowlevel.S line 5

Quoted 1 line
arch/mips/boards/8devices-lima/lowlevel.S +0 -1
- * See file CREDITS for list of people who contributed to this project.

There is no CREDITS file in barebox. We can drop this line tree-wide.

Quoted 12 lines
arch/mips/boards/8devices-lima/lowlevel.S +0 -9
- * 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.
- *
  */
 
 #define BOARD_PBL_START start_8devices_lima
Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#5 lore raw

Hi,

Quoted 72 lines · Antony Pavlov
Quoted 69 lines · On Sat, 15 Dec 2018 11:02:33 +0100 Oleksij Rempel <[email protected]>…
---
  arch/mips/boards/8devices-lima/lowlevel.S         | 14 +-------------
  arch/mips/boards/black-swift/lowlevel.S           | 14 +-------------
  arch/mips/boards/dlink-dir-320/board.c            | 14 +-------------
  arch/mips/boards/dptechnics-dpt-module/lowlevel.S |  5 +----
  arch/mips/boards/img-ci20/lowlevel.S              | 14 +-------------
  .../boards/loongson-ls1b/include/board/debug_ll.h | 14 +-------------
  arch/mips/boards/loongson-ls1b/lowlevel.S         | 14 +-------------
  .../boards/netgear-wg102/include/board/debug_ll.h | 14 +-------------
  arch/mips/boards/netgear-wg102/lowlevel.S         | 14 +-------------
  .../boards/qemu-malta/include/board/debug_ll.h    | 14 +-------------
  arch/mips/boards/qemu-malta/lowlevel.S            | 14 +-------------
  arch/mips/boards/ritmix-rzx50/lowlevel.S          | 14 +-------------
  arch/mips/boards/tplink-mr3020/lowlevel.S         | 14 +-------------
  arch/mips/boards/tplink-wdr4300/lowlevel.S        | 14 +-------------
  arch/mips/boot/dtb.c                              | 14 +-------------
  arch/mips/boot/main_entry-pbl.c                   | 15 +--------------
  arch/mips/boot/main_entry.c                       | 15 +--------------
  arch/mips/boot/start.S                            | 14 +-------------
  arch/mips/dts/img-ci20.dts                        | 12 +-----------
  arch/mips/include/asm/barebox.h                   | 14 +-------------
  arch/mips/include/asm/bitops.h                    | 14 +-------------
  arch/mips/include/asm/common.h                    | 14 +-------------
  arch/mips/include/asm/debug_ll_ns16550.h          | 14 +-------------
  arch/mips/include/asm/dma.h                       |  4 +---
  arch/mips/include/asm/gt64120.h                   | 11 +----------
  arch/mips/include/asm/module.h                    | 14 +-------------
  arch/mips/include/asm/pbl_macros.h                | 14 +-------------
  arch/mips/include/asm/pbl_nmon.h                  | 14 +-------------
  arch/mips/include/asm/string.h                    | 14 +-------------
  arch/mips/lib/barebox.lds.S                       | 14 +-------------
  arch/mips/lib/cpu-probe.c                         |  6 +-----
  arch/mips/lib/cpuinfo.c                           | 14 +-------------
  arch/mips/lib/csrc-r4k.c                          | 14 +-------------
  arch/mips/lib/dma-default.c                       | 11 +----------
  arch/mips/lib/pbl.lds.S                           |  2 +-
  arch/mips/mach-ar231x/ar231x.c                    |  6 +-----
  arch/mips/mach-ar231x/ar231x_reset.c              |  6 +-----
  arch/mips/mach-ar231x/board.c                     |  6 +-----
  arch/mips/mach-ar231x/include/mach/ar2312_regs.h  |  6 +-----
  .../mach-ar231x/include/mach/ar231x_platform.h    |  6 +-----
  arch/mips/mach-ar231x/include/mach/debug_ll.h     | 14 +-------------
  arch/mips/mach-ath79/bbu.c                        | 10 +---------
  arch/mips/mach-ath79/include/mach/ar71xx_regs.h   |  5 +----
  arch/mips/mach-ath79/include/mach/ath79.h         |  5 +----
  arch/mips/mach-ath79/include/mach/debug_ll.h      | 14 +-------------
  .../mach-ath79/include/mach/debug_ll_ar9331.h     | 14 +-------------
  .../mach-ath79/include/mach/debug_ll_ar9344.h     | 14 +-------------
  arch/mips/mach-ath79/reset.c                      | 14 +-------------
  arch/mips/mach-bcm47xx/include/mach/debug_ll.h    | 14 +-------------
  arch/mips/mach-bcm47xx/include/mach/hardware.h    | 14 +-------------
  arch/mips/mach-bcm47xx/reset.c                    | 14 +-------------
  arch/mips/mach-loongson/include/mach/debug_ll.h   | 14 +-------------
  arch/mips/mach-loongson/include/mach/loongson1.h  |  6 +-----
  arch/mips/mach-loongson/loongson1_reset.c         | 11 +----------
  arch/mips/mach-malta/include/mach/debug_ll.h      | 14 +-------------
  arch/mips/mach-malta/include/mach/hardware.h      | 14 +-------------
  arch/mips/mach-malta/reset.c                      | 14 +-------------
  arch/mips/mach-xburst/csrc-jz4750.c               | 14 +-------------
  arch/mips/mach-xburst/include/mach/debug_ll.h     | 14 +-------------
  .../mach-xburst/include/mach/debug_ll_jz4750d.h   | 14 +-------------
  .../mach-xburst/include/mach/debug_ll_jz4780.h    | 14 +-------------
  arch/mips/mach-xburst/include/mach/jz4750d_regs.h |  5 +----
  arch/mips/mach-xburst/include/mach/jz4780.h       | 12 +-----------
  arch/mips/mach-xburst/reset-jz4750.c              | 14 +-------------
  arch/mips/pbl/zbarebox.lds.S                      | 15 +--------------
  65 files changed, 65 insertions(+), 717 deletions(-)
Quoted 12 lines

arch/mips/boards/8devices-lima/lowlevel.S line 4

Quoted 10 lines
arch/mips/boards/8devices-lima/lowlevel.S +1 -2
index a619747f3..f33cfe4d9 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
  /*
   * Copyright (C) 2018 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.

Why you don't like this line?

I don't see any sense of this line. As long as it is part of barebox, it provides no additional information. As soon as some one will reuse it in some other project, it will be removed.

Quoted 4 lines

arch/mips/boards/8devices-lima/lowlevel.S line 5

Quoted 2 lines
arch/mips/boards/8devices-lima/lowlevel.S +0 -1
- * See file CREDITS for list of people who contributed to this project.

There is no CREDITS file in barebox. We can drop this line tree-wide.

Sure, and it is a lot work...

Beside, go you agree to upgrade files copyrighted by you as GPL-2.0-or-later?

Quoted 11 lines
Quoted 11 lines
arch/mips/boards/8devices-lima/lowlevel.S +0 -9
- * 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.
- *
   */
 
Quoted 2 lines

arch/mips/boards/8devices-lima/lowlevel.S line 6

Quoted 1 line
arch/mips/boards/8devices-lima/lowlevel.S +0 -0
  #define BOARD_PBL_START start_8devices_lima

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#6 lore raw
Quoted 93 lines · On Tue, 18 Dec 2018 09:29:20 +0100 Oleksij Rempel <[email protected]>…

Hi,

Quoted 72 lines · Antony Pavlov
Quoted 69 lines · On Sat, 15 Dec 2018 11:02:33 +0100 Oleksij Rempel <[email protected]>…
---
  arch/mips/boards/8devices-lima/lowlevel.S         | 14 +-------------
  arch/mips/boards/black-swift/lowlevel.S           | 14 +-------------
  arch/mips/boards/dlink-dir-320/board.c            | 14 +-------------
  arch/mips/boards/dptechnics-dpt-module/lowlevel.S |  5 +----
  arch/mips/boards/img-ci20/lowlevel.S              | 14 +-------------
  .../boards/loongson-ls1b/include/board/debug_ll.h | 14 +-------------
  arch/mips/boards/loongson-ls1b/lowlevel.S         | 14 +-------------
  .../boards/netgear-wg102/include/board/debug_ll.h | 14 +-------------
  arch/mips/boards/netgear-wg102/lowlevel.S         | 14 +-------------
  .../boards/qemu-malta/include/board/debug_ll.h    | 14 +-------------
  arch/mips/boards/qemu-malta/lowlevel.S            | 14 +-------------
  arch/mips/boards/ritmix-rzx50/lowlevel.S          | 14 +-------------
  arch/mips/boards/tplink-mr3020/lowlevel.S         | 14 +-------------
  arch/mips/boards/tplink-wdr4300/lowlevel.S        | 14 +-------------
  arch/mips/boot/dtb.c                              | 14 +-------------
  arch/mips/boot/main_entry-pbl.c                   | 15 +--------------
  arch/mips/boot/main_entry.c                       | 15 +--------------
  arch/mips/boot/start.S                            | 14 +-------------
  arch/mips/dts/img-ci20.dts                        | 12 +-----------
  arch/mips/include/asm/barebox.h                   | 14 +-------------
  arch/mips/include/asm/bitops.h                    | 14 +-------------
  arch/mips/include/asm/common.h                    | 14 +-------------
  arch/mips/include/asm/debug_ll_ns16550.h          | 14 +-------------
  arch/mips/include/asm/dma.h                       |  4 +---
  arch/mips/include/asm/gt64120.h                   | 11 +----------
  arch/mips/include/asm/module.h                    | 14 +-------------
  arch/mips/include/asm/pbl_macros.h                | 14 +-------------
  arch/mips/include/asm/pbl_nmon.h                  | 14 +-------------
  arch/mips/include/asm/string.h                    | 14 +-------------
  arch/mips/lib/barebox.lds.S                       | 14 +-------------
  arch/mips/lib/cpu-probe.c                         |  6 +-----
  arch/mips/lib/cpuinfo.c                           | 14 +-------------
  arch/mips/lib/csrc-r4k.c                          | 14 +-------------
  arch/mips/lib/dma-default.c                       | 11 +----------
  arch/mips/lib/pbl.lds.S                           |  2 +-
  arch/mips/mach-ar231x/ar231x.c                    |  6 +-----
  arch/mips/mach-ar231x/ar231x_reset.c              |  6 +-----
  arch/mips/mach-ar231x/board.c                     |  6 +-----
  arch/mips/mach-ar231x/include/mach/ar2312_regs.h  |  6 +-----
  .../mach-ar231x/include/mach/ar231x_platform.h    |  6 +-----
  arch/mips/mach-ar231x/include/mach/debug_ll.h     | 14 +-------------
  arch/mips/mach-ath79/bbu.c                        | 10 +---------
  arch/mips/mach-ath79/include/mach/ar71xx_regs.h   |  5 +----
  arch/mips/mach-ath79/include/mach/ath79.h         |  5 +----
  arch/mips/mach-ath79/include/mach/debug_ll.h      | 14 +-------------
  .../mach-ath79/include/mach/debug_ll_ar9331.h     | 14 +-------------
  .../mach-ath79/include/mach/debug_ll_ar9344.h     | 14 +-------------
  arch/mips/mach-ath79/reset.c                      | 14 +-------------
  arch/mips/mach-bcm47xx/include/mach/debug_ll.h    | 14 +-------------
  arch/mips/mach-bcm47xx/include/mach/hardware.h    | 14 +-------------
  arch/mips/mach-bcm47xx/reset.c                    | 14 +-------------
  arch/mips/mach-loongson/include/mach/debug_ll.h   | 14 +-------------
  arch/mips/mach-loongson/include/mach/loongson1.h  |  6 +-----
  arch/mips/mach-loongson/loongson1_reset.c         | 11 +----------
  arch/mips/mach-malta/include/mach/debug_ll.h      | 14 +-------------
  arch/mips/mach-malta/include/mach/hardware.h      | 14 +-------------
  arch/mips/mach-malta/reset.c                      | 14 +-------------
  arch/mips/mach-xburst/csrc-jz4750.c               | 14 +-------------
  arch/mips/mach-xburst/include/mach/debug_ll.h     | 14 +-------------
  .../mach-xburst/include/mach/debug_ll_jz4750d.h   | 14 +-------------
  .../mach-xburst/include/mach/debug_ll_jz4780.h    | 14 +-------------
  arch/mips/mach-xburst/include/mach/jz4750d_regs.h |  5 +----
  arch/mips/mach-xburst/include/mach/jz4780.h       | 12 +-----------
  arch/mips/mach-xburst/reset-jz4750.c              | 14 +-------------
  arch/mips/pbl/zbarebox.lds.S                      | 15 +--------------
  65 files changed, 65 insertions(+), 717 deletions(-)
Quoted 12 lines

arch/mips/boards/8devices-lima/lowlevel.S line 4

Quoted 10 lines
arch/mips/boards/8devices-lima/lowlevel.S +1 -2
index a619747f3..f33cfe4d9 100644
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
  /*
   * Copyright (C) 2018 Oleksij Rempel <[email protected]>
- *
- * This file is part of barebox.

Why you don't like this line?

I don't see any sense of this line. As long as it is part of barebox, it provides no additional information. As soon as some one will reuse it in some other project, it will be removed.

Quoted 1 line
Quoted 8 lines
Quoted 3 lines

arch/mips/boards/8devices-lima/lowlevel.S line 5

Quoted 1 line
arch/mips/boards/8devices-lima/lowlevel.S +0 -1
- * See file CREDITS for list of people who contributed to this project.

There is no CREDITS file in barebox. We can drop this line tree-wide.

Sure, and it is a lot work...

Beside, go you agree to upgrade files copyrighted by you as GPL-2.0-or-later?

Not now. We use many codes from linux kernel (mostly GPL-2.0-only). Can we face the problems of porting linux kernel code to barebox?

I see strange thing: most barebox files are GPL-2.0-only,
but asm/bitopts.h changed GPL-2.0-only to GPL-2.0-or-later after the commit

commit 227a20fe31c6a03795a202f95af95fb371951963

Author: Sascha Hauer <[email protected]>
Date:   Wed Jul 16 09:40:30 2014 +0200

consistently use the same bitops.h file

@Sascha Please comment on GPL-2.0-only vs GPL-2.0-or-later in barebox.

Quoted 13 lines
Quoted 13 lines
Quoted 12 lines
arch/mips/boards/8devices-lima/lowlevel.S +0 -9
- * 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.
- *
   */
 
  #define BOARD_PBL_START start_8devices_lima
Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#7 lore raw
Quoted 9 lines · Antony Pavlov
Quoted 2 lines

Beside, go you agree to upgrade files copyrighted by you as GPL-2.0-or-later?

Not now. We use many codes from linux kernel (mostly GPL-2.0-only). Can we face the problems of porting linux kernel code to barebox?

I see strange thing: most barebox files are GPL-2.0-only,
but asm/bitopts.h changed GPL-2.0-only to GPL-2.0-or-later after the commit

Quoted 7 lines

commit 227a20fe31c6a03795a202f95af95fb371951963

Author: Sascha Hauer <[email protected]>
Date:   Wed Jul 16 09:40:30 2014 +0200

consistently use the same bitops.h file

@Sascha Please comment on GPL-2.0-only vs GPL-2.0-or-later in barebox.

Barebox has preferred GPL-2.0-only starting from day-1, see toplevel COPYING. As GPL-2.0-or-later is compatible with that, it is ok to include or-later code into an otherwhise-2.0-only codebase.

rsc

Signature · 9 lines
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox