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

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


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

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Wed Mar  2 11:35:40 2022 +0100

bsps/shared: Manual file header clean up

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 b988db5..49caf05 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 656820f..6990f04 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 07bf61c..8e8d25f 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 9ad8ca0..93feec9 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 961d760..60c29c3 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 698e6cf..509b468 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 2cea1ba..7656966 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



More information about the vc mailing list