From 4a85ce8d6ad7993b2731a3e569a3541a3368f2e6 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Wed, 2 Mar 2022 11:35:40 +0100 Subject: 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(-) (limited to 'bsps') 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@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@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 #include 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@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 #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@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@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 #include 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@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 #include 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@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 -- cgit v1.2.3