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 /board/gdsys/common | |
parent | 7ce85318cfff5fd82a059131761559cba7fef309 (diff) | |
download | u-boot-83d290c56fab2d38cd1ab4c4cc7099559c1d5046.tar.gz |
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/gdsys/common')
-rw-r--r-- | board/gdsys/common/Makefile | 4 | ||||
-rw-r--r-- | board/gdsys/common/adv7611.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/adv7611.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/ch7301.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/ch7301.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/cmd_ioloop.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/dp501.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/fanctrl.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/fanctrl.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/fpga.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/ihs_mdio.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/ihs_mdio.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/ioep-fpga.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/ioep-fpga.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/mclink.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/mclink.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/miiphybb.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/osd.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/osd.h | 3 | ||||
-rw-r--r-- | board/gdsys/common/phy.c | 3 | ||||
-rw-r--r-- | board/gdsys/common/phy.h | 3 |
21 files changed, 21 insertions, 43 deletions
diff --git a/board/gdsys/common/Makefile b/board/gdsys/common/Makefile index d4f0e70573..698ea3b02b 100644 --- a/board/gdsys/common/Makefile +++ b/board/gdsys/common/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2007 # Stefan Roese, DENX Software Engineering, sr@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-$(CONFIG_SYS_FPGA_COMMON) += fpga.o obj-$(CONFIG_CMD_IOLOOP) += cmd_ioloop.o diff --git a/board/gdsys/common/adv7611.c b/board/gdsys/common/adv7611.c index 5355292280..c416bf1dc4 100644 --- a/board/gdsys/common/adv7611.c +++ b/board/gdsys/common/adv7611.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/adv7611.h b/board/gdsys/common/adv7611.h index 25a8367db6..7b4e27c6bc 100644 --- a/board/gdsys/common/adv7611.h +++ b/board/gdsys/common/adv7611.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ADV7611_H_ diff --git a/board/gdsys/common/ch7301.c b/board/gdsys/common/ch7301.c index c054e55cf7..1234149f42 100644 --- a/board/gdsys/common/ch7301.c +++ b/board/gdsys/common/ch7301.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ /* Chrontel CH7301C DVI Transmitter */ diff --git a/board/gdsys/common/ch7301.h b/board/gdsys/common/ch7301.h index 8383719808..e0e8a9e9d4 100644 --- a/board/gdsys/common/ch7301.h +++ b/board/gdsys/common/ch7301.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _CH7301_H_ diff --git a/board/gdsys/common/cmd_ioloop.c b/board/gdsys/common/cmd_ioloop.c index 0e81c9d9e4..8e2f4071ef 100644 --- a/board/gdsys/common/cmd_ioloop.c +++ b/board/gdsys/common/cmd_ioloop.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/dp501.c b/board/gdsys/common/dp501.c index 54e7f63f69..69d4b8c333 100644 --- a/board/gdsys/common/dp501.c +++ b/board/gdsys/common/dp501.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ /* Parade Technologies Inc. DP501 DisplayPort DVI/HDMI Transmitter */ diff --git a/board/gdsys/common/fanctrl.c b/board/gdsys/common/fanctrl.c index 52a4f33836..5e776831db 100644 --- a/board/gdsys/common/fanctrl.c +++ b/board/gdsys/common/fanctrl.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/fanctrl.h b/board/gdsys/common/fanctrl.h index 12bc850f85..ab7e58def5 100644 --- a/board/gdsys/common/fanctrl.h +++ b/board/gdsys/common/fanctrl.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2015 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _FANCTRL_H_ diff --git a/board/gdsys/common/fpga.c b/board/gdsys/common/fpga.c index 09c0446f90..f189e5fbd1 100644 --- a/board/gdsys/common/fpga.c +++ b/board/gdsys/common/fpga.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/ihs_mdio.c b/board/gdsys/common/ihs_mdio.c index 822517d4b2..8a1bc46c5c 100644 --- a/board/gdsys/common/ihs_mdio.c +++ b/board/gdsys/common/ihs_mdio.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/ihs_mdio.h b/board/gdsys/common/ihs_mdio.h index 64b4049378..cddc335c10 100644 --- a/board/gdsys/common/ihs_mdio.h +++ b/board/gdsys/common/ihs_mdio.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _IHS_MDIO_H_ diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c index 7ebce04a8a..8e10501247 100644 --- a/board/gdsys/common/ioep-fpga.c +++ b/board/gdsys/common/ioep-fpga.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/ioep-fpga.h b/board/gdsys/common/ioep-fpga.h index 44f71399e7..53570b936a 100644 --- a/board/gdsys/common/ioep-fpga.h +++ b/board/gdsys/common/ioep-fpga.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _IOEP_FPGA_H_ diff --git a/board/gdsys/common/mclink.c b/board/gdsys/common/mclink.c index 9f230c9a97..bf89d4e292 100644 --- a/board/gdsys/common/mclink.c +++ b/board/gdsys/common/mclink.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/mclink.h b/board/gdsys/common/mclink.h index febd46a70e..4dc4058892 100644 --- a/board/gdsys/common/mclink.h +++ b/board/gdsys/common/mclink.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2012 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _MCLINK_H_ diff --git a/board/gdsys/common/miiphybb.c b/board/gdsys/common/miiphybb.c index 09b62253cd..042835d6af 100644 --- a/board/gdsys/common/miiphybb.c +++ b/board/gdsys/common/miiphybb.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/osd.c b/board/gdsys/common/osd.c index 454468ea3b..392d0059da 100644 --- a/board/gdsys/common/osd.c +++ b/board/gdsys/common/osd.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/osd.h b/board/gdsys/common/osd.h index a3b0e3d5ae..4e8e53ab43 100644 --- a/board/gdsys/common/osd.h +++ b/board/gdsys/common/osd.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2010 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _OSD_H_ diff --git a/board/gdsys/common/phy.c b/board/gdsys/common/phy.c index 45d2b81f37..c4b2256da3 100644 --- a/board/gdsys/common/phy.c +++ b/board/gdsys/common/phy.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/gdsys/common/phy.h b/board/gdsys/common/phy.h index afbdc65a9e..e0aa661b9c 100644 --- a/board/gdsys/common/phy.h +++ b/board/gdsys/common/phy.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _PHY_H_ |