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 /arch/xtensa | |
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 'arch/xtensa')
44 files changed, 44 insertions, 93 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 130d76f6be..7e27f60172 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile @@ -1,6 +1,4 @@ -# -# SPDX-License-Identifier: GPL-2.0+ -# +# SPDX-License-Identifier: GPL-2.0+ head-y := arch/xtensa/cpu/start.o diff --git a/arch/xtensa/config.mk b/arch/xtensa/config.mk index 7dd8d8a741..ec37107862 100644 --- a/arch/xtensa/config.mk +++ b/arch/xtensa/config.mk @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2007 - 2013 Tensilica, Inc. # (C) Copyright 2014 - 2016 Cadence Design Systems Inc. -# -# SPDX-License-Identifier: GPL-2.0+ -# CROSS_COMPILE ?= xtensa-linux- PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \ diff --git a/arch/xtensa/cpu/Makefile b/arch/xtensa/cpu/Makefile index e83f6207d8..f28487d206 100644 --- a/arch/xtensa/cpu/Makefile +++ b/arch/xtensa/cpu/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2007 - 2013 Tensilica, Inc. # (C) Copyright 2014 - 2016 Cadence Design Systems Inc. -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y = cpu.o exceptions.o extra-y = start.o diff --git a/arch/xtensa/cpu/cpu.c b/arch/xtensa/cpu/cpu.c index 7044480597..64bb0b6ee0 100644 --- a/arch/xtensa/cpu/cpu.c +++ b/arch/xtensa/cpu/cpu.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 - 2013 Tensilica Inc. * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/arch/xtensa/cpu/exceptions.c b/arch/xtensa/cpu/exceptions.c index 16639a08e8..fe2dedf3c4 100644 --- a/arch/xtensa/cpu/exceptions.c +++ b/arch/xtensa/cpu/exceptions.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 - 2013 Tensilica Inc. * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/arch/xtensa/cpu/start.S b/arch/xtensa/cpu/start.S index cdb875da53..66acb4c610 100644 --- a/arch/xtensa/cpu/start.S +++ b/arch/xtensa/cpu/start.S @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2008 - 2013 Tensilica Inc. * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> diff --git a/arch/xtensa/cpu/u-boot.lds b/arch/xtensa/cpu/u-boot.lds index 7200bc59fb..493f3fdb99 100644 --- a/arch/xtensa/cpu/u-boot.lds +++ b/arch/xtensa/cpu/u-boot.lds @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2008 - 2013 Tensilica, Inc. * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> diff --git a/arch/xtensa/dts/Makefile b/arch/xtensa/dts/Makefile index e14cdac0fc..06ee25d2da 100644 --- a/arch/xtensa/dts/Makefile +++ b/arch/xtensa/dts/Makefile @@ -1,6 +1,4 @@ -# -# SPDX-License-Identifier: GPL-2.0+ -# +# SPDX-License-Identifier: GPL-2.0+ dtb-$(CONFIG_XTFPGA) += ml605.dtb ml605_nommu.dtb kc705.dtb kc705_nommu.dtb diff --git a/arch/xtensa/include/asm/addrspace.h b/arch/xtensa/include/asm/addrspace.h index 1d62259fd5..3b27f9308a 100644 --- a/arch/xtensa/include/asm/addrspace.h +++ b/arch/xtensa/include/asm/addrspace.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2008-2013 Tensilica Inc. * Copyright (C) 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_ADDRSPACE_H diff --git a/arch/xtensa/include/asm/arch-dc232b/core.h b/arch/xtensa/include/asm/arch-dc232b/core.h index 548c971f26..c50a358c52 100644 --- a/arch/xtensa/include/asm/arch-dc232b/core.h +++ b/arch/xtensa/include/asm/arch-dc232b/core.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Xtensa processor core configuration information. * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2007 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_CONFIGURATION_H diff --git a/arch/xtensa/include/asm/arch-dc232b/tie-asm.h b/arch/xtensa/include/asm/arch-dc232b/tie-asm.h index 501d885e68..05ce1107f5 100644 --- a/arch/xtensa/include/asm/arch-dc232b/tie-asm.h +++ b/arch/xtensa/include/asm/arch-dc232b/tie-asm.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * This header file contains assembly-language definitions (assembly * macros, etc.) for this specific Xtensa processor's TIE extensions @@ -5,8 +6,6 @@ * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2007 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_TIE_ASM_H diff --git a/arch/xtensa/include/asm/arch-dc232b/tie.h b/arch/xtensa/include/asm/arch-dc232b/tie.h index 8479a0137d..2e70311d3e 100644 --- a/arch/xtensa/include/asm/arch-dc232b/tie.h +++ b/arch/xtensa/include/asm/arch-dc232b/tie.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * This header file describes this specific Xtensa processor's TIE extensions * that extend basic Xtensa core functionality. It is customized to this @@ -5,8 +6,6 @@ * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2007 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_TIE_H diff --git a/arch/xtensa/include/asm/arch-dc233c/core.h b/arch/xtensa/include/asm/arch-dc233c/core.h index fd2c0e8d0b..8a7345559c 100644 --- a/arch/xtensa/include/asm/arch-dc233c/core.h +++ b/arch/xtensa/include/asm/arch-dc233c/core.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Xtensa processor core configuration information. * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2010 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_CONFIGURATION_H diff --git a/arch/xtensa/include/asm/arch-dc233c/tie-asm.h b/arch/xtensa/include/asm/arch-dc233c/tie-asm.h index 38217ec69e..53a1e42a74 100644 --- a/arch/xtensa/include/asm/arch-dc233c/tie-asm.h +++ b/arch/xtensa/include/asm/arch-dc233c/tie-asm.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * This header file contains assembly-language definitions (assembly * macros, etc.) for this specific Xtensa processor's TIE extensions @@ -5,8 +6,6 @@ * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2010 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_TIE_ASM_H diff --git a/arch/xtensa/include/asm/arch-dc233c/tie.h b/arch/xtensa/include/asm/arch-dc233c/tie.h index 32a714f77d..ddee4ad3f6 100644 --- a/arch/xtensa/include/asm/arch-dc233c/tie.h +++ b/arch/xtensa/include/asm/arch-dc233c/tie.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * This header file describes this specific Xtensa processor's TIE extensions * that extend basic Xtensa core functionality. It is customized to this @@ -5,8 +6,6 @@ * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2010 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_TIE_H diff --git a/arch/xtensa/include/asm/arch-de212/core.h b/arch/xtensa/include/asm/arch-de212/core.h index be13501684..7e94339e6d 100644 --- a/arch/xtensa/include/asm/arch-de212/core.h +++ b/arch/xtensa/include/asm/arch-de212/core.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Xtensa processor core configuration information. * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2015 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_CONFIGURATION_H diff --git a/arch/xtensa/include/asm/arch-de212/tie-asm.h b/arch/xtensa/include/asm/arch-de212/tie-asm.h index 7213550b8a..988aa2ba57 100644 --- a/arch/xtensa/include/asm/arch-de212/tie-asm.h +++ b/arch/xtensa/include/asm/arch-de212/tie-asm.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * This header file contains assembly-language definitions (assembly * macros, etc.) for this specific Xtensa processor's TIE extensions @@ -5,8 +6,6 @@ * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2015 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_TIE_ASM_H diff --git a/arch/xtensa/include/asm/arch-de212/tie.h b/arch/xtensa/include/asm/arch-de212/tie.h index fd0fbfe6e7..2f36493d88 100644 --- a/arch/xtensa/include/asm/arch-de212/tie.h +++ b/arch/xtensa/include/asm/arch-de212/tie.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * This header file describes this specific Xtensa processor's TIE extensions * that extend basic Xtensa core functionality. It is customized to this @@ -5,8 +6,6 @@ * This file is autogenerated, please do not edit. * * Copyright (C) 1999-2015 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CORE_TIE_H diff --git a/arch/xtensa/include/asm/asmmacro.h b/arch/xtensa/include/asm/asmmacro.h index b7adc7e198..78613fc579 100644 --- a/arch/xtensa/include/asm/asmmacro.h +++ b/arch/xtensa/include/asm/asmmacro.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2005 - 2013 Tensilica Inc. * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_ASMMACRO_H diff --git a/arch/xtensa/include/asm/atomic.h b/arch/xtensa/include/asm/atomic.h index a75baa09e0..42b32f5d3d 100644 --- a/arch/xtensa/include/asm/atomic.h +++ b/arch/xtensa/include/asm/atomic.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_ATOMIC_H diff --git a/arch/xtensa/include/asm/bitops.h b/arch/xtensa/include/asm/bitops.h index 550d12f498..48a3e1f517 100644 --- a/arch/xtensa/include/asm/bitops.h +++ b/arch/xtensa/include/asm/bitops.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2001 - 2012 Tensilica Inc. * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_BITOPS_H diff --git a/arch/xtensa/include/asm/bootparam.h b/arch/xtensa/include/asm/bootparam.h index a2a9013ebf..d7562564af 100644 --- a/arch/xtensa/include/asm/bootparam.h +++ b/arch/xtensa/include/asm/bootparam.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Definition of the Linux/Xtensa boot parameter structure * * Copyright (C) 2001 - 2009 Tensilica Inc. * * (Concept borrowed from the 68K port) - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_BOOTPARAM_H diff --git a/arch/xtensa/include/asm/byteorder.h b/arch/xtensa/include/asm/byteorder.h index 278653ce48..2137dcff24 100644 --- a/arch/xtensa/include/asm/byteorder.h +++ b/arch/xtensa/include/asm/byteorder.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Based on Linux/Xtensa kernel version * * Copyright (C) 2001 - 2007 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_BYTEORDER_H diff --git a/arch/xtensa/include/asm/cache.h b/arch/xtensa/include/asm/cache.h index 08c534ca01..68b8330ccb 100644 --- a/arch/xtensa/include/asm/cache.h +++ b/arch/xtensa/include/asm/cache.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2009 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CACHE_H #define _XTENSA_CACHE_H diff --git a/arch/xtensa/include/asm/cacheasm.h b/arch/xtensa/include/asm/cacheasm.h index 342a8177e4..6d321f8866 100644 --- a/arch/xtensa/include/asm/cacheasm.h +++ b/arch/xtensa/include/asm/cacheasm.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2006 Tensilica Inc. * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_CACHEASM_H diff --git a/arch/xtensa/include/asm/config.h b/arch/xtensa/include/asm/config.h index db1ea87c30..5a95fc93f7 100644 --- a/arch/xtensa/include/asm/config.h +++ b/arch/xtensa/include/asm/config.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2009 Tensilica Inc. * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_CONFIG_H_ diff --git a/arch/xtensa/include/asm/global_data.h b/arch/xtensa/include/asm/global_data.h index 45693457ad..1157978ab6 100644 --- a/arch/xtensa/include/asm/global_data.h +++ b/arch/xtensa/include/asm/global_data.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2007, Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_GBL_DATA_H diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/include/asm/io.h index c9e335f4f6..76a646e882 100644 --- a/arch/xtensa/include/asm/io.h +++ b/arch/xtensa/include/asm/io.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * IO header file * * Copyright (C) 2001-2007 Tensilica Inc. * Based on the Linux/Xtensa version of this header. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_IO_H diff --git a/arch/xtensa/include/asm/ldscript.h b/arch/xtensa/include/asm/ldscript.h index 62a1c05268..08f5d0135e 100644 --- a/arch/xtensa/include/asm/ldscript.h +++ b/arch/xtensa/include/asm/ldscript.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2007 Tensilica, Inc. * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_LDSCRIPT_H diff --git a/arch/xtensa/include/asm/misc.h b/arch/xtensa/include/asm/misc.h index 5a2708fbef..3ed9fcb3a2 100644 --- a/arch/xtensa/include/asm/misc.h +++ b/arch/xtensa/include/asm/misc.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2008, Tensilica Inc. * - * SPDX-License-Identifier: GPL-2.0+ - * ******************************************************************** * NOTE: This header file defines an interface to U-Boot. Including * this (unmodified) header file in another file is considered normal diff --git a/arch/xtensa/include/asm/posix_types.h b/arch/xtensa/include/asm/posix_types.h index 821115c006..7fb65ead67 100644 --- a/arch/xtensa/include/asm/posix_types.h +++ b/arch/xtensa/include/asm/posix_types.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2007, Tensilica Inc. * * Based on the ARM version: Copyright (C) 1996-1998 Russell King. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_POSIX_TYPES_H #define _XTENSA_POSIX_TYPES_H diff --git a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h index 8822f80f8d..22203c9649 100644 --- a/arch/xtensa/include/asm/processor.h +++ b/arch/xtensa/include/asm/processor.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1997 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_PROCESSOR_H diff --git a/arch/xtensa/include/asm/ptrace.h b/arch/xtensa/include/asm/ptrace.h index d187dbf4c9..7717016cc6 100644 --- a/arch/xtensa/include/asm/ptrace.h +++ b/arch/xtensa/include/asm/ptrace.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2001 - 2007 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_PTRACE_H diff --git a/arch/xtensa/include/asm/regs.h b/arch/xtensa/include/asm/regs.h index 0a82a221dd..32b50f9511 100644 --- a/arch/xtensa/include/asm/regs.h +++ b/arch/xtensa/include/asm/regs.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2006 Tensilica, Inc. All Rights Reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_REGS_H diff --git a/arch/xtensa/include/asm/sections.h b/arch/xtensa/include/asm/sections.h index 2309b14638..af2c177bea 100644 --- a/arch/xtensa/include/asm/sections.h +++ b/arch/xtensa/include/asm/sections.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2012 The Chromium OS Authors. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ASM_XTENSA_SECTIONS_H diff --git a/arch/xtensa/include/asm/system.h b/arch/xtensa/include/asm/system.h index 5b710089c1..a241568f60 100644 --- a/arch/xtensa/include/asm/system.h +++ b/arch/xtensa/include/asm/system.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_SYSTEM_H diff --git a/arch/xtensa/include/asm/types.h b/arch/xtensa/include/asm/types.h index f7eda9dc59..bae1a480ee 100644 --- a/arch/xtensa/include/asm/types.h +++ b/arch/xtensa/include/asm/types.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1997 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _XTENSA_TYPES_H diff --git a/arch/xtensa/include/asm/u-boot.h b/arch/xtensa/include/asm/u-boot.h index cfdc0367b3..a3dba8db79 100644 --- a/arch/xtensa/include/asm/u-boot.h +++ b/arch/xtensa/include/asm/u-boot.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2007, Tensilica Inc. * - * SPDX-License-Identifier: GPL-2.0+ - * ******************************************************************** * NOTE: This header file defines an interface to U-Boot. Including * this (unmodified) header file in another file is considered normal diff --git a/arch/xtensa/lib/Makefile b/arch/xtensa/lib/Makefile index 7c7d8d59bc..c59df7d372 100644 --- a/arch/xtensa/lib/Makefile +++ b/arch/xtensa/lib/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2007 - 2013 Tensilica Inc. # (C) Copyright 2014 - 2016 Cadence Design Systems Inc. -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-$(CONFIG_CMD_BOOTM) += bootm.o diff --git a/arch/xtensa/lib/bootm.c b/arch/xtensa/lib/bootm.c index 16961acba5..aceed153d7 100644 --- a/arch/xtensa/lib/bootm.c +++ b/arch/xtensa/lib/bootm.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 - 2013 Tensilica Inc. * (C) Copyright 2014 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/arch/xtensa/lib/cache.c b/arch/xtensa/lib/cache.c index 2680839092..8f13f1fb63 100644 --- a/arch/xtensa/lib/cache.c +++ b/arch/xtensa/lib/cache.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 - 2013 Tensilica Inc. * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/arch/xtensa/lib/misc.S b/arch/xtensa/lib/misc.S index 449a6db8fd..f682d9c39c 100644 --- a/arch/xtensa/lib/misc.S +++ b/arch/xtensa/lib/misc.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Miscellaneous assembly functions. * @@ -5,8 +6,6 @@ * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. * * Chris Zankel <chris@zankel.net> - * - * SPDX-License-Identifier: GPL-2.0+ */ diff --git a/arch/xtensa/lib/relocate.c b/arch/xtensa/lib/relocate.c index 010c1b035e..91141f581e 100644 --- a/arch/xtensa/lib/relocate.c +++ b/arch/xtensa/lib/relocate.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <relocate.h> diff --git a/arch/xtensa/lib/time.c b/arch/xtensa/lib/time.c index 915eb5185b..81459b4c28 100644 --- a/arch/xtensa/lib/time.c +++ b/arch/xtensa/lib/time.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 - 2013 Tensilica Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> |