From 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sun, 6 May 2018 17:58:06 -0400 Subject: 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 --- board/ronetix/pm9261/Makefile | 4 +--- board/ronetix/pm9261/led.c | 3 +-- board/ronetix/pm9261/pm9261.c | 3 +-- board/ronetix/pm9263/Makefile | 4 +--- board/ronetix/pm9263/led.c | 3 +-- board/ronetix/pm9263/pm9263.c | 3 +-- board/ronetix/pm9g45/Makefile | 4 +--- board/ronetix/pm9g45/pm9g45.c | 3 +-- 8 files changed, 8 insertions(+), 19 deletions(-) (limited to 'board/ronetix') diff --git a/board/ronetix/pm9261/Makefile b/board/ronetix/pm9261/Makefile index a133b07..9fa3dfb 100644 --- a/board/ronetix/pm9261/Makefile +++ b/board/ronetix/pm9261/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2003-2008 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -6,9 +7,6 @@ # Stelian Pop # Lead Tech Design # Ilko Iliev -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += pm9261.o obj-$(CONFIG_RED_LED) += led.o diff --git a/board/ronetix/pm9261/led.c b/board/ronetix/pm9261/led.c index 53e353a..2a53b2e 100644 --- a/board/ronetix/pm9261/led.c +++ b/board/ronetix/pm9261/led.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007-2008 * Stelian Pop * Lead Tech Design * Ilko Iliev - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/board/ronetix/pm9261/pm9261.c b/board/ronetix/pm9261/pm9261.c index f338ff8..0c7b4ee 100644 --- a/board/ronetix/pm9261/pm9261.c +++ b/board/ronetix/pm9261/pm9261.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007-2008 * Stelian Pop * Lead Tech Design * Copyright (C) 2008 Ronetix Ilko Iliev (www.ronetix.at) * Copyright (C) 2009 Jean-Christopher PLAGNIOL-VILLARD - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/board/ronetix/pm9263/Makefile b/board/ronetix/pm9263/Makefile index 72aa107..e81c57e 100644 --- a/board/ronetix/pm9263/Makefile +++ b/board/ronetix/pm9263/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2003-2008 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -6,9 +7,6 @@ # Stelian Pop # Lead Tech Design # Ilko Iliev -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += pm9263.o obj-$(CONFIG_AT91_LED) += led.o diff --git a/board/ronetix/pm9263/led.c b/board/ronetix/pm9263/led.c index 8025a20..683e151 100644 --- a/board/ronetix/pm9263/led.c +++ b/board/ronetix/pm9263/led.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007-2008 * Stelian Pop * Lead Tech Design * Ilko Iliev - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c index 8d20084..692288d 100644 --- a/board/ronetix/pm9263/pm9263.c +++ b/board/ronetix/pm9263/pm9263.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007-2008 * Stelian Pop * Lead Tech Design * Copyright (C) 2008 Ronetix Ilko Iliev (www.ronetix.at) * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/board/ronetix/pm9g45/Makefile b/board/ronetix/pm9g45/Makefile index 0a00279..04795c1 100644 --- a/board/ronetix/pm9g45/Makefile +++ b/board/ronetix/pm9g45/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2003-2008 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -5,8 +6,5 @@ # (C) Copyright 2008 # Stelian Pop # Lead Tech Design -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += pm9g45.o diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c index e2620e3..17e520a 100644 --- a/board/ronetix/pm9g45/pm9g45.c +++ b/board/ronetix/pm9g45/pm9g45.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Ilko Iliev @@ -7,8 +8,6 @@ * (C) Copyright 2007-2008 * Stelian Pop * Lead Tech Design - * - * SPDX-License-Identifier: GPL-2.0+ */ #include -- cgit v1.1