From 01d22874c2886f88772be7e22136f827f571b788 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 11 Mar 2025 17:43:29 -0500 Subject: [PATCH] cpukit/.../include/rtems/score/riscv-utility.h: Correct license This file was taken from BSD by Hesham Almatary. Even though he left the original BSD license in place, he added the RTEMS historical license. Hesham has given permission to relicense his work under 2-BSD and this file never should have had the RTEMS historical license on it anyway. Update #3053. --- .../riscv/include/rtems/score/riscv-utility.h | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h b/cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h index 1cfcf8dbad..1949afe954 100644 --- a/cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h +++ b/cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h @@ -1,6 +1,11 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* Copyright (c) 2013, The Regents of the University of California (Regents). * All Rights Reserved. * + * Modifications for RTEMS + * COPYRIGHT (c) 2015 Hesham Almatary + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright @@ -26,21 +31,13 @@ */ /** - * @file - * - * @brief RISCV utility - */ -/* - * COPYRIGHT (c) 2015 Hesham Almatary + * @file * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. + * @brief RISCV utility + * This file is copied from riscv-tools/encoding.h with + * additions/modifications to work with RTEMS. */ -/* This file is copied from riscv-tools/encoding.h with additions/modifications to work - * with RTEMS. - */ #ifndef _RTEMS_SCORE_RISCV_UTILITY_H #define _RTEMS_SCORE_RISCV_UTILITY_H