diff options
author | Tom Rini <trini@konsulko.com> | 2018-05-06 17:58:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 09:34:12 -0400 |
commit | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch) | |
tree | 5e5d1b40b52aaf96b707e0da2474573306d22f7b /include/dt-bindings/reset | |
parent | 7ce85318cfff5fd82a059131761559cba7fef309 (diff) |
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 'include/dt-bindings/reset')
-rw-r--r-- | include/dt-bindings/reset/altr,rst-mgr-s10.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/altr,rst-mgr.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/ast2500-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm3380-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6318-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm63268-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6328-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6338-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6348-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6358-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6362-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/bcm6368-reset.h | 3 | ||||
-rw-r--r-- | include/dt-bindings/reset/tegra186-reset.h | 3 |
13 files changed, 13 insertions, 26 deletions
diff --git a/include/dt-bindings/reset/altr,rst-mgr-s10.h b/include/dt-bindings/reset/altr,rst-mgr-s10.h index e3cae08e0e..1fdcf8ae15 100644 --- a/include/dt-bindings/reset/altr,rst-mgr-s10.h +++ b/include/dt-bindings/reset/altr,rst-mgr-s10.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2016-2018 Intel Corporation. All rights reserved * Copyright (C) 2016 Altera Corporation. All rights reserved - * - * SPDX-License-Identifier: GPL-2.0 * derived from Steffen Trumtrar's "altr,rst-mgr-a10.h" */ diff --git a/include/dt-bindings/reset/altr,rst-mgr.h b/include/dt-bindings/reset/altr,rst-mgr.h index 351d8cdc6f..5b7ad73965 100644 --- a/include/dt-bindings/reset/altr,rst-mgr.h +++ b/include/dt-bindings/reset/altr,rst-mgr.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar@pengutronix.de> - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_H diff --git a/include/dt-bindings/reset/ast2500-reset.h b/include/dt-bindings/reset/ast2500-reset.h index eb5e1db97b..d1b6b23fc1 100644 --- a/include/dt-bindings/reset/ast2500-reset.h +++ b/include/dt-bindings/reset/ast2500-reset.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2017 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ABI_MACH_ASPEED_AST2500_RESET_H_ diff --git a/include/dt-bindings/reset/bcm3380-reset.h b/include/dt-bindings/reset/bcm3380-reset.h index ddc575d92b..4cbf4d289d 100644 --- a/include/dt-bindings/reset/bcm3380-reset.h +++ b/include/dt-bindings/reset/bcm3380-reset.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from Broadcom GPL Source Code: * Copyright (C) Broadcom Corporation - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM3380_H diff --git a/include/dt-bindings/reset/bcm6318-reset.h b/include/dt-bindings/reset/bcm6318-reset.h index 781d7fbc4d..1422500f8f 100644 --- a/include/dt-bindings/reset/bcm6318-reset.h +++ b/include/dt-bindings/reset/bcm6318-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6318_H diff --git a/include/dt-bindings/reset/bcm63268-reset.h b/include/dt-bindings/reset/bcm63268-reset.h index 1373884b36..a45abed1ce 100644 --- a/include/dt-bindings/reset/bcm63268-reset.h +++ b/include/dt-bindings/reset/bcm63268-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM63268_H diff --git a/include/dt-bindings/reset/bcm6328-reset.h b/include/dt-bindings/reset/bcm6328-reset.h index c144ad2a78..f2dd4f79cc 100644 --- a/include/dt-bindings/reset/bcm6328-reset.h +++ b/include/dt-bindings/reset/bcm6328-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6328_H diff --git a/include/dt-bindings/reset/bcm6338-reset.h b/include/dt-bindings/reset/bcm6338-reset.h index 17a5e121e8..4aec7a4b59 100644 --- a/include/dt-bindings/reset/bcm6338-reset.h +++ b/include/dt-bindings/reset/bcm6338-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6338_H diff --git a/include/dt-bindings/reset/bcm6348-reset.h b/include/dt-bindings/reset/bcm6348-reset.h index 173937b9ef..b298c18316 100644 --- a/include/dt-bindings/reset/bcm6348-reset.h +++ b/include/dt-bindings/reset/bcm6348-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6348_H diff --git a/include/dt-bindings/reset/bcm6358-reset.h b/include/dt-bindings/reset/bcm6358-reset.h index 4b3cff3e49..075706eff7 100644 --- a/include/dt-bindings/reset/bcm6358-reset.h +++ b/include/dt-bindings/reset/bcm6358-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6358_H diff --git a/include/dt-bindings/reset/bcm6362-reset.h b/include/dt-bindings/reset/bcm6362-reset.h index ffa46a62f6..6e257ce78f 100644 --- a/include/dt-bindings/reset/bcm6362-reset.h +++ b/include/dt-bindings/reset/bcm6362-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Ãlvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6362_H diff --git a/include/dt-bindings/reset/bcm6368-reset.h b/include/dt-bindings/reset/bcm6368-reset.h index afa6a81d4c..0038a7ccf5 100644 --- a/include/dt-bindings/reset/bcm6368-reset.h +++ b/include/dt-bindings/reset/bcm6368-reset.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> * * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_BINDINGS_RESET_BCM6368_H diff --git a/include/dt-bindings/reset/tegra186-reset.h b/include/dt-bindings/reset/tegra186-reset.h index 26b4ba9b0a..7efec92005 100644 --- a/include/dt-bindings/reset/tegra186-reset.h +++ b/include/dt-bindings/reset/tegra186-reset.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2015, NVIDIA CORPORATION. - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef _ABI_MACH_T186_RESET_T186_H_ |