Skip to content

Commit 83d290c

Browse files
committed
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>
1 parent 7ce8531 commit 83d290c

8,175 files changed

Lines changed: 8207 additions & 17163 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0+
12
# Copyright Roger Meier <r.meier@siemens.com>
2-
# SPDX-License-Identifier: GPL-2.0+
33

44
# build U-Boot on Travis CI - https://travis-ci.org/
55

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#
2-
# SPDX-License-Identifier: GPL-2.0+
3-
#
1+
# SPDX-License-Identifier: GPL-2.0+
42

53
VERSION = 2018
64
PATCHLEVEL = 05

README

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
# SPDX-License-Identifier: GPL-2.0+
12
#
23
# (C) Copyright 2000 - 2013
34
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4-
#
5-
# SPDX-License-Identifier: GPL-2.0+
6-
#
75

86
Summary:
97
========

api/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1+
# SPDX-License-Identifier: GPL-2.0+
12
#
23
# (C) Copyright 2007 Semihalf
3-
#
4-
# SPDX-License-Identifier: GPL-2.0+
5-
#
64

75
obj-y += api.o api_display.o api_net.o api_storage.o
86
obj-$(CONFIG_ARM) += api_platform-arm.o

api/api.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* (C) Copyright 2007 Semihalf
34
*
45
* Written by: Rafal Jaworowski <raj@semihalf.com>
5-
*
6-
* SPDX-License-Identifier: GPL-2.0+
76
*/
87

98
#include <config.h>

api/api_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* Copyright (c) 2011 The Chromium OS Authors.
3-
* SPDX-License-Identifier: GPL-2.0+
44
*/
55

66
#include <common.h>

api/api_net.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* (C) Copyright 2007 Semihalf
34
*
45
* Written by: Rafal Jaworowski <raj@semihalf.com>
5-
*
6-
* SPDX-License-Identifier: GPL-2.0+
76
*/
87

98
#include <config.h>

api/api_platform-arm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* (C) Copyright 2007 Semihalf
34
*
45
* Written by: Rafal Jaworowski <raj@semihalf.com>
56
*
6-
* SPDX-License-Identifier: GPL-2.0+
7-
*
87
* This file contains routines that fetch data from ARM-dependent sources
98
* (bd_info etc.)
109
*/

api/api_platform-mips.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* (C) Copyright 2007 Stanislav Galabov <sgalabov@gmail.com>
34
*
4-
* SPDX-License-Identifier: GPL-2.0+
5-
*
65
* This file contains routines that fetch data from bd_info sources
76
*/
87

api/api_platform-powerpc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* (C) Copyright 2007 Semihalf
34
*
45
* Written by: Rafal Jaworowski <raj@semihalf.com>
56
*
6-
* SPDX-License-Identifier: GPL-2.0+
7-
*
87
* This file contains routines that fetch data from PowerPC-dependent sources
98
* (bd_info etc.)
109
*/

0 commit comments

Comments
 (0)