From a42fc267660e2e56ddfc1f37cd2afb3b02eb1244 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Wed, 1 Oct 2025 18:44:12 +0200 Subject: [PATCH] cpu/sam: move licenses to SPDX format --- cpu/sam3/Kconfig | 8 ++------ cpu/sam3/cpu.c | 7 ++----- cpu/sam3/include/periph_cpu.h | 9 +++------ cpu/sam3/periph/adc.c | 7 ++----- cpu/sam3/periph/cpuid.c | 7 ++----- cpu/sam3/periph/dac.c | 7 ++----- cpu/sam3/periph/hwrng.c | 7 ++----- cpu/sam3/periph/pwm.c | 9 +++------ cpu/sam3/periph/rtt.c | 7 ++----- cpu/sam3/periph/spi.c | 11 ++++------- cpu/sam3/vectors.c | 7 ++----- cpu/sam4s/Kconfig | 8 ++------ cpu/sam4s/cpu.c | 7 ++----- cpu/sam4s/include/periph_cpu.h | 7 ++----- cpu/sam4s/vectors.c | 7 ++----- cpu/sam_common/include/cpu_conf.h | 7 ++----- cpu/sam_common/include/periph_cpu_common.h | 7 ++----- cpu/sam_common/periph/gpio.c | 11 ++++------- cpu/sam_common/periph/timer.c | 7 ++----- cpu/sam_common/periph/uart.c | 7 ++----- cpu/samd21/Kconfig | 8 ++------ cpu/samd21/cpu.c | 7 ++----- cpu/samd21/include/periph_cpu.h | 7 ++----- cpu/samd21/periph/pm.c | 11 ++++------- cpu/samd21/vectors/vectors_samd1x.c | 7 ++----- cpu/samd21/vectors/vectors_samd2x.c | 7 ++----- cpu/samd5x/Kconfig | 8 ++------ cpu/samd5x/cpu.c | 7 ++----- cpu/samd5x/include/can_params.h | 7 ++----- cpu/samd5x/include/candev_samd5x.h | 7 ++----- cpu/samd5x/include/periph_cpu.h | 7 ++----- cpu/samd5x/periph/can.c | 7 ++----- cpu/samd5x/periph/pm.c | 7 ++----- cpu/samd5x/vectors.c | 7 ++----- cpu/saml1x/Kconfig | 8 ++------ cpu/saml1x/cpu.c | 7 ++----- cpu/saml1x/include/periph_cpu.h | 7 ++----- cpu/saml1x/periph/pm.c | 7 ++----- cpu/saml1x/vectors.c | 8 ++------ cpu/saml21/Kconfig | 8 ++------ cpu/saml21/cpu.c | 9 +++------ cpu/saml21/include/periph_cpu.h | 7 ++----- cpu/saml21/periph/pm.c | 7 ++----- cpu/saml21/vectors.c | 11 ++++------- 44 files changed, 99 insertions(+), 238 deletions(-) diff --git a/cpu/sam3/Kconfig b/cpu/sam3/Kconfig index 3f3694128e..95300a2d44 100644 --- a/cpu/sam3/Kconfig +++ b/cpu/sam3/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_FAM_SAM3 bool diff --git a/cpu/sam3/cpu.c b/cpu/sam3/cpu.c index 300ba86e1a..9bdbf8b0fa 100644 --- a/cpu/sam3/cpu.c +++ b/cpu/sam3/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2016 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-2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam3/include/periph_cpu.h b/cpu/sam3/include/periph_cpu.h index b8026be375..83aff67f03 100644 --- a/cpu/sam3/include/periph_cpu.h +++ b/cpu/sam3/include/periph_cpu.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2015 Freie Universität Berlin - * 2015 Hamburg University of Applied Sciences - * - * 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: 2015 Freie Universität Berlin + * SPDX-FileCopyrightText: 2015 Hamburg University of Applied Sciences + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/sam3/periph/adc.c b/cpu/sam3/periph/adc.c index ad74482c48..4f1c505f74 100644 --- a/cpu/sam3/periph/adc.c +++ b/cpu/sam3/periph/adc.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/sam3/periph/cpuid.c b/cpu/sam3/periph/cpuid.c index c0e07b3e21..ca48c9da44 100644 --- a/cpu/sam3/periph/cpuid.c +++ b/cpu/sam3/periph/cpuid.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 - * - * 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: 2015 + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam3/periph/dac.c b/cpu/sam3/periph/dac.c index 418156ad48..62fe0598ab 100644 --- a/cpu/sam3/periph/dac.c +++ b/cpu/sam3/periph/dac.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/sam3/periph/hwrng.c b/cpu/sam3/periph/hwrng.c index df65d80cef..e4f163a143 100644 --- a/cpu/sam3/periph/hwrng.c +++ b/cpu/sam3/periph/hwrng.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2016 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-2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam3/periph/pwm.c b/cpu/sam3/periph/pwm.c index 127c5e11ab..799e7d7723 100644 --- a/cpu/sam3/periph/pwm.c +++ b/cpu/sam3/periph/pwm.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2015 Hamburg University of Applied Sciences - * 2016 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: 2015 Hamburg University of Applied Sciences + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam3/periph/rtt.c b/cpu/sam3/periph/rtt.c index 7cefa4f210..c78de5c3ad 100644 --- a/cpu/sam3/periph/rtt.c +++ b/cpu/sam3/periph/rtt.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017,2020 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, 2020 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam3/periph/spi.c b/cpu/sam3/periph/spi.c index f7c56afd80..4276527943 100644 --- a/cpu/sam3/periph/spi.c +++ b/cpu/sam3/periph/spi.c @@ -1,11 +1,8 @@ /* -* Copyright (C) 2014 Hamburg University of Applied Sciences -* 2016-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: 2014 Hamburg University of Applied Sciences + * SPDX-FileCopyrightText: 2016-2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only + */ /** * @ingroup cpu_sam3 diff --git a/cpu/sam3/vectors.c b/cpu/sam3/vectors.c index 6c38e400cc..0bc27df438 100644 --- a/cpu/sam3/vectors.c +++ b/cpu/sam3/vectors.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2015 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-2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam4s/Kconfig b/cpu/sam4s/Kconfig index d1adc8d5c5..c373576382 100644 --- a/cpu/sam4s/Kconfig +++ b/cpu/sam4s/Kconfig @@ -1,9 +1,5 @@ -# Copyright (c) 2025 Mesotic SAS -# -# 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: 2025 Mesotic SAS +# SPDX-License-Identifier: LGPL-2.1-only config CPU_FAM_SAM4S bool diff --git a/cpu/sam4s/cpu.c b/cpu/sam4s/cpu.c index 49973d3eee..2154230649 100644 --- a/cpu/sam4s/cpu.c +++ b/cpu/sam4s/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 Mesotic SAS - * - * 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: 2025 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam4s/include/periph_cpu.h b/cpu/sam4s/include/periph_cpu.h index 9e52432bd7..a1243bca66 100644 --- a/cpu/sam4s/include/periph_cpu.h +++ b/cpu/sam4s/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 Mesotic SAS - * - * 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: 2025 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/sam4s/vectors.c b/cpu/sam4s/vectors.c index 9381f9ae09..baa9d637c6 100644 --- a/cpu/sam4s/vectors.c +++ b/cpu/sam4s/vectors.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 Mesotic SAS - * - * 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: 2025 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam_common/include/cpu_conf.h b/cpu/sam_common/include/cpu_conf.h index 4e599a4fe9..b4c37b5069 100644 --- a/cpu/sam_common/include/cpu_conf.h +++ b/cpu/sam_common/include/cpu_conf.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 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: 2017 HAW Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/sam_common/include/periph_cpu_common.h b/cpu/sam_common/include/periph_cpu_common.h index a62ea993f4..8b06b8e318 100644 --- a/cpu/sam_common/include/periph_cpu_common.h +++ b/cpu/sam_common/include/periph_cpu_common.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 Mesotic SAS - * - * 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: 2025 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/sam_common/periph/gpio.c b/cpu/sam_common/periph/gpio.c index e69aafce1f..449558773e 100644 --- a/cpu/sam_common/periph/gpio.c +++ b/cpu/sam_common/periph/gpio.c @@ -1,11 +1,8 @@ /* - * Copyright (C) 2014 Hauke Petersen - * 2015 Hamburg University of Applied Sciences - * 2015 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 Hauke Petersen + * SPDX-FileCopyrightText: 2015 Hamburg University of Applied Sciences + * SPDX-FileCopyrightText: 2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam_common/periph/timer.c b/cpu/sam_common/periph/timer.c index 8012fe3b4c..b1edfa8c97 100644 --- a/cpu/sam_common/periph/timer.c +++ b/cpu/sam_common/periph/timer.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2016 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-2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/sam_common/periph/uart.c b/cpu/sam_common/periph/uart.c index eb9e53409f..2234fc0419 100644 --- a/cpu/sam_common/periph/uart.c +++ b/cpu/sam_common/periph/uart.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2015 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-2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd21/Kconfig b/cpu/samd21/Kconfig index a8acc7b72a..acc85269b2 100644 --- a/cpu/samd21/Kconfig +++ b/cpu/samd21/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_COMMON_SAMD21 bool diff --git a/cpu/samd21/cpu.c b/cpu/samd21/cpu.c index 3b5cb3b8d3..badeedbdd2 100644 --- a/cpu/samd21/cpu.c +++ b/cpu/samd21/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 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: 2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd21/include/periph_cpu.h b/cpu/samd21/include/periph_cpu.h index 8910320e28..bc9cf9d7f1 100644 --- a/cpu/samd21/include/periph_cpu.h +++ b/cpu/samd21/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015-2016 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: 2015-2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/samd21/periph/pm.c b/cpu/samd21/periph/pm.c index 2d310db0c2..109d7f3382 100644 --- a/cpu/samd21/periph/pm.c +++ b/cpu/samd21/periph/pm.c @@ -1,11 +1,8 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * Copyright (C) 2014 Freie Universität Berlin - * Copyright (C) 2015 Saurabh Singh - * - * 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: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-FileCopyrightText: 2015 Saurabh Singh + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd21/vectors/vectors_samd1x.c b/cpu/samd21/vectors/vectors_samd1x.c index 86b052f72b..fe776500a3 100644 --- a/cpu/samd21/vectors/vectors_samd1x.c +++ b/cpu/samd21/vectors/vectors_samd1x.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 ML!PA Consulting GmbH - * - * 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 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd21/vectors/vectors_samd2x.c b/cpu/samd21/vectors/vectors_samd2x.c index 9fd3a44dea..8c4084b85c 100644 --- a/cpu/samd21/vectors/vectors_samd2x.c +++ b/cpu/samd21/vectors/vectors_samd2x.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2015 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-2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd5x/Kconfig b/cpu/samd5x/Kconfig index fe6c99ecef..a0b191d19d 100644 --- a/cpu/samd5x/Kconfig +++ b/cpu/samd5x/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_COMMON_SAMD5X bool diff --git a/cpu/samd5x/cpu.c b/cpu/samd5x/cpu.c index 6baf23f859..379471251f 100644 --- a/cpu/samd5x/cpu.c +++ b/cpu/samd5x/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 ML!PA Consulting GmbH - * - * 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: 2019 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd5x/include/can_params.h b/cpu/samd5x/include/can_params.h index a8a6d13a25..4fe2e37a1d 100644 --- a/cpu/samd5x/include/can_params.h +++ b/cpu/samd5x/include/can_params.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2024 ML!PA Consulting GmbH - * - * 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: 2024 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/samd5x/include/candev_samd5x.h b/cpu/samd5x/include/candev_samd5x.h index 2b2459de85..7537973f8d 100644 --- a/cpu/samd5x/include/candev_samd5x.h +++ b/cpu/samd5x/include/candev_samd5x.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2024 ML!PA Consulting GmbH - * - * 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: 2024 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/samd5x/include/periph_cpu.h b/cpu/samd5x/include/periph_cpu.h index eb83e49095..429ae229ea 100644 --- a/cpu/samd5x/include/periph_cpu.h +++ b/cpu/samd5x/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 ML!PA Consulting GmbH - * - * 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: 2019 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/samd5x/periph/can.c b/cpu/samd5x/periph/can.c index 884d2e1145..8dbe3e31d4 100644 --- a/cpu/samd5x/periph/can.c +++ b/cpu/samd5x/periph/can.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 ML!PA Consulting GmbH - * - * 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 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd5x/periph/pm.c b/cpu/samd5x/periph/pm.c index 130534830f..5cb9d7320f 100644 --- a/cpu/samd5x/periph/pm.c +++ b/cpu/samd5x/periph/pm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 ML!PA Consulting GmbH - * - * 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: 2019 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/samd5x/vectors.c b/cpu/samd5x/vectors.c index ad62d8be4d..426acc9e73 100644 --- a/cpu/samd5x/vectors.c +++ b/cpu/samd5x/vectors.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 ML!PA Consulting GmbH - * - * 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: 2019 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/saml1x/Kconfig b/cpu/saml1x/Kconfig index 4c939d3476..033ca32900 100644 --- a/cpu/saml1x/Kconfig +++ b/cpu/saml1x/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_COMMON_SAML1X bool diff --git a/cpu/saml1x/cpu.c b/cpu/saml1x/cpu.c index e1258415fc..6200abbdd1 100644 --- a/cpu/saml1x/cpu.c +++ b/cpu/saml1x/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2018 Mesotic SAS - * - * 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: 2018 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/saml1x/include/periph_cpu.h b/cpu/saml1x/include/periph_cpu.h index c6634bfac4..e982b34bdc 100644 --- a/cpu/saml1x/include/periph_cpu.h +++ b/cpu/saml1x/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2018 Mesotic SAS - * - * 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: 2018 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/saml1x/periph/pm.c b/cpu/saml1x/periph/pm.c index c7b01415c0..6d9982301c 100644 --- a/cpu/saml1x/periph/pm.c +++ b/cpu/saml1x/periph/pm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 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: 2017 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/saml1x/vectors.c b/cpu/saml1x/vectors.c index 7e4e93ee21..d2731c3c51 100644 --- a/cpu/saml1x/vectors.c +++ b/cpu/saml1x/vectors.c @@ -1,10 +1,6 @@ /* - * Copyright (C) 2018 Mesotic SAS - * - * - * 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: 2018 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/saml21/Kconfig b/cpu/saml21/Kconfig index 80511309d8..9bdd3d0000 100644 --- a/cpu/saml21/Kconfig +++ b/cpu/saml21/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_COMMON_SAML21 bool diff --git a/cpu/saml21/cpu.c b/cpu/saml21/cpu.c index 06d9721b70..d6005d9935 100644 --- a/cpu/saml21/cpu.c +++ b/cpu/saml21/cpu.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * 2015 FreshTemp, LLC. - * - * 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: 2015 Kaspar Schleiser + * SPDX-FileCopyrightText: 2015 FreshTemp, LLC. + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/saml21/include/periph_cpu.h b/cpu/saml21/include/periph_cpu.h index 85b53332d5..66c1440a7a 100644 --- a/cpu/saml21/include/periph_cpu.h +++ b/cpu/saml21/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015-2016 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: 2015-2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/saml21/periph/pm.c b/cpu/saml21/periph/pm.c index 3747a0b78e..67f953e51e 100644 --- a/cpu/saml21/periph/pm.c +++ b/cpu/saml21/periph/pm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 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: 2017 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/saml21/vectors.c b/cpu/saml21/vectors.c index 8861300d33..edcce3595c 100644 --- a/cpu/saml21/vectors.c +++ b/cpu/saml21/vectors.c @@ -1,11 +1,8 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * 2015 FreshTemp, LLC. - * 2014-2015 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: 2015 Kaspar Schleiser + * SPDX-FileCopyrightText: 2015 FreshTemp, LLC. + * SPDX-FileCopyrightText: 2014-2015 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /**