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 --- arch/arm/include/asm/arch-pxa/config.h | 3 +-- arch/arm/include/asm/arch-pxa/pxa.h | 3 +-- arch/arm/include/asm/arch-pxa/regs-mmc.h | 3 +-- arch/arm/include/asm/arch-pxa/regs-uart.h | 3 +-- arch/arm/include/asm/arch-pxa/regs-usb.h | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) (limited to 'arch/arm/include/asm/arch-pxa') diff --git a/arch/arm/include/asm/arch-pxa/config.h b/arch/arm/include/asm/arch-pxa/config.h index 58369452149..75b0e491ed5 100644 --- a/arch/arm/include/asm/arch-pxa/config.h +++ b/arch/arm/include/asm/arch-pxa/config.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2014 Andrew Ruder - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARM_PXA_CONFIG_ diff --git a/arch/arm/include/asm/arch-pxa/pxa.h b/arch/arm/include/asm/arch-pxa/pxa.h index d759aea6003..428a848e157 100644 --- a/arch/arm/include/asm/arch-pxa/pxa.h +++ b/arch/arm/include/asm/arch-pxa/pxa.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * PXA common functions * * Copyright (C) 2011 Marek Vasut - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __PXA_H__ diff --git a/arch/arm/include/asm/arch-pxa/regs-mmc.h b/arch/arm/include/asm/arch-pxa/regs-mmc.h index 1b18eea0c71..6d9a736d9c0 100644 --- a/arch/arm/include/asm/arch-pxa/regs-mmc.h +++ b/arch/arm/include/asm/arch-pxa/regs-mmc.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2011 Marek Vasut - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __REGS_MMC_H__ diff --git a/arch/arm/include/asm/arch-pxa/regs-uart.h b/arch/arm/include/asm/arch-pxa/regs-uart.h index 313a6919c85..bdd0a4757b5 100644 --- a/arch/arm/include/asm/arch-pxa/regs-uart.h +++ b/arch/arm/include/asm/arch-pxa/regs-uart.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2011 Marek Vasut - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __REGS_UART_H__ diff --git a/arch/arm/include/asm/arch-pxa/regs-usb.h b/arch/arm/include/asm/arch-pxa/regs-usb.h index 90ffbf470df..e46887c9ed4 100644 --- a/arch/arm/include/asm/arch-pxa/regs-usb.h +++ b/arch/arm/include/asm/arch-pxa/regs-usb.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * PXA25x UDC definitions * * Copyright (C) 2012 Łukasz Dałek - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __REGS_USB_H__ -- cgit v1.2.3