aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-12-25 14:54:31 -0500
committerKrzysztof Kozlowski <krzk@kernel.org>2018-01-03 12:36:22 -0500
commit347863d47a17efa742799da468c64e9673658945 (patch)
treed422b32799b9f65abc68b2866dc0d78f4cc16c84
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
ARM: EXYNOS: Add SPDX license identifiers
Replace GPL license statements with SPDX license identifiers (GPL-2.0 and GPL-2.0+). Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/mach-exynos/Kconfig4
-rw-r--r--arch/arm/mach-exynos/Makefile4
-rw-r--r--arch/arm/mach-exynos/common.h5
-rw-r--r--arch/arm/mach-exynos/exynos-smc.S5
-rw-r--r--arch/arm/mach-exynos/exynos.c16
-rw-r--r--arch/arm/mach-exynos/firmware.c14
-rw-r--r--arch/arm/mach-exynos/headsmp.S6
-rw-r--r--arch/arm/mach-exynos/include/mach/map.h7
-rw-r--r--arch/arm/mach-exynos/mcpm-exynos.c17
-rw-r--r--arch/arm/mach-exynos/platsmp.c21
-rw-r--r--arch/arm/mach-exynos/pm.c24
-rw-r--r--arch/arm/mach-exynos/sleep.S11
-rw-r--r--arch/arm/mach-exynos/smc.h5
-rw-r--r--arch/arm/mach-exynos/suspend.c24
14 files changed, 53 insertions, 110 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 44fa753bd79c..647c319f9f5f 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -1,9 +1,7 @@
1# arch/arm/mach-exynos/Kconfig 1# SPDX-License-Identifier: GPL-2.0
2# 2#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/ 4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7 5
8# Configuration options for the EXYNOS 6# Configuration options for the EXYNOS
9 7
diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile
index 9ea6c54645ad..cd00c82a1add 100644
--- a/arch/arm/mach-exynos/Makefile
+++ b/arch/arm/mach-exynos/Makefile
@@ -1,9 +1,7 @@
1# arch/arm/mach-exynos/Makefile 1# SPDX-License-Identifier: GPL-2.0
2# 2#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/ 4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7 5
8ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 6ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
9 7
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 3f715524c9d6..098f84a149a3 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * Copyright (c) 2011 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com 4 * http://www.samsung.com
4 * 5 *
5 * Common Header for EXYNOS machines 6 * Common Header for EXYNOS machines
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */ 7 */
11 8
12#ifndef __ARCH_ARM_MACH_EXYNOS_COMMON_H 9#ifndef __ARCH_ARM_MACH_EXYNOS_COMMON_H
diff --git a/arch/arm/mach-exynos/exynos-smc.S b/arch/arm/mach-exynos/exynos-smc.S
index 2e27aa3813fd..d259532ba937 100644
--- a/arch/arm/mach-exynos/exynos-smc.S
+++ b/arch/arm/mach-exynos/exynos-smc.S
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * Copyright (C) 2012 Samsung Electronics. 3 * Copyright (C) 2012 Samsung Electronics.
3 * 4 *
4 * Copied from omap-smc.S Copyright (C) 2010 Texas Instruments, Inc. 5 * Copied from omap-smc.S Copyright (C) 2010 Texas Instruments, Inc.
5 *
6 * This program is free software,you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10 7
11#include <linux/linkage.h> 8#include <linux/linkage.h>
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index 9a9caac1125a..fbd108ce8745 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -1,13 +1,9 @@
1/* 1// SPDX-License-Identifier: GPL-2.0
2 * SAMSUNG EXYNOS Flattened Device Tree enabled machine 2//
3 * 3// SAMSUNG EXYNOS Flattened Device Tree enabled machine
4 * Copyright (c) 2010-2014 Samsung Electronics Co., Ltd. 4//
5 * http://www.samsung.com 5// Copyright (c) 2010-2014 Samsung Electronics Co., Ltd.
6 * 6// http://www.samsung.com
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11 7
12#include <linux/init.h> 8#include <linux/init.h>
13#include <linux/io.h> 9#include <linux/io.h>
diff --git a/arch/arm/mach-exynos/firmware.c b/arch/arm/mach-exynos/firmware.c
index 2a51e4603a6f..be1f20fe28f4 100644
--- a/arch/arm/mach-exynos/firmware.c
+++ b/arch/arm/mach-exynos/firmware.c
@@ -1,12 +1,8 @@
1/* 1// SPDX-License-Identifier: GPL-2.0
2 * Copyright (C) 2012 Samsung Electronics. 2//
3 * Kyungmin Park <kyungmin.park@samsung.com> 3// Copyright (C) 2012 Samsung Electronics.
4 * Tomasz Figa <t.figa@samsung.com> 4// Kyungmin Park <kyungmin.park@samsung.com>
5 * 5// Tomasz Figa <t.figa@samsung.com>
6 * This program is free software,you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 6
11#include <linux/kernel.h> 7#include <linux/kernel.h>
12#include <linux/io.h> 8#include <linux/io.h>
diff --git a/arch/arm/mach-exynos/headsmp.S b/arch/arm/mach-exynos/headsmp.S
index d3d24ab351ae..005695c9bf40 100644
--- a/arch/arm/mach-exynos/headsmp.S
+++ b/arch/arm/mach-exynos/headsmp.S
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 *
3 * Cloned from linux/arch/arm/mach-realview/headsmp.S 3 * Cloned from linux/arch/arm/mach-realview/headsmp.S
4 * 4 *
5 * Copyright (c) 2003 ARM Limited 5 * Copyright (c) 2003 ARM Limited
6 * All Rights Reserved 6 * All Rights Reserved
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */ 7 */
12#include <linux/linkage.h> 8#include <linux/linkage.h>
13#include <linux/init.h> 9#include <linux/init.h>
diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
index 5fb0040cc6d3..37a5ea5e2602 100644
--- a/arch/arm/mach-exynos/include/mach/map.h
+++ b/arch/arm/mach-exynos/include/mach/map.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com/ 4 * http://www.samsung.com/
4 * 5 *
5 * EXYNOS - Memory map definitions 6 * EXYNOS - Memory map definitions
6 * 7 */
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11 8
12#ifndef __ASM_ARCH_MAP_H 9#ifndef __ASM_ARCH_MAP_H
13#define __ASM_ARCH_MAP_H __FILE__ 10#define __ASM_ARCH_MAP_H __FILE__
diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c
index b42622562ea7..72bc035bedbe 100644
--- a/arch/arm/mach-exynos/mcpm-exynos.c
+++ b/arch/arm/mach-exynos/mcpm-exynos.c
@@ -1,15 +1,8 @@
1/* 1// SPDX-License-Identifier: GPL-2.0
2 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 2// Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com 3// http://www.samsung.com
4 * 4//
5 * arch/arm/mach-exynos/mcpm-exynos.c 5// Based on arch/arm/mach-vexpress/dcscb.c
6 *
7 * Based on arch/arm/mach-vexpress/dcscb.c
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */
13 6
14#include <linux/arm-cci.h> 7#include <linux/arm-cci.h>
15#include <linux/delay.h> 8#include <linux/delay.h>
diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c
index 5a03bffe7226..5156fe70e030 100644
--- a/arch/arm/mach-exynos/platsmp.c
+++ b/arch/arm/mach-exynos/platsmp.c
@@ -1,16 +1,11 @@
1 /* 1// SPDX-License-Identifier: GPL-2.0
2 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 2// Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com 3// http://www.samsung.com
4 * 4//
5 * Cloned from linux/arch/arm/mach-vexpress/platsmp.c 5// Cloned from linux/arch/arm/mach-vexpress/platsmp.c
6 * 6//
7 * Copyright (C) 2002 ARM Ltd. 7// Copyright (C) 2002 ARM Ltd.
8 * All Rights Reserved 8// All Rights Reserved
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/
14 9
15#include <linux/init.h> 10#include <linux/init.h>
16#include <linux/errno.h> 11#include <linux/errno.h>
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index c9740d96db9e..dc4346ecf16d 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch/arm/mach-exynos/pm.c
@@ -1,17 +1,13 @@
1/* 1// SPDX-License-Identifier: GPL-2.0
2 * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. 2//
3 * http://www.samsung.com 3// Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
4 * 4// http://www.samsung.com
5 * EXYNOS - Power Management support 5//
6 * 6// EXYNOS - Power Management support
7 * Based on arch/arm/mach-s3c2410/pm.c 7//
8 * Copyright (c) 2006 Simtec Electronics 8// Based on arch/arm/mach-s3c2410/pm.c
9 * Ben Dooks <ben@simtec.co.uk> 9// Copyright (c) 2006 Simtec Electronics
10 * 10// Ben Dooks <ben@simtec.co.uk>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14*/
15 11
16#include <linux/init.h> 12#include <linux/init.h>
17#include <linux/suspend.h> 13#include <linux/suspend.h>
diff --git a/arch/arm/mach-exynos/sleep.S b/arch/arm/mach-exynos/sleep.S
index 4292cae43f3c..2783c3a0c06a 100644
--- a/arch/arm/mach-exynos/sleep.S
+++ b/arch/arm/mach-exynos/sleep.S
@@ -1,18 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0+ */
1/* 2/*
2 * Copyright (c) 2013 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com 4 * http://www.samsung.com
4 * 5 *
5 * Exynos low-level resume code 6 * Exynos low-level resume code
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */ 7 */
17 8
18#include <linux/linkage.h> 9#include <linux/linkage.h>
diff --git a/arch/arm/mach-exynos/smc.h b/arch/arm/mach-exynos/smc.h
index c2845717bc8f..f355185d4239 100644
--- a/arch/arm/mach-exynos/smc.h
+++ b/arch/arm/mach-exynos/smc.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * Copyright (c) 2012 Samsung Electronics. 3 * Copyright (c) 2012 Samsung Electronics.
3 * 4 *
4 * EXYNOS - SMC Call 5 * EXYNOS - SMC Call
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10 7
11#ifndef __ASM_ARCH_EXYNOS_SMC_H 8#ifndef __ASM_ARCH_EXYNOS_SMC_H
diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c
index 370d37ded7e7..c2ed997fedef 100644
--- a/arch/arm/mach-exynos/suspend.c
+++ b/arch/arm/mach-exynos/suspend.c
@@ -1,17 +1,13 @@
1/* 1// SPDX-License-Identifier: GPL-2.0
2 * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. 2//
3 * http://www.samsung.com 3// Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
4 * 4// http://www.samsung.com
5 * EXYNOS - Suspend support 5//
6 * 6// EXYNOS - Suspend support
7 * Based on arch/arm/mach-s3c2410/pm.c 7//
8 * Copyright (c) 2006 Simtec Electronics 8// Based on arch/arm/mach-s3c2410/pm.c
9 * Ben Dooks <ben@simtec.co.uk> 9// Copyright (c) 2006 Simtec Electronics
10 * 10// Ben Dooks <ben@simtec.co.uk>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */
15 11
16#include <linux/init.h> 12#include <linux/init.h>
17#include <linux/suspend.h> 13#include <linux/suspend.h>