diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-12-02 12:52:09 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-12-07 08:14:37 +0100 |
commit | 30d61abf22d8633bf0dd34fb455bc6653204d890 (patch) | |
tree | 3df0279fae734cd5845a96a1763481204cde93d5 /arch/arm/lib32 | |
parent | fb244def400853e5b41c327e5cb02d6d34be2397 (diff) | |
download | barebox-30d61abf22d8633bf0dd34fb455bc6653204d890.tar.gz barebox-30d61abf22d8633bf0dd34fb455bc6653204d890.tar.xz |
arm/lib: Replace license and copyright boilerplate by SPDX identifiers
Converts the files that licensecheck can determine to be licensed under
GPL-2.0-only or GPL-2.0-or-later and also convert the copyright statements
to SPDX.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib32')
-rw-r--r-- | arch/arm/lib32/armlinux.c | 20 | ||||
-rw-r--r-- | arch/arm/lib32/barebox.lds.S | 18 | ||||
-rw-r--r-- | arch/arm/lib32/copy_template.S | 15 | ||||
-rw-r--r-- | arch/arm/lib32/div0.c | 18 | ||||
-rw-r--r-- | arch/arm/lib32/findbit.S | 9 | ||||
-rw-r--r-- | arch/arm/lib32/io-readsb.S | 9 | ||||
-rw-r--r-- | arch/arm/lib32/io-readsl.S | 11 | ||||
-rw-r--r-- | arch/arm/lib32/io-readsw-armv4.S | 11 | ||||
-rw-r--r-- | arch/arm/lib32/io-writesb.S | 11 | ||||
-rw-r--r-- | arch/arm/lib32/io-writesl.S | 11 | ||||
-rw-r--r-- | arch/arm/lib32/io-writesw-armv4.S | 11 | ||||
-rw-r--r-- | arch/arm/lib32/memcpy.S | 13 | ||||
-rw-r--r-- | arch/arm/lib32/memset.S | 14 | ||||
-rw-r--r-- | arch/arm/lib32/module.c | 13 | ||||
-rw-r--r-- | arch/arm/lib32/semihosting-trap.S | 14 | ||||
-rw-r--r-- | arch/arm/lib32/semihosting.c | 17 |
16 files changed, 60 insertions, 155 deletions
diff --git a/arch/arm/lib32/armlinux.c b/arch/arm/lib32/armlinux.c index 1cb9fd2e51..6cb7d4b5f3 100644 --- a/arch/arm/lib32/armlinux.c +++ b/arch/arm/lib32/armlinux.c @@ -1,20 +1,6 @@ -/* - * (C) Copyright 2002 - * Sysgo Real-Time Solutions, GmbH <www.elinos.com> - * Marius Groeger <mgroeger@sysgo.de> - * - * Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2002 Sysgo Real-Time Solutions GmbH (http://www.elinos.com, Marius Groeger <mgroeger@sysgo.de>) +// SPDX-FileCopyrightText: 2001 Erik Mouw <J.A.K.Mouw@its.tudelft.nl> #include <boot.h> #include <common.h> diff --git a/arch/arm/lib32/barebox.lds.S b/arch/arm/lib32/barebox.lds.S index 54d9b3e381..77a5c525c5 100644 --- a/arch/arm/lib32/barebox.lds.S +++ b/arch/arm/lib32/barebox.lds.S @@ -1,19 +1,5 @@ -/* - * (C) Copyright 2000-2004 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * - */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* SPDX-FileCopyrightText: 2000-2004 Wolfgang Denk <wd@denx.de>, DENX Software Engineering */ #include <asm-generic/barebox.lds.h> #include <asm/secure.h> diff --git a/arch/arm/lib32/copy_template.S b/arch/arm/lib32/copy_template.S index d8eb06328a..f66cd6e667 100644 --- a/arch/arm/lib32/copy_template.S +++ b/arch/arm/lib32/copy_template.S @@ -1,15 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2005 MontaVista Software, Inc (Nicolas Pitre) + /* - * linux/arch/arm/lib/copy_template.s - * - * Code template for optimized memory copy functions - * - * Author: Nicolas Pitre - * Created: Sep 28, 2005 - * Copyright: MontaVista Software, Inc. + * linux/arch/arm/lib/copy_template.s * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * Code template for optimized memory copy functions */ /* diff --git a/arch/arm/lib32/div0.c b/arch/arm/lib32/div0.c index 46f6452419..56ecba750c 100644 --- a/arch/arm/lib32/div0.c +++ b/arch/arm/lib32/div0.c @@ -1,18 +1,6 @@ -/* - * (C) Copyright 2002 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2002 Wolfgang Denk <wd@denx.de>, DENX Software Engineering + #include <common.h> extern void __div0(void); diff --git a/arch/arm/lib32/findbit.S b/arch/arm/lib32/findbit.S index ef4caff1ad..82a0f34dc2 100644 --- a/arch/arm/lib32/findbit.S +++ b/arch/arm/lib32/findbit.S @@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* * Originally from Linux kernel * arch/arm/lib/findbit.S * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * * 16th March 2001 - John Ripley <jripley@sonicblue.com> * Fixed so that "size" is an exclusive not an inclusive quantity. * All users of these functions expect exclusive sizes, and may diff --git a/arch/arm/lib32/io-readsb.S b/arch/arm/lib32/io-readsb.S index 963c455175..f853c48021 100644 --- a/arch/arm/lib32/io-readsb.S +++ b/arch/arm/lib32/io-readsb.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* * linux/arch/arm/lib/io-readsb.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/io-readsl.S b/arch/arm/lib32/io-readsl.S index 47a29744e9..bb8b96ded0 100644 --- a/arch/arm/lib32/io-readsl.S +++ b/arch/arm/lib32/io-readsl.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* - * linux/arch/arm/lib/io-readsl.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/lib/io-readsl.S */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/io-readsw-armv4.S b/arch/arm/lib32/io-readsw-armv4.S index f5b34a3479..25f2778860 100644 --- a/arch/arm/lib32/io-readsw-armv4.S +++ b/arch/arm/lib32/io-readsw-armv4.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* - * linux/arch/arm/lib/io-readsw-armv4.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/lib/io-readsw-armv4.S */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/io-writesb.S b/arch/arm/lib32/io-writesb.S index 1ab8e47cb4..313839bff6 100644 --- a/arch/arm/lib32/io-writesb.S +++ b/arch/arm/lib32/io-writesb.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* - * linux/arch/arm/lib/io-writesb.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/lib/io-writesb.S */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/io-writesl.S b/arch/arm/lib32/io-writesl.S index 8a3bcd6456..d9a29d9153 100644 --- a/arch/arm/lib32/io-writesl.S +++ b/arch/arm/lib32/io-writesl.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* - * linux/arch/arm/lib/io-writesl.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/lib/io-writesl.S */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/io-writesw-armv4.S b/arch/arm/lib32/io-writesw-armv4.S index 9e8308dd77..5cfa74356c 100644 --- a/arch/arm/lib32/io-writesw-armv4.S +++ b/arch/arm/lib32/io-writesw-armv4.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* - * linux/arch/arm/lib/io-writesw-armv4.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/lib/io-writesw-armv4.S */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/memcpy.S b/arch/arm/lib32/memcpy.S index 0fcdaa88e6..d40296e4bf 100644 --- a/arch/arm/lib32/memcpy.S +++ b/arch/arm/lib32/memcpy.S @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2005 MontaVista Software, Inc (Nicolas Pitre) + /* - * linux/arch/arm/lib/memcpy.S - * - * Author: Nicolas Pitre - * Created: Sep 28, 2005 - * Copyright: MontaVista Software, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/lib/memcpy.S */ #include <linux/linkage.h> diff --git a/arch/arm/lib32/memset.S b/arch/arm/lib32/memset.S index 6079dd89f6..4ba74e0c6c 100644 --- a/arch/arm/lib32/memset.S +++ b/arch/arm/lib32/memset.S @@ -1,13 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 1995-2000 Russell King */ + /* - * linux/arch/arm/lib/memset.S - * - * Copyright (C) 1995-2000 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * ASM optimised string functions + * linux/arch/arm/lib/memset.S + * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> diff --git a/arch/arm/lib32/module.c b/arch/arm/lib32/module.c index 3ded9896b7..5073675180 100644 --- a/arch/arm/lib32/module.c +++ b/arch/arm/lib32/module.c @@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2002 Russell King + /* - * linux/arch/arm/kernel/module.c - * - * Copyright (C) 2002 Russell King. - * Modified for nommu by Hyok S. Choi - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * linux/arch/arm/kernel/module.c * + * Modified for nommu by Hyok S. Choi * Module allocation method suggested by Andi Kleen. */ diff --git a/arch/arm/lib32/semihosting-trap.S b/arch/arm/lib32/semihosting-trap.S index 9e40ebfe21..f7960d7cea 100644 --- a/arch/arm/lib32/semihosting-trap.S +++ b/arch/arm/lib32/semihosting-trap.S @@ -1,18 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2015 Zodiac Inflight Innovations */ + /* * semihosting-trap.S -- Assembly code needed to make a semihosting call * - * Copyright (c) 2015 Zodiac Inflight Innovations * Author: Andrey Smirnov <andrew.smirnov@gmail.com> - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include <linux/linkage.h> diff --git a/arch/arm/lib32/semihosting.c b/arch/arm/lib32/semihosting.c index 9fc3b6b62c..57b412e08d 100644 --- a/arch/arm/lib32/semihosting.c +++ b/arch/arm/lib32/semihosting.c @@ -1,21 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2015 Zodiac Inflight Innovations +// SPDX-FileCopyrightText: 2014 Broadcom Corporation + /* * semihosting.c -- ARM Semihoting API implementation * - * Copyright (c) 2015 Zodiac Inflight Innovations * Author: Andrey Smirnov <andrew.smirnov@gmail.com> - * * based on a smiliar code from U-Boot - * Copyright (c) 2014 Broadcom Corporation - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include <common.h> |