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/siemens | |
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/siemens')
-rw-r--r-- | board/siemens/common/board.c | 3 | ||||
-rw-r--r-- | board/siemens/common/factoryset.c | 3 | ||||
-rw-r--r-- | board/siemens/common/factoryset.h | 3 | ||||
-rw-r--r-- | board/siemens/corvus/Makefile | 4 | ||||
-rw-r--r-- | board/siemens/corvus/board.c | 3 | ||||
-rw-r--r-- | board/siemens/draco/Makefile | 4 | ||||
-rw-r--r-- | board/siemens/draco/board.c | 3 | ||||
-rw-r--r-- | board/siemens/draco/board.h | 3 | ||||
-rw-r--r-- | board/siemens/draco/mux.c | 3 | ||||
-rw-r--r-- | board/siemens/pxm2/Makefile | 4 | ||||
-rw-r--r-- | board/siemens/pxm2/board.c | 3 | ||||
-rw-r--r-- | board/siemens/pxm2/board.h | 3 | ||||
-rw-r--r-- | board/siemens/pxm2/mux.c | 3 | ||||
-rw-r--r-- | board/siemens/pxm2/pmic.h | 3 | ||||
-rw-r--r-- | board/siemens/rut/Makefile | 4 | ||||
-rw-r--r-- | board/siemens/rut/board.c | 3 | ||||
-rw-r--r-- | board/siemens/rut/board.h | 3 | ||||
-rw-r--r-- | board/siemens/rut/mux.c | 3 | ||||
-rw-r--r-- | board/siemens/smartweb/Makefile | 4 | ||||
-rw-r--r-- | board/siemens/smartweb/smartweb.c | 3 | ||||
-rw-r--r-- | board/siemens/taurus/Makefile | 4 | ||||
-rw-r--r-- | board/siemens/taurus/taurus.c | 3 |
22 files changed, 22 insertions, 50 deletions
diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index 65fa6af2d44..622bde5f9f4 100644 --- a/board/siemens/common/board.c +++ b/board/siemens/common/board.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Common board functions for siemens AM335X based boards * (C) Copyright 2013 Siemens Schweiz AG @@ -6,8 +7,6 @@ * Based on: * U-Boot file:/board/ti/am335x/board.c * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index f3e82d4f189..96615424f6a 100644 --- a/board/siemens/common/factoryset.c +++ b/board/siemens/common/factoryset.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * * Read FactorySet information from EEPROM into global structure. * (C) Copyright 2013 Siemens Schweiz AG - * - * SPDX-License-Identifier: GPL-2.0+ */ #if !defined(CONFIG_SPL_BUILD) diff --git a/board/siemens/common/factoryset.h b/board/siemens/common/factoryset.h index 8602627d2e1..d4e8353249a 100644 --- a/board/siemens/common/factoryset.h +++ b/board/siemens/common/factoryset.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Common board functions for siemens AM335X based boards * (C) Copyright 2013 Siemens Schweiz AG - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __FACTORYSET_H diff --git a/board/siemens/corvus/Makefile b/board/siemens/corvus/Makefile index f3ebf77f1b2..c67acc613c4 100644 --- a/board/siemens/corvus/Makefile +++ b/board/siemens/corvus/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Makefile for siemens CORVUS (AT91SAM9G45) based board # (C) Copyright 2013 Siemens AG @@ -11,8 +12,5 @@ # (C) Copyright 2008 # Stelian Pop <stelian@popies.net> # Lead Tech Design <www.leadtechdesign.com> -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += board.o diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c index 7240c9762e2..a569bd53afe 100644 --- a/board/siemens/corvus/board.c +++ b/board/siemens/corvus/board.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Board functions for Siemens CORVUS (AT91SAM9G45) based board * (C) Copyright 2013 Siemens AG @@ -7,8 +8,6 @@ * (C) Copyright 2007-2008 * Stelian Pop <stelian@popies.net> * Lead Tech Design <www.leadtechdesign.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/draco/Makefile b/board/siemens/draco/Makefile index f15993216b7..3e3394a8656 100644 --- a/board/siemens/draco/Makefile +++ b/board/siemens/draco/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Makefile # @@ -7,9 +8,6 @@ # Based on: # u-boot:/board/ti/am335x/Makefile # Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ -# -# SPDX-License-Identifier: GPL-2.0+ -# ifdef CONFIG_SPL_BUILD obj-y := mux.o diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index c7a6a7aaa38..95b89dac0ee 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Board functions for TI AM335X based draco board * (C) Copyright 2013 Siemens Schweiz AG @@ -9,8 +10,6 @@ * u-boot:/board/ti/am335x/board.c * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/draco/board.h b/board/siemens/draco/board.h index 8856fd0f861..7c29a45c036 100644 --- a/board/siemens/draco/board.h +++ b/board/siemens/draco/board.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * board.h * @@ -9,8 +10,6 @@ * u-boot:/board/ti/am335x/board.h * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _BOARD_H_ diff --git a/board/siemens/draco/mux.c b/board/siemens/draco/mux.c index 38a484eb432..3f2d41befeb 100644 --- a/board/siemens/draco/mux.c +++ b/board/siemens/draco/mux.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * pinmux setup for siemens draco board * @@ -7,8 +8,6 @@ * Based on: * u-boot:/board/ti/am335x/mux.c * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/pxm2/Makefile b/board/siemens/pxm2/Makefile index f15993216b7..3e3394a8656 100644 --- a/board/siemens/pxm2/Makefile +++ b/board/siemens/pxm2/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Makefile # @@ -7,9 +8,6 @@ # Based on: # u-boot:/board/ti/am335x/Makefile # Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ -# -# SPDX-License-Identifier: GPL-2.0+ -# ifdef CONFIG_SPL_BUILD obj-y := mux.o diff --git a/board/siemens/pxm2/board.c b/board/siemens/pxm2/board.c index 7339135050f..1b9e83e248e 100644 --- a/board/siemens/pxm2/board.c +++ b/board/siemens/pxm2/board.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Board functions for TI AM335X based pxm2 board * (C) Copyright 2013 Siemens Schweiz AG @@ -9,8 +10,6 @@ * Board functions for TI AM335X based boards * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/pxm2/board.h b/board/siemens/pxm2/board.h index 03626129dec..af21fc47432 100644 --- a/board/siemens/pxm2/board.h +++ b/board/siemens/pxm2/board.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * board.h * @@ -9,8 +10,6 @@ * u-boot:/board/ti/am335x/board.h * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _BOARD_H_ diff --git a/board/siemens/pxm2/mux.c b/board/siemens/pxm2/mux.c index c64b0d23d52..9b69b6f5c47 100644 --- a/board/siemens/pxm2/mux.c +++ b/board/siemens/pxm2/mux.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * pinmux setup for siemens pxm2 board * @@ -8,8 +9,6 @@ * u-boot:/board/ti/am335x/mux.c * * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/pxm2/pmic.h b/board/siemens/pxm2/pmic.h index c6347e51293..37660460aa8 100644 --- a/board/siemens/pxm2/pmic.h +++ b/board/siemens/pxm2/pmic.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2013 Siemens Schweiz AG * (C) Heiko Schocher, DENX Software Engineering, hs@denx.de. * * Based on: * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef PMIC_H #define PMIC_H diff --git a/board/siemens/rut/Makefile b/board/siemens/rut/Makefile index f15993216b7..3e3394a8656 100644 --- a/board/siemens/rut/Makefile +++ b/board/siemens/rut/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Makefile # @@ -7,9 +8,6 @@ # Based on: # u-boot:/board/ti/am335x/Makefile # Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ -# -# SPDX-License-Identifier: GPL-2.0+ -# ifdef CONFIG_SPL_BUILD obj-y := mux.o diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c index ed5cde3a0b7..25e2ed22a67 100644 --- a/board/siemens/rut/board.c +++ b/board/siemens/rut/board.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Board functions for TI AM335X based rut board * (C) Copyright 2013 Siemens Schweiz AG @@ -7,8 +8,6 @@ * u-boot:/board/ti/am335x/board.c * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/rut/board.h b/board/siemens/rut/board.h index 03626129dec..af21fc47432 100644 --- a/board/siemens/rut/board.h +++ b/board/siemens/rut/board.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * board.h * @@ -9,8 +10,6 @@ * u-boot:/board/ti/am335x/board.h * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _BOARD_H_ diff --git a/board/siemens/rut/mux.c b/board/siemens/rut/mux.c index 1eced013c79..d80120bbdd2 100644 --- a/board/siemens/rut/mux.c +++ b/board/siemens/rut/mux.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * pinmux setup for siemens rut board * @@ -8,8 +9,6 @@ * u-boot:/board/ti/am335x/mux.c * * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/smartweb/Makefile b/board/siemens/smartweb/Makefile index 55e7798d127..49cb3249158 100644 --- a/board/siemens/smartweb/Makefile +++ b/board/siemens/smartweb/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2003-2008 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -13,8 +14,5 @@ # (C) Copyright 2014 # Heiko Schocher <hs@denx.de> # DENX Software Engineering GmbH -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += smartweb.o diff --git a/board/siemens/smartweb/smartweb.c b/board/siemens/smartweb/smartweb.c index c6ba6738a46..e1be384994b 100644 --- a/board/siemens/smartweb/smartweb.c +++ b/board/siemens/smartweb/smartweb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007-2008 * Stelian Pop <stelian@popies.net> @@ -12,8 +13,6 @@ * (C) Copyright 2014 * Heiko Schocher <hs@denx.de> * DENX Software Engineering GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/board/siemens/taurus/Makefile b/board/siemens/taurus/Makefile index a26fb92147f..8c3b1c1c674 100644 --- a/board/siemens/taurus/Makefile +++ b/board/siemens/taurus/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Makefile for Siemens TAURUS (AT91SAM9G20) based board # (C) Copyright 2013 Siemens AG @@ -11,8 +12,5 @@ # (C) Copyright 2008 # Stelian Pop <stelian@popies.net> # Lead Tech Design <www.leadtechdesign.com> -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += taurus.o diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index 3534b2a7bf4..8396ce502b0 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Board functions for Siemens TAURUS (AT91SAM9G20) based boards * (C) Copyright Siemens AG @@ -8,8 +9,6 @@ * (C) Copyright 2007-2008 * Stelian Pop <stelian@popies.net> * Lead Tech Design <www.leadtechdesign.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <command.h> |