From dcab8a9eac0a791ba8c1f082ba13f6ad6dd02d10 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 16 Jan 2026 15:43:29 -0600 Subject: [PATCH] bsps/*: Review of Andy Dachs submissions for relicensing Updates from verifying all of Andy Dachs submissions to see if all had given permission to relicense. Updates #3053. --- bsps/powerpc/include/mpc8260.h | 85 +++++++++++++---------- bsps/powerpc/mpc8260ads/console/console.c | 23 ++++++ bsps/powerpc/shared/cache/cache.c | 26 ++++++- 3 files changed, 97 insertions(+), 37 deletions(-) diff --git a/bsps/powerpc/include/mpc8260.h b/bsps/powerpc/include/mpc8260.h index 25e1d78be3..2539135a85 100644 --- a/bsps/powerpc/include/mpc8260.h +++ b/bsps/powerpc/include/mpc8260.h @@ -1,41 +1,54 @@ -/* buggy version of CPU */ -#define REV_0_2 +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * @brief MPC8260 PowerQUICC II Hardware Declarations + * + * Motorola MPC8260 Power Quad Integrated Communications Controller + * PowerQUICC II Hardware Declarations + */ /* -************************************************************************** -************************************************************************** -** ** -** MOTOROLA MPC8260 POWER QUAD INTEGRATED COMMUNICATIONS CONTROLLER ** -** POWERQUICC II ** -** ** -** HARDWARE DECLARATIONS ** -** ** -** ** -** Submitted by: ** -** Andy Dachs ** ** -** Surrey Satellite Technology Limited ** ** -** http://www.sstl.co.uk ** ** -** a.dachs@sstl.co.uk ** ** -** ** -** Based on previous submissions for other PPC variants by: ** -** ** -** Submitted By: ** -** ** -** Eric Norum ** -** ** -** Modified for use with the MPC860 (original code was for MC68360) ** -** by ** -** Jay Monkman ** -** Frasca International, Inc. ** -** 906 E. Airport Rd. ** -** Urbana, IL, 61801 ** -** ** -** jmonkman@frasca.com ** -** ** -** ** -************************************************************************** -************************************************************************** -*/ + * Submitted by: + * Andy Dachs + * Surrey Satellite Technology Limited + * http://www.sstl.co.uk + * a.dachs@sstl.co.uk + * + * Based on previous submissions for other PPC variants by: + * Eric Norum + * + * Modified for use with the MPC860 (original code was for MC68360) ** + * by + * Jay Monkman + * Frasca International, Inc. + * 906 E. Airport Rd. + * Urbana, IL, 61801 + * + * 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 + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* buggy version of CPU */ +#define REV_0_2 #ifndef _MPC8260_H #define _MPC8260_H diff --git a/bsps/powerpc/mpc8260ads/console/console.c b/bsps/powerpc/mpc8260ads/console/console.c index 7e343cdaa4..6a04d91c52 100644 --- a/bsps/powerpc/mpc8260ads/console/console.c +++ b/bsps/powerpc/mpc8260ads/console/console.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * This file contains the MBX8xx termios serial I/O package. * Only asynchronous I/O is supported. @@ -85,6 +87,27 @@ * * Modifications by Andy Dachs for MPC8260 * support. + * + * 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 + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #include #include diff --git a/bsps/powerpc/shared/cache/cache.c b/bsps/powerpc/shared/cache/cache.c index 700e3c941a..15c69ad445 100644 --- a/bsps/powerpc/shared/cache/cache.c +++ b/bsps/powerpc/shared/cache/cache.c @@ -1,15 +1,39 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * * #ingroup RTEMSBSPsPowerPCShared * * @brief Header file for the Cache Manager PowerPC support. + * + * Cache Management Support Routines for the MC68040 */ /* - * Cache Management Support Routines for the MC68040 * Modified for MPC8260 Andy Dachs * Surrey Satellite Technology Limited (SSTL), 2001 + * + * 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 + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #include