summaryrefslogtreecommitdiff
path: root/board/BuR
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-05-07 00:58:06 +0300
committerTom Rini <trini@konsulko.com>2018-05-07 16:34:12 +0300
commit83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch)
tree5e5d1b40b52aaf96b707e0da2474573306d22f7b /board/BuR
parent7ce85318cfff5fd82a059131761559cba7fef309 (diff)
downloadu-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 'board/BuR')
-rw-r--r--board/BuR/brppt1/Makefile4
-rw-r--r--board/BuR/brppt1/board.c3
-rw-r--r--board/BuR/brppt1/mux.c3
-rw-r--r--board/BuR/brxre1/Makefile4
-rw-r--r--board/BuR/brxre1/board.c3
-rw-r--r--board/BuR/brxre1/mux.c3
-rw-r--r--board/BuR/common/bur_common.h3
-rw-r--r--board/BuR/common/common.c3
8 files changed, 8 insertions, 18 deletions
diff --git a/board/BuR/brppt1/Makefile b/board/BuR/brppt1/Makefile
index 43945d285d..3dec0e6522 100644
--- a/board/BuR/brppt1/Makefile
+++ b/board/BuR/brppt1/Makefile
@@ -1,11 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0+
#
# Makefile
#
# Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
# Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
ifeq ($(CONFIG_SPL_BUILD),y)
obj-y := mux.o
diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c
index 9f7b2d98a6..41db449afc 100644
--- a/board/BuR/brppt1/board.c
+++ b/board/BuR/brppt1/board.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* board.c
*
@@ -6,8 +7,6 @@
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
- * SPDX-License-Identifier: GPL-2.0+
- *
*/
#include <common.h>
diff --git a/board/BuR/brppt1/mux.c b/board/BuR/brppt1/mux.c
index ab3788fc6b..87eee709fd 100644
--- a/board/BuR/brppt1/mux.c
+++ b/board/BuR/brppt1/mux.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* mux.c
*
@@ -5,8 +6,6 @@
*
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
diff --git a/board/BuR/brxre1/Makefile b/board/BuR/brxre1/Makefile
index 782664c36e..1cf7124dbd 100644
--- a/board/BuR/brxre1/Makefile
+++ b/board/BuR/brxre1/Makefile
@@ -1,11 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0+
#
# Makefile
#
# Copyright (C) 2014 Hannes Schmelzer <oe5hpm@oevsv.at> -
# Bernecker & Rainer Industrielektronik GmbH - http://www.br-automation.com/
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
obj-$(CONFIG_SPL_BUILD) += mux.o
obj-y += ../common/common.o
diff --git a/board/BuR/brxre1/board.c b/board/BuR/brxre1/board.c
index 7e83437021..41ed28b4bc 100644
--- a/board/BuR/brxre1/board.c
+++ b/board/BuR/brxre1/board.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* board.c
*
@@ -6,8 +7,6 @@
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
- * SPDX-License-Identifier: GPL-2.0+
- *
*/
#include <common.h>
#include <errno.h>
diff --git a/board/BuR/brxre1/mux.c b/board/BuR/brxre1/mux.c
index 40224f76f6..6c5ad891ba 100644
--- a/board/BuR/brxre1/mux.c
+++ b/board/BuR/brxre1/mux.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* mux.c
*
@@ -5,8 +6,6 @@
*
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
diff --git a/board/BuR/common/bur_common.h b/board/BuR/common/bur_common.h
index ded69e7785..5f2d0d055f 100644
--- a/board/BuR/common/bur_common.h
+++ b/board/BuR/common/bur_common.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* bur_comon.h
*
@@ -5,8 +6,6 @@
*
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _BUR_COMMON_H_
diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c
index f0a97faa95..9df19791c2 100644
--- a/board/BuR/common/common.c
+++ b/board/BuR/common/common.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* common.c
*
@@ -6,8 +7,6 @@
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
- * SPDX-License-Identifier: GPL-2.0+
- *
*/
#include <version.h>
#include <common.h>