From b162f65fb19475d70dc9e871da2c7dc230c551bb Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2025 16:18:43 -0500 Subject: [PATCH] bsps/include: Move SPDX line to top of file The RTEMS Software Engineering Guide specifies that the SPDX license annotation shouldbe the first line of the file and not part of the copyright/license comment block. --- bsps/include/dev/i2c/cadence-i2c-regs.h | 4 ++-- bsps/include/dev/i2c/cadence-i2c.h | 4 ++-- bsps/include/dev/serial/zynq-uart-regs.h | 4 ++-- bsps/include/dev/serial/zynq-uart.h | 4 ++-- bsps/include/peripheral_maps/xilinx_zynqmp.h | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bsps/include/dev/i2c/cadence-i2c-regs.h b/bsps/include/dev/i2c/cadence-i2c-regs.h index 0318b9850a..3e891a1e68 100644 --- a/bsps/include/dev/i2c/cadence-i2c-regs.h +++ b/bsps/include/dev/i2c/cadence-i2c-regs.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2014 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/bsps/include/dev/i2c/cadence-i2c.h b/bsps/include/dev/i2c/cadence-i2c.h index 1aba2b7ad0..7bd6e28b04 100644 --- a/bsps/include/dev/i2c/cadence-i2c.h +++ b/bsps/include/dev/i2c/cadence-i2c.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2014 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/bsps/include/dev/serial/zynq-uart-regs.h b/bsps/include/dev/serial/zynq-uart-regs.h index 36ee774927..8de6d2ea58 100644 --- a/bsps/include/dev/serial/zynq-uart-regs.h +++ b/bsps/include/dev/serial/zynq-uart-regs.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2013 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/bsps/include/dev/serial/zynq-uart.h b/bsps/include/dev/serial/zynq-uart.h index 3a1eff8eff..68d0c5dbd4 100644 --- a/bsps/include/dev/serial/zynq-uart.h +++ b/bsps/include/dev/serial/zynq-uart.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2013, 2024 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/bsps/include/peripheral_maps/xilinx_zynqmp.h b/bsps/include/peripheral_maps/xilinx_zynqmp.h index 9613dcead6..ee7f2d543c 100644 --- a/bsps/include/peripheral_maps/xilinx_zynqmp.h +++ b/bsps/include/peripheral_maps/xilinx_zynqmp.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @ingroup RTEMSBSPsShared @@ -5,8 +7,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2023 Reflex Aerospace GmbH * * Written by Philip Kirkpatrick