[rtems commit] bsps/powerpc/tqm8xx: Manual file header clean up

Christian Mauderer christianm at rtems.org
Thu Mar 10 08:06:49 UTC 2022


Module:    rtems
Branch:    master
Commit:    eeea4feecab4a7a5c576628f5a56536d63e58731
Changeset: http://git.rtems.org/rtems/commit/?id=eeea4feecab4a7a5c576628f5a56536d63e58731

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Wed Mar  2 12:58:53 2022 +0100

bsps/powerpc/tqm8xx: Manual file header clean up

Updates #4625.

---

 bsps/powerpc/tqm8xx/btimer/btimer.c   | 37 +++++++++++++-------------------
 bsps/powerpc/tqm8xx/console/console.c | 34 +++++++++--------------------
 bsps/powerpc/tqm8xx/include/bsp.h     | 12 +++--------
 bsps/powerpc/tqm8xx/include/bsp/irq.h | 40 +++++++++++++++--------------------
 bsps/powerpc/tqm8xx/include/bsp/spi.h | 32 ++++++++++++----------------
 bsps/powerpc/tqm8xx/include/bsp/tqm.h | 36 ++++++++++++-------------------
 bsps/powerpc/tqm8xx/irq/irq.c         | 39 ++++++++++++++--------------------
 bsps/powerpc/tqm8xx/spi/spi.c         | 32 ++++++++++++----------------
 bsps/powerpc/tqm8xx/start/mmutlbtab.c | 31 ++++++---------------------
 bsps/powerpc/tqm8xx/start/start.S     | 33 ++++++++++++-----------------
 10 files changed, 124 insertions(+), 202 deletions(-)

diff --git a/bsps/powerpc/tqm8xx/btimer/btimer.c b/bsps/powerpc/tqm8xx/btimer/btimer.c
index bb90a11..ff1192b 100644
--- a/bsps/powerpc/tqm8xx/btimer/btimer.c
+++ b/bsps/powerpc/tqm8xx/btimer/btimer.c
@@ -1,25 +1,18 @@
-/*===============================================================*\
-| Project: RTEMS TQM8xx BSP                                       |
-+-----------------------------------------------------------------+
-| This file has been adapted to MPC8xx by                         |
-|    Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>         |
-|                    Copyright (c) 2008                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-|                                                                 |
-| See the other copyright notice below for the original parts.    |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the console driver                           |
-\*===============================================================*/
+/*
+ * RTEMS TQM8xx BSP
+ *
+ * This file contains the console driver.
+ */
+
+/*
+ * Copyright (c) 2008 Thomas Doerfler, embedded brains GmbH.
+ * All rights reserved.
+ *
+ * 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.
+ */
+
 /*
  * benchmark_timer_initialize()
  *
diff --git a/bsps/powerpc/tqm8xx/console/console.c b/bsps/powerpc/tqm8xx/console/console.c
index d5b0569..0e0dace 100644
--- a/bsps/powerpc/tqm8xx/console/console.c
+++ b/bsps/powerpc/tqm8xx/console/console.c
@@ -1,27 +1,8 @@
-/*===============================================================*\
-| Project: RTEMS TQM8xx BSP                                       |
-+-----------------------------------------------------------------+
-| This file has been adapted to MPC8xx by                         |
-|    Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>         |
-|                    Copyright (c) 2008                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-|                                                                 |
-| See the other copyright notice below for the original parts.    |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the console driver                           |
-\*===============================================================*/
-/* derived from: */
 /*
+ * RTEMS TQM8xx BSP
+ *
+ * This file contains the console driver.
+ *
  *  SMC1/2 SCC1..4 raw console serial I/O.
  *  adapted to work with up to 4 SCC and 2 SMC
  *
@@ -29,7 +10,9 @@
  *
  *  To run with interrupt-driven I/O, ensure m8xx_smc1_interrupt
  *  is set before calling the initialization routine.
- *
+ */
+
+/*
  *  Author:
  *    W. Eric Norum
  *    Saskatchewan Accelerator Laboratory
@@ -41,6 +24,9 @@
  *  On-Line Applications Research Corporation (OAR).
  *  Copyright assigned to U.S. Government, 1994.
  *
+ *  Copyright (c) 2008 Thomas Doerfler, embedded brains GmbH.
+ *  All rights reserved.
+ *
  *  The license and distribution terms for this file may be
  *  found in the file LICENSE in this distribution or at
  *  http://www.OARcorp.com/rtems/license.html.
diff --git a/bsps/powerpc/tqm8xx/include/bsp.h b/bsps/powerpc/tqm8xx/include/bsp.h
index 1135708..32a84e2 100644
--- a/bsps/powerpc/tqm8xx/include/bsp.h
+++ b/bsps/powerpc/tqm8xx/include/bsp.h
@@ -12,18 +12,12 @@
  */
 
 /*
- * This file has been adapted to MPC8xx by:
- *    Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>
- *    Copyright (c) 2008
- *    embedded brains GmbH
- *    Obere Lagerstr. 30
- *    82178 Puchheim
- *    Germany
- *    rtems at embedded-brains.de
- *
  *  COPYRIGHT (c) 1989-2008.
  *  On-Line Applications Research Corporation (OAR).
  *
+ *  Copyright (c) 2008 Thomas Doerfler, embedded brains GmbH.
+ *  All rights reserved.
+ *
  *  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.
diff --git a/bsps/powerpc/tqm8xx/include/bsp/irq.h b/bsps/powerpc/tqm8xx/include/bsp/irq.h
index 60844d7..96fe57f 100644
--- a/bsps/powerpc/tqm8xx/include/bsp/irq.h
+++ b/bsps/powerpc/tqm8xx/include/bsp/irq.h
@@ -1,26 +1,20 @@
-/*===============================================================*\
-| Project: RTEMS TQM8xx BSP                                       |
-+-----------------------------------------------------------------+
-| This file has been adapted to MPC8xx by                         |
-|    Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>         |
-|                    Copyright (c) 2008                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-|                                                                 |
-| See the other copyright notice below for the original parts.    |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the console driver                           |
-\*===============================================================*/
-/* derived from: generic MPC83xx BSP */
+/*
+ * RTEMS TQM8xx BSP
+ *
+ * This file contains the console driver.
+ *
+ * Derived from: generic MPC83xx BSP
+ */
+
+/*
+ * Copyright (c) 2008 Thomas Doerfler, embedded brains GmbH.
+ * All rights reserved.
+ *
+ * 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.
+ */
+
 #ifndef TQM8xx_IRQ_IRQ_H
 #define TQM8xx_IRQ_IRQ_H
 
diff --git a/bsps/powerpc/tqm8xx/include/bsp/spi.h b/bsps/powerpc/tqm8xx/include/bsp/spi.h
index bd6b3c2..fedfc51 100644
--- a/bsps/powerpc/tqm8xx/include/bsp/spi.h
+++ b/bsps/powerpc/tqm8xx/include/bsp/spi.h
@@ -1,21 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS support for MPC8xx                               |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2009                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the MPC8xx SPI driver declarations           |
-\*===============================================================*/
+/*
+ * RTEMS support for MPC8xx
+ *
+ * This file contains the MPC8xx SPI driver declarations.
+ */
+
+/*
+ * Copyright (c) 2009 embedded brains GmbH. All rights reserved.
+ *
+ * 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.
+ */
+
 #ifndef _M8XX_SPIDRV_H
 #define _M8XX_SPIDRV_H
 
diff --git a/bsps/powerpc/tqm8xx/include/bsp/tqm.h b/bsps/powerpc/tqm8xx/include/bsp/tqm.h
index 5a035b7..c241d89 100644
--- a/bsps/powerpc/tqm8xx/include/bsp/tqm.h
+++ b/bsps/powerpc/tqm8xx/include/bsp/tqm.h
@@ -1,25 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS BSP support for TQ modules                       |
-+-----------------------------------------------------------------+
-| Partially based on the code references which are named below.   |
-| Adaptions, modifications, enhancements and any recent parts of  |
-| the code are:                                                   |
-|                    Copyright (c) 2007                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains definitions to interact with TQC's           |
-|  processor modules                                              |
-\*===============================================================*/
+/*
+ * RTEMS BSP support for TQ modules
+ *
+ * This file contains definitions to interact with TQC's
+ * processor modules.
+ */
+
+/*
+ * Copyright (c) 2007 embedded brains GmbH. All rights reserved.
+ *
+ * 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.
+ */
 
 #ifndef __TQM_H__
 #define __TQM_H__
