From f2bc3c884d7dff96b4e09ead072b7b8665cd4db7 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Fri, 26 Sep 2025 20:56:20 +0200 Subject: [PATCH] cpu/rpx0xx: move licenses to SPDX format --- cpu/rpx0xx/Kconfig | 8 ++------ cpu/rpx0xx/clock.c | 7 ++----- cpu/rpx0xx/cpu.c | 7 ++----- cpu/rpx0xx/include/cpu_conf.h | 7 ++----- cpu/rpx0xx/include/io_reg.h | 7 ++----- cpu/rpx0xx/include/periph_cpu.h | 7 ++----- cpu/rpx0xx/include/pio/pio.h | 7 ++----- cpu/rpx0xx/periph/adc.c | 7 ++----- cpu/rpx0xx/periph/gpio.c | 7 ++----- cpu/rpx0xx/periph/i2c.c | 7 ++----- cpu/rpx0xx/periph/pio.c | 7 ++----- cpu/rpx0xx/periph/pwm.c | 7 ++----- cpu/rpx0xx/periph/spi.c | 7 ++----- cpu/rpx0xx/periph/timer.c | 7 ++----- cpu/rpx0xx/periph/uart.c | 9 +++------ cpu/rpx0xx/pio/i2c/i2c.c | 7 ++----- cpu/rpx0xx/pll.c | 7 ++----- cpu/rpx0xx/rosc.c | 7 ++----- cpu/rpx0xx/vectors.c | 7 ++----- cpu/rpx0xx/xosc.c | 7 ++----- 20 files changed, 41 insertions(+), 102 deletions(-) diff --git a/cpu/rpx0xx/Kconfig b/cpu/rpx0xx/Kconfig index 7030b50ef1..c25486d0e8 100644 --- a/cpu/rpx0xx/Kconfig +++ b/cpu/rpx0xx/Kconfig @@ -1,9 +1,5 @@ -# Copyright (C) 2021 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: 2021 Otto-von-Guericke-Universität Magdeburg +# SPDX-License-Identifier: LGPL-2.1-only config CPU_FAM_RPX0XX bool diff --git a/cpu/rpx0xx/clock.c b/cpu/rpx0xx/clock.c index 3af4252951..1952fab838 100644 --- a/cpu/rpx0xx/clock.c +++ b/cpu/rpx0xx/clock.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/cpu.c b/cpu/rpx0xx/cpu.c index 6fa88532d5..c6c38f600e 100644 --- a/cpu/rpx0xx/cpu.c +++ b/cpu/rpx0xx/cpu.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/include/cpu_conf.h b/cpu/rpx0xx/include/cpu_conf.h index 5d85e5440a..2e065dca11 100644 --- a/cpu/rpx0xx/include/cpu_conf.h +++ b/cpu/rpx0xx/include/cpu_conf.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/rpx0xx/include/io_reg.h b/cpu/rpx0xx/include/io_reg.h index 374dd954e1..4c7870e12b 100644 --- a/cpu/rpx0xx/include/io_reg.h +++ b/cpu/rpx0xx/include/io_reg.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/rpx0xx/include/periph_cpu.h b/cpu/rpx0xx/include/periph_cpu.h index d003ef9476..1c889cb409 100644 --- a/cpu/rpx0xx/include/periph_cpu.h +++ b/cpu/rpx0xx/include/periph_cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/rpx0xx/include/pio/pio.h b/cpu/rpx0xx/include/pio/pio.h index 5625b0d879..2d3f76d5be 100644 --- a/cpu/rpx0xx/include/pio/pio.h +++ b/cpu/rpx0xx/include/pio/pio.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/rpx0xx/periph/adc.c b/cpu/rpx0xx/periph/adc.c index 68eebac190..bc4940e1f5 100644 --- a/cpu/rpx0xx/periph/adc.c +++ b/cpu/rpx0xx/periph/adc.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 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: 2023 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/gpio.c b/cpu/rpx0xx/periph/gpio.c index 859947e120..1164ba6ee4 100644 --- a/cpu/rpx0xx/periph/gpio.c +++ b/cpu/rpx0xx/periph/gpio.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/i2c.c b/cpu/rpx0xx/periph/i2c.c index 754611b0cb..172a392e66 100644 --- a/cpu/rpx0xx/periph/i2c.c +++ b/cpu/rpx0xx/periph/i2c.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/pio.c b/cpu/rpx0xx/periph/pio.c index b21cea7304..febd41fe47 100644 --- a/cpu/rpx0xx/periph/pio.c +++ b/cpu/rpx0xx/periph/pio.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/pwm.c b/cpu/rpx0xx/periph/pwm.c index 6c6579d5b7..be898d15ca 100644 --- a/cpu/rpx0xx/periph/pwm.c +++ b/cpu/rpx0xx/periph/pwm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023-2024 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: 2023-2024 Mesotic SAS + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/spi.c b/cpu/rpx0xx/periph/spi.c index da174a9185..1db3468180 100644 --- a/cpu/rpx0xx/periph/spi.c +++ b/cpu/rpx0xx/periph/spi.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Frank Engelhardt - * - * 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 Frank Engelhardt + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/timer.c b/cpu/rpx0xx/periph/timer.c index cbf89763b1..f05dac6799 100644 --- a/cpu/rpx0xx/periph/timer.c +++ b/cpu/rpx0xx/periph/timer.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/periph/uart.c b/cpu/rpx0xx/periph/uart.c index dc9462aebf..298b54ac0e 100644 --- a/cpu/rpx0xx/periph/uart.c +++ b/cpu/rpx0xx/periph/uart.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2021 Nick Weiler, Justus Krebs, Franz Freitag - * Copyright (C) 2021 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: 2021 Nick Weiler, Justus Krebs, Franz Freitag + * SPDX-FileCopyrightText: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/pio/i2c/i2c.c b/cpu/rpx0xx/pio/i2c/i2c.c index 10611073ee..cce72b1f2f 100644 --- a/cpu/rpx0xx/pio/i2c/i2c.c +++ b/cpu/rpx0xx/pio/i2c/i2c.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/pll.c b/cpu/rpx0xx/pll.c index 33c9de7a11..48dec5c209 100644 --- a/cpu/rpx0xx/pll.c +++ b/cpu/rpx0xx/pll.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/rosc.c b/cpu/rpx0xx/rosc.c index 77b997d092..14bab9706e 100644 --- a/cpu/rpx0xx/rosc.c +++ b/cpu/rpx0xx/rosc.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/vectors.c b/cpu/rpx0xx/vectors.c index fc8f8b3273..e2739e7669 100644 --- a/cpu/rpx0xx/vectors.c +++ b/cpu/rpx0xx/vectors.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/rpx0xx/xosc.c b/cpu/rpx0xx/xosc.c index ddf522d5ef..5f8bacabf2 100644 --- a/cpu/rpx0xx/xosc.c +++ b/cpu/rpx0xx/xosc.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 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: 2021 Otto-von-Guericke Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /**