[PATCH 26/40] bsps/m68k: Manual file header clean up

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


Updates #4625.
---
 bsps/m68k/genmcf548x/start/linkcmds.COBRA5475 | 75 +++++++------------
 .../genmcf548x/start/linkcmds.m5484FireEngine | 74 +++++++-----------
 .../start/linkcmds.m5484FireEngine.flash      | 74 +++++++-----------
 bsps/m68k/genmcf548x/start/start.S            | 70 +++++++----------
 bsps/m68k/include/mcf548x/mcdma_glue.h        | 32 ++++----
 bsps/m68k/include/mcf548x/mcf548x.h           | 72 +++++++-----------
 6 files changed, 151 insertions(+), 246 deletions(-)

diff --git a/bsps/m68k/genmcf548x/start/linkcmds.COBRA5475 b/bsps/m68k/genmcf548x/start/linkcmds.COBRA5475
index 6c3a56b5cf..9e446651a5 100644
--- a/bsps/m68k/genmcf548x/start/linkcmds.COBRA5475
+++ b/bsps/m68k/genmcf548x/start/linkcmds.COBRA5475
@@ -1,50 +1,31 @@
-/*===============================================================*\
-| Project: RTEMS generic mcf548x BSP                              |
-+-----------------------------------------------------------------+
-| File: linkcmds.COBRA5475                                        |
-+-----------------------------------------------------------------+
-| The file contains the linker directives for the generic MCF548x |
-| BSP to be used with an COBRA5475 board to load and execute      |
-| code in the RAM.                                                |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2007                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-|                                                                 |
-| Parts of the code has been derived from the "dBUG source code"  |
-| package Freescale is providing for M548X EVBs. The usage of     |
-| the modified or unmodified code and it's integration into the   |
-| generic mcf548x BSP has been done according to the Freescale    |
-| license terms.                                                  |
-|                                                                 |
-| The Freescale license terms can be reviewed in the file         |
-|                                                                 |
-|    Freescale_license.txt                                        |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| The generic mcf548x BSP has been developed on the basic         |
-| structures and modules of the av5282 BSP.                       |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 12.11.07                    1.0                            ras  |
-| 15.10.09                    1.1, adapted to COBRA5475      doe  |
-|                                                                 |
-\*===============================================================*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains the linker directives for the generic MCF548x
+ * BSP to be used with an COBRA5475 board to load and execute
+ * code in the RAM.
+ *
+ * Parts of the code has been derived from the "dBUG source code"
+ * package Freescale is providing for M548X EVBs. The usage of
+ * the modified or unmodified code and it's integration into the
+ * generic mcf548x BSP has been done according to the Freescale
+ * license terms.
+ *
+ * The Freescale license terms can be reviewed in the file
+ *
+ *    Freescale_license.txt
+ *
+ * The generic mcf548x BSP has been developed on the basic
+ * structures and modules of the av5282 BSP.
+ */
+
+/*
+ * 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.
+ */
 
 /* 
  * Location and size of on-chip devices
diff --git a/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine b/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine
index b99840197c..fe4566534b 100644
--- a/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine
+++ b/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine
@@ -1,49 +1,31 @@
-/*===============================================================*\
-| Project: RTEMS generic mcf548x BSP                              |
-+-----------------------------------------------------------------+
-| File: linkcmd                                                   |
-+-----------------------------------------------------------------+
-| The file contains the linker directives for the generic MCF548x |
-| BSP to be used with an m5484FireEngine EVB to load and execute  |
-| code in the RAM.                                                |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2007                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-|                                                                 |
-| Parts of the code has been derived from the "dBUG source code"  |
-| package Freescale is providing for M548X EVBs. The usage of     |
-| the modified or unmodified code and it's integration into the   |
-| generic mcf548x BSP has been done according to the Freescale    |
-| license terms.                                                  |
-|                                                                 |
-| The Freescale license terms can be reviewed in the file         |
-|                                                                 |
-|    Freescale_license.txt                                        |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| The generic mcf548x BSP has been developed on the basic         |
-| structures and modules of the av5282 BSP.                       |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 12.11.07                    1.0                            ras  |
-|                                                                 |
-\*===============================================================*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains the linker directives for the generic MCF548x
+ * BSP to be used with an m5484FireEngine EVB to load and execute
+ * code in the RAM.
+ *
+ * Parts of the code has been derived from the "dBUG source code"
+ * package Freescale is providing for M548X EVBs. The usage of
+ * the modified or unmodified code and it's integration into the
+ * generic mcf548x BSP has been done according to the Freescale
+ * license terms.
+ *
+ * The Freescale license terms can be reviewed in the file
+ *
+ *    Freescale_license.txt
+ *
+ * The generic mcf548x BSP has been developed on the basic
+ * structures and modules of the av5282 BSP.
+ */
+
+/*
+ * 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.
+ */
 
 /* 
  * Location and size of on-chip devices
diff --git a/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash b/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash
index 8a7051bb63..01f37aa3aa 100644
--- a/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash
+++ b/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash
@@ -1,49 +1,31 @@
-/*===============================================================*\
-| Project: RTEMS generic mcf548x BSP                              |
-+-----------------------------------------------------------------+
-| File: linkcmd.m5484FireEngine.flash                             |
-+-----------------------------------------------------------------+
-| The file contains the linker directives for the generic MCF548x |
-| BSP to be used with an m5484FireEngine EVB to load and execute  |
-| code in the boot FLASH.                                         |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2007                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-|                                                                 |
-| Parts of the code has been derived from the "dBUG source code"  |
-| package Freescale is providing for M548X EVBs. The usage of     |
-| the modified or unmodified code and it's integration into the   |
-| generic mcf548x BSP has been done according to the Freescale    |
-| license terms.                                                  |
-|                                                                 |
-| The Freescale license terms can be reviewed in the file         |
-|                                                                 |
-|    Freescale_license.txt                                        |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| The generic mcf548x BSP has been developed on the basic         |
-| structures and modules of the av5282 BSP.                       |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 12.11.07                    1.0                            ras  |
-|                                                                 |
-\*===============================================================*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains the linker directives for the generic MCF548x
+ * BSP to be used with an m5484FireEngine EVB to load and execute
+ * code in the boot FLASH.
+ *
+ * Parts of the code has been derived from the "dBUG source code"
+ * package Freescale is providing for M548X EVBs. The usage of
+ * the modified or unmodified code and it's integration into the
+ * generic mcf548x BSP has been done according to the Freescale
+ * license terms.
+ *
+ * The Freescale license terms can be reviewed in the file
+ *
+ *    Freescale_license.txt
+ *
+ * The generic mcf548x BSP has been developed on the basic
+ * structures and modules of the av5282 BSP.
+ */
+
+/*
+ * 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.
+ */
 
 /* 
  * Location and size of on-chip devices
diff --git a/bsps/m68k/genmcf548x/start/start.S b/bsps/m68k/genmcf548x/start/start.S
index 3b0c3b2264..415d6c2a9d 100644
--- a/bsps/m68k/genmcf548x/start/start.S
+++ b/bsps/m68k/genmcf548x/start/start.S
@@ -1,47 +1,29 @@
-/*===============================================================*\
-| Project: RTEMS generic mcf548x BSP                              |
-+-----------------------------------------------------------------+
-| File: start.S                                                   |
-+-----------------------------------------------------------------+
-| The file contains the assembly part of MCF548x init code        |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2007                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-|                                                                 |
-| Parts of the code has been derived from the "dBUG source code"  |
-| package Freescale is providing for M548X EVBs. The usage of     |
-| the modified or unmodified code and it's integration into the   |
-| generic mcf548x BSP has been done according to the Freescale    |
-| license terms.                                                  |
-|                                                                 |
-| The Freescale license terms can be reviewed in the file         |
-|                                                                 |
-|    Freescale_license.txt                                        |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| The generic mcf548x BSP has been developed on the basic         |
-| structures and modules of the av5282 BSP.                       |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 12.11.07                    1.0                            ras  |
-|                                                                 |
-\*===============================================================*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains the assembly part of MCF548x init code.
+ *
+ * Parts of the code has been derived from the "dBUG source code"
+ * package Freescale is providing for M548X EVBs. The usage of
+ * the modified or unmodified code and it's integration into the
+ * generic mcf548x BSP has been done according to the Freescale
+ * license terms.
+ *
+ * The Freescale license terms can be reviewed in the file
+ *
+ *    Freescale_license.txt
+ *
+ * The generic mcf548x BSP has been developed on the basic
+ * structures and modules of the av5282 BSP.
+ */
+
+/*
+ * 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.
+ */
 
 /*===============================================================*\
 | Includes                                                        |
diff --git a/bsps/m68k/include/mcf548x/mcdma_glue.h b/bsps/m68k/include/mcf548x/mcdma_glue.h
index 6235dd0174..775b0486e9 100644
--- a/bsps/m68k/include/mcf548x/mcdma_glue.h
+++ b/bsps/m68k/include/mcf548x/mcdma_glue.h
@@ -1,21 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS generic MFC548x BSP                              |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2004-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 declares glue functions to the Freescale Mcdma API |
-\*===============================================================*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * This file declares glue functions to the Freescale Mcdma API.
+ */
+
+/*
+ * Copyright (c) 2004-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 _MCDMA_GLUE_H
 #define _MCDMA_GLUE_H
 
diff --git a/bsps/m68k/include/mcf548x/mcf548x.h b/bsps/m68k/include/mcf548x/mcf548x.h
index e29122a35f..a8546df018 100644
--- a/bsps/m68k/include/mcf548x/mcf548x.h
+++ b/bsps/m68k/include/mcf548x/mcf548x.h
@@ -1,48 +1,30 @@
-/*===============================================================*\
-| Project: RTEMS generic mcf548x BSP                              |
-+-----------------------------------------------------------------+
-| File: mcf548x.h                                                 |
-+-----------------------------------------------------------------+
-| The file contains all register an bit definitions of the        |
-| generic MCF548x BSP.                                            |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2007                           |
-|                    embedded brains GmbH                         |
-|                    Obere Lagerstr. 30                           |
-|                    82178 Puchheim                             |
-|                    Germany                                      |
-|                    rtems at embedded-brains.de                     |
-+-----------------------------------------------------------------+
-|                                                                 |
-| Parts of the code has been derived from the "dBUG source code"  |
-| package Freescale is providing for M548X EVBs. The usage of     |
-| the modified or unmodified code and it's integration into the   |
-| generic mcf548x BSP has been done according to the Freescale    |
-| license terms.                                                  |
-|                                                                 |
-| The Freescale license terms can be reviewed in the file         |
-|                                                                 |
-|    Freescale_license.txt                                        |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| The generic mcf548x BSP has been developed on the basic         |
-| structures and modules of the av5282 BSP.                       |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-| 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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-|                                                                 |
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 12.11.07                    1.0                            ras  |
-|                                                                 |
-\*===============================================================*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains all register an bit definitions of the
+ * generic MCF548x BSP.
+ *
+ * Parts of the code has been derived from the "dBUG source code"
+ * package Freescale is providing for M548X EVBs. The usage of
+ * the modified or unmodified code and it's integration into the
+ * generic mcf548x BSP has been done according to the Freescale
+ * license terms.
+ *
+ * The Freescale license terms can be reviewed in the file
+ *
+ *    Freescale_license.txt
+ *
+ * The generic mcf548x BSP has been developed on the basic
+ * structures and modules of the av5282 BSP.
+ */
+
+/*
+ * 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 __MCF548X_H__
 #define __MCF548X_H__
-- 
2.34.1



More information about the devel mailing list