diff --git a/bsps/powerpc/tqm8xx/irq/irq.c b/bsps/powerpc/tqm8xx/irq/irq.c
index 065e355..18d2060 100644
--- a/bsps/powerpc/tqm8xx/irq/irq.c
+++ b/bsps/powerpc/tqm8xx/irq/irq.c
@@ -1,26 +1,19 @@
-/*===============================================================*\
-| Project: RTEMS TQM8xx BSP                                       |
-+-----------------------------------------------------------------+
-| This file has been adapted to MPC8xx by                         |
-|    Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>         |
-|                    Copyright (c) 2008                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-|                                                                 |
-| See the other copyright notice below for the original parts.    |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the console driver                           |
-\*===============================================================*/
-/* derived from: generic MPC83xx BSP */
+/*
+ * RTEMS TQM8xx BSP
+ *
+ * This file contains the console driver.
+ *
+ * Derived from: generic MPC83xx BSP
+ */
+
+/*
+ * Copyright (c) 2008 Thomas Doerfler, embedded brains GmbH.
+ * All rights reserved.
+ *
+ * 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.
+ */
 
 #include <rtems.h>
 #include <mpc8xx.h>
diff --git a/bsps/powerpc/tqm8xx/spi/spi.c b/bsps/powerpc/tqm8xx/spi/spi.c
index 76a4472..40bb4fd 100644
--- a/bsps/powerpc/tqm8xx/spi/spi.c
+++ b/bsps/powerpc/tqm8xx/spi/spi.c
@@ -1,21 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS support for tqm8xx                               |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2009                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the MPC8xx SPI driver                        |
-\*===============================================================*/
+/*
+ * RTEMS support for tqm8xx
+ *
+ * This file contains the MPC8xx SPI driver.
+ */
+
+/*
+ * Copyright (c) 2009 embedded brains GmbH. All rights reserved.
+ *
+ * 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.
+ */
+
 #include <stdlib.h>
 #include <bsp.h>
 #include <mpc8xx.h>
diff --git a/bsps/powerpc/tqm8xx/start/mmutlbtab.c b/bsps/powerpc/tqm8xx/start/mmutlbtab.c
index e13f8d5..2793651 100644
--- a/bsps/powerpc/tqm8xx/start/mmutlbtab.c
+++ b/bsps/powerpc/tqm8xx/start/mmutlbtab.c
@@ -1,30 +1,13 @@
-/*===============================================================*\
-| Project: RTEMS TQM8xx BSP                                       |
-+-----------------------------------------------------------------+
-| This file has been adapted to MPC8xx by                         |
-|    Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>         |
-|                    Copyright (c) 2008                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-|                                                                 |
-| See the other copyright notice below for the original parts.    |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the console driver                           |
-\*===============================================================*/
-/* derived from: */
 /*
- * mmutlbtab.c
+ * RTEMS TQM8xx BSP
  *
+ * This file contains the console driver.
+ */
+
+/*
  * Copyright (c) 1999, National Research Council of Canada
+ * Copyright (c) 2008 Thomas Doerfler, embedded brains GmbH.
+ * All rights reserved.
  *
  * The license and distribution terms for this file may be
  * found in the file LICENSE in this distribution or at
diff --git a/bsps/powerpc/tqm8xx/start/start.S b/bsps/powerpc/tqm8xx/start/start.S
index 3f13cf1..6adc278 100644
--- a/bsps/powerpc/tqm8xx/start/start.S
+++ b/bsps/powerpc/tqm8xx/start/start.S
@@ -1,22 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS generic TQM8xx BSP                               |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2008                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-| this file contains the startup assembly code                    |
-| it is based on the gen83xx BSP                                  |
-\*===============================================================*/
+/*
+ * RTEMS generic TQM8xx BSP
+ *
+ * This file contains the startup assembly code.
+ * It is based on the gen83xx BSP.
+ */
+ 
+/*
+ * Copyright (c) 2008 embedded brains GmbH. All rights reserved.
+ *
+ * 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.
+ */
 
 #include <libcpu/powerpc-utility.h>
 #include <rtems/powerpc/cache.h>



More information about the vc mailing list