diff options
author | Tom Rini <trini@konsulko.com> | 2018-05-07 00:58:06 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 16:34:12 +0300 |
commit | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch) | |
tree | 5e5d1b40b52aaf96b707e0da2474573306d22f7b /arch/m68k/lib | |
parent | 7ce85318cfff5fd82a059131761559cba7fef309 (diff) | |
download | u-boot-83d290c56fab2d38cd1ab4c4cc7099559c1d5046.tar.xz |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/m68k/lib')
-rw-r--r-- | arch/m68k/lib/Makefile | 4 | ||||
-rw-r--r-- | arch/m68k/lib/ashldi3.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/bootm.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/cache.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/interrupts.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/lshrdi3.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/muldi3.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/time.c | 3 | ||||
-rw-r--r-- | arch/m68k/lib/traps.c | 3 |
9 files changed, 9 insertions, 19 deletions
diff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile index dbca42cd7a..254a0a3998 100644 --- a/arch/m68k/lib/Makefile +++ b/arch/m68k/lib/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2000-2006 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# ## Build a couple of necessary functions into a private libgcc ## if the user asked for it diff --git a/arch/m68k/lib/ashldi3.c b/arch/m68k/lib/ashldi3.c index be197da81e..9a4bc676bf 100644 --- a/arch/m68k/lib/ashldi3.c +++ b/arch/m68k/lib/ashldi3.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ashldi3.c extracted from gcc-2.7.2.3/libgcc2.c and * gcc-2.7.2.3/longlong.h * * Copyright (C) 1989-2015 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #define BITS_PER_UNIT 8 diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c index c976904fa9..1b15430297 100644 --- a/arch/m68k/lib/bootm.c +++ b/arch/m68k/lib/bootm.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/arch/m68k/lib/cache.c b/arch/m68k/lib/cache.c index a8a292b77e..29f863b8b4 100644 --- a/arch/m68k/lib/cache.c +++ b/arch/m68k/lib/cache.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/arch/m68k/lib/interrupts.c b/arch/m68k/lib/interrupts.c index b96df609f0..2d1c6136a1 100644 --- a/arch/m68k/lib/interrupts.c +++ b/arch/m68k/lib/interrupts.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * (C) Copyright 2007 Freescale Semiconductor Inc * TsiChung Liew (Tsi-Chung.Liew@freescale.com) - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/arch/m68k/lib/lshrdi3.c b/arch/m68k/lib/lshrdi3.c index 9052383508..e639e676a2 100644 --- a/arch/m68k/lib/lshrdi3.c +++ b/arch/m68k/lib/lshrdi3.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * lshrdi3.c extracted from gcc-2.7.2.3/libgcc2.c and * gcc-2.7.2.3/longlong.h * * Copyright (C) 1989-2015 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #define BITS_PER_UNIT 8 diff --git a/arch/m68k/lib/muldi3.c b/arch/m68k/lib/muldi3.c index d709c32145..23ef4b732a 100644 --- a/arch/m68k/lib/muldi3.c +++ b/arch/m68k/lib/muldi3.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * muldi3.c extracted from gcc-2.7.2.3/libgcc2.c and * gcc-2.7.2.3/longlong.h * * Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #define SI_TYPE_SIZE 32 diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c index cb90c83f4e..a6345a0bc9 100644 --- a/arch/m68k/lib/time.c +++ b/arch/m68k/lib/time.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de> * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/arch/m68k/lib/traps.c b/arch/m68k/lib/traps.c index cbd410ceb7..5d80207745 100644 --- a/arch/m68k/lib/traps.c +++ b/arch/m68k/lib/traps.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 * Josef Baumgartner <josef.baumgartner@telex.de> * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> |