[PATCH 27/40] bsps/shared: Manual file header clean up

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


Updates #4625.
---
 bsps/shared/dev/display/disp_fonts.h    | 32 ++++++++++--------------
 bsps/shared/dev/display/disp_hcms29xx.c | 33 +++++++++++--------------
 bsps/shared/dev/display/font_hcms29xx.c | 31 ++++++++++-------------
 bsps/shared/dev/display/font_hcms29xx.h | 31 ++++++++++-------------
 bsps/shared/dev/i2c/spi-flash-m25p40.c  | 28 +++++++++------------
 bsps/shared/dev/i2c/spi-fram-fm25l256.c | 28 +++++++++------------
 bsps/shared/dev/i2c/spi-memdrv.c        | 29 +++++++++-------------
 7 files changed, 87 insertions(+), 125 deletions(-)

diff --git a/bsps/shared/dev/display/disp_fonts.h b/bsps/shared/dev/display/disp_fonts.h
index b988db531d..49caf05906 100644
--- a/bsps/shared/dev/display/disp_fonts.h
+++ b/bsps/shared/dev/display/disp_fonts.h
@@ -1,22 +1,16 @@
-/*===============================================================*\
-| Project: display driver for HCMS29xx                            |
-+-----------------------------------------------------------------+
-| File: disp_fonts.h                                              |
-+-----------------------------------------------------------------+
-|                    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 declares general data structures for font management  |
-\*===============================================================*/
+/*
+ * Display driver for HCMS29xx.
+ *
+ * This file declares general data structures for font management.
+ */
+
+/*
+ * 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.
+ */
 
 #ifndef DISP_FONTS_H
 #define DISP_FONTS_H
diff --git a/bsps/shared/dev/display/disp_hcms29xx.c b/bsps/shared/dev/display/disp_hcms29xx.c
index 656820fb50..6990f042db 100644
--- a/bsps/shared/dev/display/disp_hcms29xx.c
+++ b/bsps/shared/dev/display/disp_hcms29xx.c
@@ -1,22 +1,17 @@
-/*===============================================================*\
-| Project: display driver for HCMS29xx                            |
-+-----------------------------------------------------------------+
-| File: disp_hcms29xx.c                                           |
-+-----------------------------------------------------------------+
-|                    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 SPI based driver for a HCMS29xx 4 digit  |
-| alphanumeric LED display                                        |
-\*===============================================================*/
+/*
+ * Display driver for HCMS29xx.
+ *
+ * This file contains the SPI based driver for a HCMS29xx 4 digit
+ * alphanumeric LED display.
+ */
+
+/*
+ * 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 <string.h>
 #include <stdlib.h>
diff --git a/bsps/shared/dev/display/font_hcms29xx.c b/bsps/shared/dev/display/font_hcms29xx.c
index 07bf61c3dd..8e8d25f7b6 100644
--- a/bsps/shared/dev/display/font_hcms29xx.c
+++ b/bsps/shared/dev/display/font_hcms29xx.c
@@ -1,21 +1,16 @@
-/*===============================================================*\
-| Project: display driver for HCMS29xx                            |
-+-----------------------------------------------------------------+
-| File: font_hcms29xx.c                                           |
-+-----------------------------------------------------------------+
-|                    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 defines the 5x7 bit font used in disp_hcms29xx        |
-\*===============================================================*/
+/*
+ * Display driver for HCMS29xx.
+ *
+ * This file defines the 5x7 bit font used in disp_hcms29xx.
+ */
+
+/*
+ * 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 <stddef.h>
 #include "disp_fonts.h"
diff --git a/bsps/shared/dev/display/font_hcms29xx.h b/bsps/shared/dev/display/font_hcms29xx.h
index 9ad8ca0b53..93feec9f94 100644
--- a/bsps/shared/dev/display/font_hcms29xx.h
+++ b/bsps/shared/dev/display/font_hcms29xx.h
@@ -1,21 +1,16 @@
-/*===============================================================*\
-| Project: display driver for HCMS29xx                            |
-+-----------------------------------------------------------------+
-| File: font_hcms29xx.h                                           |
-+-----------------------------------------------------------------+
-|                    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 declares the 5x7 bit font used in disp_hcms29xx       |
-\*===============================================================*/
+/*
+ * Display driver for HCMS29xx.
+ *
+ * This file declares the 5x7 bit font used in disp_hcms29xx.
+ */
+
+/*
+ * 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.
+ */
 
 #ifndef FONT_HCMS29XX_H
 #define FONT_HCMS29XX_H
diff --git a/bsps/shared/dev/i2c/spi-flash-m25p40.c b/bsps/shared/dev/i2c/spi-flash-m25p40.c
index 961d7607a1..60c29c3011 100644
--- a/bsps/shared/dev/i2c/spi-flash-m25p40.c
+++ b/bsps/shared/dev/i2c/spi-flash-m25p40.c
@@ -1,20 +1,14 @@
-/*===============================================================*\
-| Project: SPI driver for M25P40 like spi flash device            |
-+-----------------------------------------------------------------+
-|                    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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-\*===============================================================*/
+/*
+ * SPI driver for M25P40 like spi flash device.
+ */
+
+/*
+ * 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 <rtems.h>
 #include <rtems/libi2c.h>
diff --git a/bsps/shared/dev/i2c/spi-fram-fm25l256.c b/bsps/shared/dev/i2c/spi-fram-fm25l256.c
index 698e6cf2cd..509b4686ca 100644
--- a/bsps/shared/dev/i2c/spi-fram-fm25l256.c
+++ b/bsps/shared/dev/i2c/spi-fram-fm25l256.c
@@ -1,20 +1,14 @@
-/*===============================================================*\
-| Project: SPI driver for FM25L256 like spi fram device           |
-+-----------------------------------------------------------------+
-|                    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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-\*===============================================================*/
+/*
+ * SPI driver for FM25L256 like spi fram device.
+ */
+
+/*
+ * 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 <rtems.h>
 #include <rtems/libi2c.h>
diff --git a/bsps/shared/dev/i2c/spi-memdrv.c b/bsps/shared/dev/i2c/spi-memdrv.c
index 2cea1ba7c2..7656966362 100644
--- a/bsps/shared/dev/i2c/spi-memdrv.c
+++ b/bsps/shared/dev/i2c/spi-memdrv.c
@@ -1,20 +1,15 @@
-/*===============================================================*\
-| Project: SPI driver for spi memory devices                      |
-+-----------------------------------------------------------------+
-|                    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.                           |
-|                                                                 |
-+-----------------------------------------------------------------+
-\*===============================================================*/
+/*
+ * SPI driver for spi memory devices.
+ */
+
+/*
+ * 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.
+ */
+
 /*
  * FIXME: currently, this driver only supports read/write accesses
  * erase accesses are to be completed
-- 
2.34.1



More information about the devel mailing list