[PATCH 29/40] bsps/powerpc/gen83xx: Manual file header clean up

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Mar 7 13:23:27 UTC 2022


Updates #4625.
---
 bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c     | 32 ++++++++---------
 bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c     | 34 ++++++++-----------
 bsps/powerpc/gen83xx/i2c/i2c_init.c           | 30 +++++++---------
 bsps/powerpc/gen83xx/include/bsp.h            | 30 +++++++---------
 bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h | 30 +++++++---------
 bsps/powerpc/gen83xx/include/bsp/irq.h        | 30 +++++++---------
 bsps/powerpc/gen83xx/irq/irq.c                | 31 +++++++----------
 bsps/powerpc/gen83xx/spi/spi_init.c           | 34 ++++++++-----------
 bsps/powerpc/gen83xx/start/start.S            | 30 +++++++---------
 9 files changed, 116 insertions(+), 165 deletions(-)

diff --git a/bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c b/bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
index 51c36eea01..79e658ce45 100644
--- a/bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
+++ b/bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
@@ -1,21 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS support for MPC83xx                              |
-+-----------------------------------------------------------------+
-|                    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 the MPC83xx I2C driver                       |
-\*===============================================================*/
+/*
+ * RTEMS support for MPC83xx
+ *
+ * This file contains the MPC83xx I2C driver.
+ */
+
+/*
+ * 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.
+ */
+
 #include <stdlib.h>
 #include <bsp.h>
 #include <bsp/irq.h>
diff --git a/bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c b/bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c
index 4261e23040..5dc29d327c 100644
--- a/bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c
+++ b/bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c
@@ -1,22 +1,18 @@
-/*===============================================================*\
-| Project: RTEMS support for MPC83xx                              |
-+-----------------------------------------------------------------+
-|                    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 the MPC83xx SPI driver                       |
-| NOTE: it uses the same API as the I2C driver                    |
-\*===============================================================*/
+/*
+ * RTEMS support for MPC83xx
+ *
+ * This file contains the MPC83xx SPI driver.
+ * NOTE: it uses the same API as the I2C driver.
+ */
+
+/*
+ * 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.
+ */
+
 #include <stdlib.h>
 #include <bsp.h>
 #include <bsp/irq.h>
diff --git a/bsps/powerpc/gen83xx/i2c/i2c_init.c b/bsps/powerpc/gen83xx/i2c/i2c_init.c
index 40a88fda54..60fddbfb5b 100644
--- a/bsps/powerpc/gen83xx/i2c/i2c_init.c
+++ b/bsps/powerpc/gen83xx/i2c/i2c_init.c
@@ -1,22 +1,16 @@
-/*===============================================================*\
-| Project: RTEMS support for MPC83xx                              |
-+-----------------------------------------------------------------+
-|                    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 the low level MPC83xx I2C driver parameters  |
-\*===============================================================*/
+/*
+ * RTEMS support for MPC83xx
+ *
+ * This file contains the low level MPC83xx I2C driver parameters.
+ */
 
+/*
+ * 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.
+ */
 
 #include <mpc83xx/mpc83xx_i2cdrv.h>
 #include <libchip/i2c-2b-eeprom.h>
diff --git a/bsps/powerpc/gen83xx/include/bsp.h b/bsps/powerpc/gen83xx/include/bsp.h
index 3ae5f71549..d05349536c 100644
--- a/bsps/powerpc/gen83xx/include/bsp.h
+++ b/bsps/powerpc/gen83xx/include/bsp.h
@@ -6,25 +6,19 @@
  * @brief Global BSP definitions.
  */
 
-/*===============================================================*\
-| Project: RTEMS generic MPC83xx BSP                              |
-+-----------------------------------------------------------------+
-|                    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 board specific definitions                   |
-\*===============================================================*/
+/*
+ * RTEMS generic MPC83xx BSP
+ *
+ * This file contains board specific definitions.
+ */
 
+/*
+ * 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 LIBBSP_POWERPC_GEN83XX_BSP_H
 #define LIBBSP_POWERPC_GEN83XX_BSP_H
diff --git a/bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h b/bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h
index 876d79f11c..323ae377ae 100644
--- a/bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h
+++ b/bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h
@@ -1,22 +1,16 @@
-/*===============================================================*\
-| Project: RTEMS generic MPC83xx BSP                              |
-+-----------------------------------------------------------------+
-|                    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 board specific definitions                   |
-\*===============================================================*/
+/*
+ * RTEMS generic MPC83xx BSP
+ *
+ * This file contains board specific definitions.
+ */
 
+/*
+ * 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 __GEN83xx_HWREG_VALS_h
 #define __GEN83xx_HWREG_VALS_h
diff --git a/bsps/powerpc/gen83xx/include/bsp/irq.h b/bsps/powerpc/gen83xx/include/bsp/irq.h
index 25922f2976..3747a1ff0c 100644
--- a/bsps/powerpc/gen83xx/include/bsp/irq.h
+++ b/bsps/powerpc/gen83xx/include/bsp/irq.h
@@ -1,22 +1,16 @@
-/*===============================================================*\
-| Project: RTEMS generic MPC83xx BSP                              |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2007, 2010                     |
-|                    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 declares constants of the interrupt controller        |
-\*===============================================================*/
+/*
+ * RTEMS generic MPC83xx BSP
+ *
+ * This file declares constants of the interrupt controller.
+ */
 
+/*
+ * Copyright (c) 2008, 2010 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 GEN83xx_IRQ_IRQ_H
 #define GEN83xx_IRQ_IRQ_H
diff --git a/bsps/powerpc/gen83xx/irq/irq.c b/bsps/powerpc/gen83xx/irq/irq.c
index c9d360a975..8e060f708e 100644
--- a/bsps/powerpc/gen83xx/irq/irq.c
+++ b/bsps/powerpc/gen83xx/irq/irq.c
@@ -1,21 +1,16 @@
-/*===============================================================*\
-| Project: RTEMS generic MPC83xx BSP                              |
-+-----------------------------------------------------------------+
-|                    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 integrates the IPIC irq controller                    |
-\*===============================================================*/
+/*
+ * RTEMS generic MPC83xx BSP
+ *
+ * This file integrates the IPIC irq controller.
+ */
+
+/*
+ * 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.
+ */
 
 #include <mpc83xx/mpc83xx.h>
 
diff --git a/bsps/powerpc/gen83xx/spi/spi_init.c b/bsps/powerpc/gen83xx/spi/spi_init.c
index 1dcfbe63df..3adbe62ddb 100644
--- a/bsps/powerpc/gen83xx/spi/spi_init.c
+++ b/bsps/powerpc/gen83xx/spi/spi_init.c
@@ -1,23 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS support for MPC83xx                              |
-+-----------------------------------------------------------------+
-|                    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 the low level MPC83xx SPI driver parameters  |
-| and board-specific functions                                    |
-\*===============================================================*/
-
+/*
+ * RTEMS support for MPC83xx
+ *
+ * This file contains the low level MPC83xx SPI driver parameters
+ * and board-specific functions.
+ */
+
+/*
+ * 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.
+ */
 
 #include <mpc83xx/mpc83xx_spidrv.h>
 #include <bsp/irq.h>
diff --git a/bsps/powerpc/gen83xx/start/start.S b/bsps/powerpc/gen83xx/start/start.S
index 6c5ab556a0..0a2c8233f6 100644
--- a/bsps/powerpc/gen83xx/start/start.S
+++ b/bsps/powerpc/gen83xx/start/start.S
@@ -1,22 +1,16 @@
-/*===============================================================*\
-| Project: RTEMS generic MPC83xx BSP                              |
-+-----------------------------------------------------------------+
-|                    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 the startup assembly code                    |
-\*===============================================================*/
+/*
+ * RTEMS generic MPC83xx BSP
+ *
+ * This file contains the startup assembly code.
+ */
 
+/*
+ * 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.
+ */
 
 #include <libcpu/powerpc-utility.h>
 #include <rtems/powerpc/cache.h>
-- 
2.34.1



More information about the devel mailing list