diff options
author | Tom Rini | 2018-05-06 17:58:06 -0400 |
---|---|---|
committer | Tom Rini | 2018-05-07 09:34:12 -0400 |
commit | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch) | |
tree | 5e5d1b40b52aaf96b707e0da2474573306d22f7b /board/freescale/t4rdb | |
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 'board/freescale/t4rdb')
-rw-r--r-- | board/freescale/t4rdb/cpld.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/cpld.h | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/ddr.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/ddr.h | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/eth.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/law.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/pci.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/spl.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/t4240rdb.c | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/t4rdb.h | 3 | ||||
-rw-r--r-- | board/freescale/t4rdb/tlb.c | 3 |
11 files changed, 11 insertions, 22 deletions
diff --git a/board/freescale/t4rdb/cpld.c b/board/freescale/t4rdb/cpld.c index d563d0d35ce..470b5f91549 100644 --- a/board/freescale/t4rdb/cpld.c +++ b/board/freescale/t4rdb/cpld.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /** * Copyright 2014 Freescale Semiconductor * * Author: Chunhe Lan <Chunhe.Lan@freescale.com> * - * SPDX-License-Identifier: GPL-2.0+ - * * This file provides support for the board-specific CPLD used on some Freescale * reference boards. * diff --git a/board/freescale/t4rdb/cpld.h b/board/freescale/t4rdb/cpld.h index 0180082ca34..dc3f9f3c26c 100644 --- a/board/freescale/t4rdb/cpld.h +++ b/board/freescale/t4rdb/cpld.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /** * Copyright 2014 Freescale Semiconductor * * Author: Chunhe Lan <Chunhe.Lan@freescale.com> * - * SPDX-License-Identifier: GPL-2.0+ - * * This file provides support for the ngPIXIS, a board-specific FPGA used on * some Freescale reference boards. */ diff --git a/board/freescale/t4rdb/ddr.c b/board/freescale/t4rdb/ddr.c index 8415527ec2e..787de6d7ad0 100644 --- a/board/freescale/t4rdb/ddr.c +++ b/board/freescale/t4rdb/ddr.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/freescale/t4rdb/ddr.h b/board/freescale/t4rdb/ddr.h index f01ebb22b57..74a27796114 100644 --- a/board/freescale/t4rdb/ddr.h +++ b/board/freescale/t4rdb/ddr.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DDR_H__ diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c index ae2451e4ba6..2ef192c4522 100644 --- a/board/freescale/t4rdb/eth.c +++ b/board/freescale/t4rdb/eth.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. * * Chunhe Lan <Chunhe.Lan@freescale.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/freescale/t4rdb/law.c b/board/freescale/t4rdb/law.c index 39818fc4f12..038f60565f7 100644 --- a/board/freescale/t4rdb/law.c +++ b/board/freescale/t4rdb/law.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/freescale/t4rdb/pci.c b/board/freescale/t4rdb/pci.c index 36cff0dac4c..4100370e209 100644 --- a/board/freescale/t4rdb/pci.c +++ b/board/freescale/t4rdb/pci.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/freescale/t4rdb/spl.c b/board/freescale/t4rdb/spl.c index 932954e93df..cc2b2f9ffb0 100644 --- a/board/freescale/t4rdb/spl.c +++ b/board/freescale/t4rdb/spl.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2015 Freescale Semiconductor, Inc. * * Author: Chunhe Lan <Chunhe.Lan@freescale.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/freescale/t4rdb/t4240rdb.c b/board/freescale/t4rdb/t4240rdb.c index f511706b9f8..3bfebb62147 100644 --- a/board/freescale/t4rdb/t4240rdb.c +++ b/board/freescale/t4rdb/t4240rdb.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/freescale/t4rdb/t4rdb.h b/board/freescale/t4rdb/t4rdb.h index fb25d43291e..6e04bf07101 100644 --- a/board/freescale/t4rdb/t4rdb.h +++ b/board/freescale/t4rdb/t4rdb.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __T4RDB_H__ diff --git a/board/freescale/t4rdb/tlb.c b/board/freescale/t4rdb/tlb.c index 648cfabeea0..b927dd8484f 100644 --- a/board/freescale/t4rdb/tlb.c +++ b/board/freescale/t4rdb/tlb.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> |