From f97d7dc9d844f67de93a948e37a8ffe04c2937ad Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Thu, 4 Sep 2025 17:59:12 +0200 Subject: [PATCH] cpu/arm: move licenses to SPDX format --- cpu/arm7_common/Kconfig | 8 ++------ cpu/arm7_common/arm7_init.c | 7 ++----- cpu/arm7_common/arm_cpu.c | 15 ++++++--------- cpu/arm7_common/include/VIC.h | 8 +++----- cpu/arm7_common/include/architecture_arch.h | 7 ++----- cpu/arm7_common/include/arm7_common.h | 8 +++----- cpu/arm7_common/include/arm_cpu.h | 7 ++----- cpu/arm7_common/include/atomic_utils_arch.h | 7 ++----- cpu/arm7_common/include/iap.h | 7 ++----- cpu/arm7_common/include/irq_arch.h | 7 ++----- cpu/arm7_common/include/thread_arch.h | 9 +++------ cpu/arm7_common/periph/pm.c | 7 ++----- cpu/arm7_common/vectors.c | 7 ++----- cpu/arm7tdmi_gba/cpu.c | 7 ++----- cpu/arm7tdmi_gba/include/cpu.h | 7 ++----- cpu/arm7tdmi_gba/include/cpu_conf.h | 7 ++----- cpu/arm7tdmi_gba/include/periph_cpu.h | 7 ++----- cpu/arm7tdmi_gba/stdio_fb/stdio_fb.c | 7 ++----- 18 files changed, 43 insertions(+), 96 deletions(-) diff --git a/cpu/arm7_common/Kconfig b/cpu/arm7_common/Kconfig index 3b7bf79e26..03617abc2b 100644 --- a/cpu/arm7_common/Kconfig +++ b/cpu/arm7_common/Kconfig @@ -1,9 +1,5 @@ -# Copyright (c) 2020 HAW Hamburg -# -# This file is subject to the terms and conditions of the GNU Lesser -# General Public License v2.1. See the file LICENSE in the top level -# directory for more details. -# +# SPDX-FileCopyrightText: 2020 HAW Hamburg +# SPDX-License-Identifier: LGPL-2.1-only config CPU_ARCH_ARMV4T bool diff --git a/cpu/arm7_common/arm7_init.c b/cpu/arm7_common/arm7_init.c index ed8f1e842c..2641ad387a 100644 --- a/cpu/arm7_common/arm7_init.c +++ b/cpu/arm7_common/arm7_init.c @@ -1,9 +1,6 @@ /* - * Copyright 2008-2009, Freie Universitaet Berlin (FUB). All rights reserved. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2008-2009 Freie Universitaet Berlin (FUB) + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/arm7_common/arm_cpu.c b/cpu/arm7_common/arm_cpu.c index 1634349956..7663dc071d 100644 --- a/cpu/arm7_common/arm_cpu.c +++ b/cpu/arm7_common/arm_cpu.c @@ -1,13 +1,10 @@ +/* + * SPDX-FileCopyrightText: 2008-2009 Heiko Will + * SPDX-FileCopyrightText: 2009 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only + */ + /** - * ARM architecture common support functions - * - * Copyright (C) 2008, 2009 Heiko Will - * Copyright (C) 2009 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - * * @ingroup cpu_arm7_common * @{ * @file diff --git a/cpu/arm7_common/include/VIC.h b/cpu/arm7_common/include/VIC.h index c98f4f0f11..3eb7b8a4f9 100644 --- a/cpu/arm7_common/include/VIC.h +++ b/cpu/arm7_common/include/VIC.h @@ -1,8 +1,6 @@ -/* Copyright (C) 2005, 2006, 2007, 2008 by Thomas Hillebrandt and Heiko Will - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - * +/* + * SPDX-FileCopyrightText: 2005-2008 by Thomas Hillebrandt and Heiko Will + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/architecture_arch.h b/cpu/arm7_common/include/architecture_arch.h index 2b66dff64f..9e703c4770 100644 --- a/cpu/arm7_common/include/architecture_arch.h +++ b/cpu/arm7_common/include/architecture_arch.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2020 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/arm7_common.h b/cpu/arm7_common/include/arm7_common.h index 32470aae42..4ebae6b58c 100644 --- a/cpu/arm7_common/include/arm7_common.h +++ b/cpu/arm7_common/include/arm7_common.h @@ -1,9 +1,7 @@ /* - * Copyright (C) 2008-2009, 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for - * more details. + * SPDX-FileCopyrightText: 2008-2009 Freie Universität Berlin + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/arm_cpu.h b/cpu/arm7_common/include/arm_cpu.h index 1e1005e33c..844feaab6a 100644 --- a/cpu/arm7_common/include/arm_cpu.h +++ b/cpu/arm7_common/include/arm_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/atomic_utils_arch.h b/cpu/arm7_common/include/atomic_utils_arch.h index f29f19af81..a0183b25e5 100644 --- a/cpu/arm7_common/include/atomic_utils_arch.h +++ b/cpu/arm7_common/include/atomic_utils_arch.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2020 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/iap.h b/cpu/arm7_common/include/iap.h index 11f27cae2f..a323ec64d1 100644 --- a/cpu/arm7_common/include/iap.h +++ b/cpu/arm7_common/include/iap.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/irq_arch.h b/cpu/arm7_common/include/irq_arch.h index 833cb2525c..0d4f50279e 100644 --- a/cpu/arm7_common/include/irq_arch.h +++ b/cpu/arm7_common/include/irq_arch.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2005, 2006, 2007, 2008 by Thomas Hillebrandt and Heiko Will - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2005-2008 by Thomas Hillebrandt and Heiko Will + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/include/thread_arch.h b/cpu/arm7_common/include/thread_arch.h index 676062fff3..c7def38099 100644 --- a/cpu/arm7_common/include/thread_arch.h +++ b/cpu/arm7_common/include/thread_arch.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2008, 2009 Heiko Will - * Copyright (C) 2009 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2008-2009 Heiko Will + * SPDX-FileCopyrightText: 2009 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7_common/periph/pm.c b/cpu/arm7_common/periph/pm.c index 6ebfb4efa3..70756a9cd4 100644 --- a/cpu/arm7_common/periph/pm.c +++ b/cpu/arm7_common/periph/pm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/arm7_common/vectors.c b/cpu/arm7_common/vectors.c index 23937bca82..f97e7fd804 100644 --- a/cpu/arm7_common/vectors.c +++ b/cpu/arm7_common/vectors.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2008-2009, Freie Universität Berlin (FUB). All rights reserved. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2008-2009 Freie Universität Berlin (FUB) + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/arm7tdmi_gba/cpu.c b/cpu/arm7tdmi_gba/cpu.c index 98aa3b0b85..c8f478f4b0 100644 --- a/cpu/arm7tdmi_gba/cpu.c +++ b/cpu/arm7tdmi_gba/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 HAW Hamburg. All rights reserved. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 HAW Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/arm7tdmi_gba/include/cpu.h b/cpu/arm7tdmi_gba/include/cpu.h index 7e344ec1a4..e684526c13 100644 --- a/cpu/arm7tdmi_gba/include/cpu.h +++ b/cpu/arm7tdmi_gba/include/cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 HAW Hamburg. All rights reserved. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 HAW Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7tdmi_gba/include/cpu_conf.h b/cpu/arm7tdmi_gba/include/cpu_conf.h index 2954aa686f..9726b9cb13 100644 --- a/cpu/arm7tdmi_gba/include/cpu_conf.h +++ b/cpu/arm7tdmi_gba/include/cpu_conf.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 HAW Hamburg. All rights reserved. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 HAW Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7tdmi_gba/include/periph_cpu.h b/cpu/arm7tdmi_gba/include/periph_cpu.h index 57eb37bc1f..b85d3fa8f4 100644 --- a/cpu/arm7tdmi_gba/include/periph_cpu.h +++ b/cpu/arm7tdmi_gba/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 HAW Hamburg. All rights reserved. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 HAW Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/arm7tdmi_gba/stdio_fb/stdio_fb.c b/cpu/arm7tdmi_gba/stdio_fb/stdio_fb.c index f4674fba16..bc53de9551 100644 --- a/cpu/arm7tdmi_gba/stdio_fb/stdio_fb.c +++ b/cpu/arm7tdmi_gba/stdio_fb/stdio_fb.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Bennet Blischke - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 Bennet Blischke + * SPDX-License-Identifier: LGPL-2.1-only */ /**