[PATCH] mpci: Simplify expressions

2022-03-07 Thread Sebastian Huber
Use that rtems_configuration_get_user_multiprocessing_table() returns never
NULL if RTEMS_MULTIPROCESSING defined.
---
 bsps/m68k/mvme147s/start/bspstart.c |  2 +-
 bsps/riscv/griscv/include/amba.h|  3 +--
 bsps/sparc/leon3/btimer/btimer.c|  5 ++---
 bsps/sparc/leon3/include/leon.h |  3 +--
 cpukit/libmisc/monitor/mon-editor.c |  6 --
 cpukit/libmisc/stackchk/check.c | 10 --
 6 files changed, 9 insertions(+), 20 deletions(-)

diff --git a/bsps/m68k/mvme147s/start/bspstart.c 
b/bsps/m68k/mvme147s/start/bspstart.c
index 497b644150..e5eb48f108 100644
--- a/bsps/m68k/mvme147s/start/bspstart.c
+++ b/bsps/m68k/mvme147s/start/bspstart.c
@@ -58,7 +58,7 @@ void bsp_start( void )
 
 #if defined(RTEMS_MULTIPROCESSING)
   node_number = (uint8_t)
-(rtems_configuration_get_user_multiprocessing_table()->node - 1) & 0xF;
+rtems_configuration_get_user_multiprocessing_table()->node - 1;
 #else
node_number = 1;
 #endif
diff --git a/bsps/riscv/griscv/include/amba.h b/bsps/riscv/griscv/include/amba.h
index 292660d5c1..b615389df4 100644
--- a/bsps/riscv/griscv/include/amba.h
+++ b/bsps/riscv/griscv/include/amba.h
@@ -46,8 +46,7 @@
 #define GRLIB_APB_SLAVES 16
 
 #if defined(RTEMS_MULTIPROCESSING)
-  #define GRLIB_CLOCK_INDEX \
-   (rtems_configuration_get_user_multiprocessing_table() ? GRLIB_Cpu_Index : 0)
+  #define GRLIB_CLOCK_INDEX GRLIB_Cpu_Index
 #else
   #define GRLIB_CLOCK_INDEX 0
 #endif
diff --git a/bsps/sparc/leon3/btimer/btimer.c b/bsps/sparc/leon3/btimer/btimer.c
index 9e9f2b02fc..03bbfe06e7 100644
--- a/bsps/sparc/leon3/btimer/btimer.c
+++ b/bsps/sparc/leon3/btimer/btimer.c
@@ -23,10 +23,9 @@
 
 #if defined(RTEMS_MULTIPROCESSING)
   #define LEON3_TIMER_INDEX \
-  ((rtems_configuration_get_user_multiprocessing_table()) ? \
-(rtems_configuration_get_user_multiprocessing_table()->node) - 1 : 1)
+(rtems_configuration_get_user_multiprocessing_table()->node)
 #else
-  #define LEON3_TIMER_INDEX 0
+  #define LEON3_TIMER_INDEX 1
 #endif
 
 bool benchmark_timer_find_average_overhead;
diff --git a/bsps/sparc/leon3/include/leon.h b/bsps/sparc/leon3/include/leon.h
index 5fadb08052..e03185f927 100644
--- a/bsps/sparc/leon3/include/leon.h
+++ b/bsps/sparc/leon3/include/leon.h
@@ -325,8 +325,7 @@ extern rtems_interrupt_lock LEON3_IrqCtrl_Lock;
 #define LEON_REG_TIMER_COUNTER_CURRENT_MODE_MASK  0x0003
 
 #if defined(RTEMS_MULTIPROCESSING)
-  #define LEON3_CLOCK_INDEX \
-   (rtems_configuration_get_user_multiprocessing_table() ? LEON3_Cpu_Index : 0)
+  #define LEON3_CLOCK_INDEX LEON3_Cpu_Index
 #else
   #define LEON3_CLOCK_INDEX 0
 #endif
diff --git a/cpukit/libmisc/monitor/mon-editor.c 
b/cpukit/libmisc/monitor/mon-editor.c
index 6957fee9c8..bea0fc28ba 100644
--- a/cpukit/libmisc/monitor/mon-editor.c
+++ b/cpukit/libmisc/monitor/mon-editor.c
@@ -499,12 +499,6 @@ rtems_monitor_command_read(char *command,
   /*
* put node number in the prompt if we are multiprocessing
*/
-#if defined(RTEMS_MULTIPROCESSING)
-  if (!rtems_configuration_get_user_multiprocessing_table ())
-snprintf (monitor_prompt, sizeof(monitor_prompt), "%s",
- (env_prompt == NULL) ? MONITOR_PROMPT: env_prompt);
-  else /*  */
-#endif
   if (rtems_monitor_default_node != rtems_monitor_node)
 snprintf (monitor_prompt, sizeof(monitor_prompt),
   "%" PRId32 "-%s-%" PRId32 "", rtems_monitor_node,
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index fa0c3ea1ed..437a0476c3 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -278,12 +278,10 @@ static void Stack_check_report_blown_task(
   }
 
   #if defined(RTEMS_MULTIPROCESSING)
-if (rtems_configuration_get_user_multiprocessing_table()) {
-  printk(
-"node: 0x%08" PRIxPTR "\n",
-  (intptr_t) rtems_configuration_get_user_multiprocessing_table()->node
-  );
-}
+printk(
+  "node: 0x%08" PRIxPTR "\n",
+(intptr_t) rtems_configuration_get_user_multiprocessing_table()->node
+);
   #endif
 
   rtems_fatal(
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: Warnings when building sparc/leon3

2022-03-07 Thread Sebastian Huber

On 07/03/2022 19:19, Joel Sherrill wrote:



On Mon, Mar 7, 2022 at 11:54 AM Sebastian Huber 
> wrote:


On 07/03/2022 17:48, Joel Sherrill wrote:
 > This appears to be because
 > rtems_configuration_get_user_multiprocessing_table() always returns a
 > non-NULL value when RTEMS_MULTIPROCESSING is defined. This must
be a change
 > versus previous behavior.
 >
 > Ryan and I noticed that the specific cases cited here appeared to be
 > wrapped in ifdef RTEMS_MULTIPROCESSING so didn't need to worry
about it.
 > But something has changed that impacts public facing behavior.

I think this is the related ticket:

https://devel.rtems.org/ticket/3735



OK. But apparently this was used to tell the difference between a
single node system in MP configuration and a node within an
MP configuration.  My grep shows some uses are really dereferencing
the table but others like the one in amba.h:153 to define the clock
index looks wrong. THere is similar code in leon.h:

#if defined(RTEMS_MULTIPROCESSING)
   #define LEON3_CLOCK_INDEX \
    (rtems_configuration_get_user_multiprocessing_table() ? 
LEON3_Cpu_Index : 0)




#else
   #define LEON3_CLOCK_INDEX 0
#endif

That's the type of pattern that needs addressing. That test is
asking in multiprocessing is configured in the application not
in the build.


The rtems_configuration_get_user_multiprocessing_table() ? X : Y 
expressions can be simplified to X.


This change needs to be looked at (the comment in the file header makes 
no sense after this change):


commit 7f3c6cee09ee44b627b11de34248aba485c789b3
Author: Joel Sherrill 
Date:   Tue Dec 4 22:20:55 2007 +

2007-12-04  Joel Sherrill 

* amba/amba.c, clock/ckinit.c, console/console.c, 
include/bsp.h,
startup/bspstart.c, timer/timer.c: Move 
interrupt_stack_size field
from CPU Table to Configuration Table. Eliminate CPU Table 
from all

ports. Delete references to CPU Table in all forms.

diff --git a/c/src/lib/libbsp/sparc/leon3/timer/timer.c 
b/c/src/lib/libbsp/sparc/leon3/timer/timer.c

index 9d6f89a593..2c1127a30a 100644
--- a/c/src/lib/libbsp/sparc/leon3/timer/timer.c
+++ b/c/src/lib/libbsp/sparc/leon3/timer/timer.c
@@ -22,12 +22,13 @@

 #include 

-extern rtems_configuration_table Configuration;
-
-#define LEON3_TIMER_INDEX \
-  (Configuration.User_multiprocessing_table ?  \
- (Configuration.User_multiprocessing_table)->maximum_nodes + \
- (Configuration.User_multiprocessing_table)->node - 1 : 1)
+#if defined(RTEMS_MULTIPROCESSING)
+  #define LEON3_TIMER_INDEX \
+  (rtems_configuration_get_user_multiprocessing_table() ? : \
+(rtems_configuration_get_user_multiprocessing_table()->node) - 
1 : 1)

+#else
+  #define LEON3_TIMER_INDEX 0
+#endif

 rtems_boolean Timer_driver_Find_average_overhead;




--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[GSoC-Entry PATCH] RTEMS port for Raspberry pi 4 AArch64

2022-03-07 Thread Noor Aman
Hello, This is my patch for qualifying the RTEMS GSoC program. I have
attached a screenshot to show the running modified hello world. I have
created an entry in the GSoC 2022 page too.


diff --git a/testsuites/samples/hello/init.c
b/testsuites/samples/hello/init.c
index 34ded37c55..5e2ec70adc 100644
--- a/testsuites/samples/hello/init.c
+++ b/testsuites/samples/hello/init.c
@@ -22,7 +22,7 @@ static rtems_task Init(
 {
   rtems_print_printer_fprintf_putc(_test_printer);
   TEST_BEGIN();
-  printf( "Hello World\n" );
+  printf( "Hello World from Mohd Noor Aman AKA katana-flinger\n" );
   TEST_END();
   rtems_test_exit( 0 );
 }
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: Warnings when building sparc/leon3

2022-03-07 Thread Joel Sherrill
On Mon, Mar 7, 2022 at 11:54 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:

> On 07/03/2022 17:48, Joel Sherrill wrote:
> > This appears to be because
> > rtems_configuration_get_user_multiprocessing_table() always returns a
> > non-NULL value when RTEMS_MULTIPROCESSING is defined. This must be a
> change
> > versus previous behavior.
> >
> > Ryan and I noticed that the specific cases cited here appeared to be
> > wrapped in ifdef RTEMS_MULTIPROCESSING so didn't need to worry about it.
> > But something has changed that impacts public facing behavior.
>
> I think this is the related ticket:
>
> https://devel.rtems.org/ticket/3735


OK. But apparently this was used to tell the difference between a
single node system in MP configuration and a node within an
MP configuration.  My grep shows some uses are really dereferencing
the table but others like the one in amba.h:153 to define the clock
index looks wrong. THere is similar code in leon.h:

#if defined(RTEMS_MULTIPROCESSING)
  #define LEON3_CLOCK_INDEX \
   (rtems_configuration_get_user_multiprocessing_table() ? LEON3_Cpu_Index
: 0)
#else
  #define LEON3_CLOCK_INDEX 0
#endif

That's the type of pattern that needs addressing. That test is
asking in multiprocessing is configured in the application not
in the build.

--joel

>
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.hu...@embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Warnings when building sparc/leon3

2022-03-07 Thread Sebastian Huber

On 07/03/2022 17:48, Joel Sherrill wrote:

This appears to be because
rtems_configuration_get_user_multiprocessing_table() always returns a
non-NULL value when RTEMS_MULTIPROCESSING is defined. This must be a change
versus previous behavior.

Ryan and I noticed that the specific cases cited here appeared to be
wrapped in ifdef RTEMS_MULTIPROCESSING so didn't need to worry about it.
But something has changed that impacts public facing behavior.


I think this is the related ticket:

https://devel.rtems.org/ticket/3735

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Warnings when building sparc/leon3

2022-03-07 Thread Joel Sherrill
This appears to be because
rtems_configuration_get_user_multiprocessing_table() always returns a
non-NULL value when RTEMS_MULTIPROCESSING is defined. This must be a change
versus previous behavior.

Ryan and I noticed that the specific cases cited here appeared to be
wrapped in ifdef RTEMS_MULTIPROCESSING so didn't need to worry about it.
But something has changed that impacts public facing behavior.

--joel

On Mon, Mar 7, 2022 at 10:05 AM Ryan Long  wrote:

> Joel and I noticed these warnings when building the leon3 BSP with
> multiprocessing enabled. Joel thinks this means that something has
> changed around the multiprocessing configuration to generate these. Does
> anybody have an idea on how to fix these?
>
>
> In file included from ../../../cpukit/include/rtems.h:59,
>   from ../../../cpukit/libmisc/stackchk/check.c:28:
> ../../../cpukit/libmisc/stackchk/check.c: In function
> 'Stack_check_report_blown_task':
> ../../../cpukit/include/rtems/config.h:492:5: warning: the address of
> '_MPCI_Configuration' will always evaluate as 'true' [-Waddress]
>492 | ( &_MPCI_Configuration )
>| ^
> ../../../cpukit/libmisc/stackchk/check.c:281:9: note: in expansion of
> macro 'rtems_configuration_get_user_multiprocessing_table'
>281 | if (rtems_configuration_get_user_multiprocessing_table()) {
>| ^~
>
> ../../../cpukit/libmisc/monitor/mon-editor.c: In function
> 'rtems_monitor_command_read':
> ../../../cpukit/libmisc/monitor/mon-editor.c:503:7: warning: the address
> of '_MPCI_Configuration' will always evaluate as 'true' [-Waddress]
>503 |   if (!rtems_configuration_get_user_multiprocessing_table ())
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: hello world with devfs has no output

2022-03-07 Thread Sebastian Huber

On 07/03/2022 16:18, Joel Sherrill wrote:



On Mon, Mar 7, 2022 at 12:46 AM Sebastian Huber 
> wrote:


On 03/03/2022 00:06, Joel Sherrill wrote:
 > What's the missing capability now in devfs? This used to work.

Is this problem detected by one of the testsuites/libtests/devfs*
tests?
If not, could you add a test case which shows the problem?


It was actually the hello_world_c example from rtems-examples BEFORE
this patch from Ryan:

https://git.rtems.org/rtems-examples/commit/?id=5799ab5a8c4e5d6de6532ecea3d895bb01cfb9c9 



Pretty minimal. Does it need to be added to the devfs* tests?


Adding a test case which fails currently would be good.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Warnings when building sparc/leon3

2022-03-07 Thread Ryan Long
Joel and I noticed these warnings when building the leon3 BSP with 
multiprocessing enabled. Joel thinks this means that something has 
changed around the multiprocessing configuration to generate these. Does 
anybody have an idea on how to fix these?



In file included from ../../../cpukit/include/rtems.h:59,
 from ../../../cpukit/libmisc/stackchk/check.c:28:
../../../cpukit/libmisc/stackchk/check.c: In function 
'Stack_check_report_blown_task':
../../../cpukit/include/rtems/config.h:492:5: warning: the address of 
'_MPCI_Configuration' will always evaluate as 'true' [-Waddress]

  492 | ( &_MPCI_Configuration )
  | ^
../../../cpukit/libmisc/stackchk/check.c:281:9: note: in expansion of 
macro 'rtems_configuration_get_user_multiprocessing_table'

  281 | if (rtems_configuration_get_user_multiprocessing_table()) {
  | ^~

../../../cpukit/libmisc/monitor/mon-editor.c: In function 
'rtems_monitor_command_read':
../../../cpukit/libmisc/monitor/mon-editor.c:503:7: warning: the address 
of '_MPCI_Configuration' will always evaluate as 'true' [-Waddress]

  503 |   if (!rtems_configuration_get_user_multiprocessing_table ())

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: hello world with devfs has no output

2022-03-07 Thread Joel Sherrill
On Mon, Mar 7, 2022 at 12:46 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:

> On 03/03/2022 00:06, Joel Sherrill wrote:
> > What's the missing capability now in devfs? This used to work.
>
> Is this problem detected by one of the testsuites/libtests/devfs* tests?
> If not, could you add a test case which shows the problem?
>

It was actually the hello_world_c example from rtems-examples BEFORE
this patch from Ryan:

https://git.rtems.org/rtems-examples/commit/?id=5799ab5a8c4e5d6de6532ecea3d895bb01cfb9c9

Pretty minimal. Does it need to be added to the devfs* tests?

--joel

>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.hu...@embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 01/40] License Header Clean Up

2022-03-07 Thread Joel Sherrill
On Mon, Mar 7, 2022 at 7:25 AM Christian Mauderer <
christian.maude...@embedded-brains.de> wrote:

> Hello,
>
> during the re-license efforts, Joel noted that there are a lot of really
> odd old headers from people at embedded brains. We joined efforts to
> clean them up. After this patch series, we should have removed most of
> these odd headers.
>

To pile on that statement -- there should be NO changes to code -- only
file headers.

>
> Please don't hesitate to point out any mistakes that I did during the
> clean up. It was a repetitive task and therefore is definitively prone
> to errors.
>

I manually cleaned up some files but most of my changes were driven
by scripts and also may be subject to mistakes.

>
> In case some file doesn't reach the list: I also pushed the patches on a
> branch on gitlab:
>
>
> https://gitlab.com/c-mauderer/rtems/-/tree/cm/20220302_file_header_clean_up


I reviewed this and am ok with pushing it but it would be nice to hear
from others.  This touched a lot of files.

--joel

>
>
> Best regards
>
> Christian
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 33/40] testsuites: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625.
---
 testsuites/libtests/block10/init.c  | 6 --
 testsuites/sptests/spinternalerror02/init.c | 6 --
 2 files changed, 12 deletions(-)

diff --git a/testsuites/libtests/block10/init.c 
b/testsuites/libtests/block10/init.c
index b50c731d6d..d699968975 100644
--- a/testsuites/libtests/block10/init.c
+++ b/testsuites/libtests/block10/init.c
@@ -9,12 +9,6 @@
 /*
  * Copyright (c) 2010, 2018 embedded brains GmbH.
  *
- *   embedded brains GmbH
- *   Dornierstr. 4
- *   82178 Puchheim
- *   Germany
- *   rt...@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.
diff --git a/testsuites/sptests/spinternalerror02/init.c 
b/testsuites/sptests/spinternalerror02/init.c
index f958e8d9a2..21c686dce7 100644
--- a/testsuites/sptests/spinternalerror02/init.c
+++ b/testsuites/sptests/spinternalerror02/init.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2012, 2020 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Donierstr. 4
- *  82178 Puchheim
- *  Germany
- *  rt...@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.
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


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

2022-03-07 Thread Christian Mauderer
Updates #4625.
---
 bsps/powerpc/include/bsp/tsec.h   | 31 ++---
 bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h | 32 ++
 bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h | 34 +++---
 bsps/powerpc/virtex/include/bsp/irq.h | 32 ++
 bsps/powerpc/virtex/irq/irq_init.c| 44 +++
 bsps/powerpc/virtex5/include/bsp/irq.h| 32 ++
 bsps/powerpc/virtex5/irq/irq_init.c   | 35 ++-
 7 files changed, 99 insertions(+), 141 deletions(-)

diff --git a/bsps/powerpc/include/bsp/tsec.h b/bsps/powerpc/include/bsp/tsec.h
index 6e774ebbb8..d3aaad2e65 100644
--- a/bsps/powerpc/include/bsp/tsec.h
+++ b/bsps/powerpc/include/bsp/tsec.h
@@ -1,21 +1,16 @@
-/*===*\
-| Project: RTEMS support for MPC83xx  |
-+-+
-|Copyright (c) 2007   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 MPC83xx TSEC networking driver   |
-\*===*/
+/*
+ * RTEMS support for MPC83xx
+ *
+ * This file declares the MPC83xx TSEC networking 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.
+ */
 
 #ifndef LIBCPU_POWERPC_TSEC_H
 #define LIBCPU_POWERPC_TSEC_H
diff --git a/bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h 
b/bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h
index 8758568876..5ee3d63536 100644
--- a/bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h
+++ b/bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h
@@ -1,21 +1,17 @@
-/*===*\
-| Project: RTEMS support for MPC83xx  |
-+-+
-|Copyright (c) 2007   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 declarations  |
-\*===*/
+/*
+ * RTEMS support for MPC83xx
+ *
+ * This file contains the MPC83xx I2C driver declarations.
+ */
+
+/*
+ * 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 _MPC83XX_I2CDRV_H
 #define _MPC83XX_I2CDRV_H
 
diff --git a/bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h 
b/bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h
index 9fcffb114d..48212469ab 100644
--- a/bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h
+++ b/bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h
@@ -1,22 +1,18 @@
-/*===*\
-| Project: RTEMS support for MPC83xx  |
-+-+
-|Copyright (c) 2007   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|

[PATCH 15/40] bsps/m68k/gen68360/spi/m360_spi.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/gen68360/spi/m360_spi.h | 23 +++
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/bsps/m68k/gen68360/spi/m360_spi.h 
b/bsps/m68k/gen68360/spi/m360_spi.h
index 1a18707fe9..9e6bc5c9c1 100644
--- a/bsps/m68k/gen68360/spi/m360_spi.h
+++ b/bsps/m68k/gen68360/spi/m360_spi.h
@@ -6,22 +6,13 @@
  *  @brief this file contains the MC68360 SPI driver declarations
  */
 
-/*===*\
-| Project: RTEMS support for MC68360  |
-+-+
-|Copyright (c) 2008   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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.   |
-| |
-\*===*/
+/*
+ * 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.
+ */
 
 /**
  *  @defgroup m68k_m360spi M360_SPIDRV Support
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 39/40] bsps: Automated IMD header file clean up

2022-03-07 Thread Christian Mauderer
Use the same form of IMD in all copyright lines

Update #4625.
---
 bsps/i386/pc386/ata/ide.c| 2 +-
 bsps/i386/pc386/ata/idecfg.c | 2 +-
 bsps/powerpc/gen5200/ata/pcmcia_ide.c| 2 +-
 bsps/powerpc/gen5200/slicetimer/slicetimer.c | 2 +-
 bsps/powerpc/shared/clock/clock-ppc403.c | 2 +-
 bsps/powerpc/virtex/include/bsp.h| 2 +-
 bsps/powerpc/virtex/start/bspstart.c | 4 ++--
 bsps/powerpc/virtex4/include/bsp.h   | 2 +-
 bsps/powerpc/virtex4/start/bspstart.c| 4 ++--
 bsps/powerpc/virtex5/include/bsp.h   | 2 +-
 bsps/powerpc/virtex5/start/bspstart.c| 4 ++--
 11 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/bsps/i386/pc386/ata/ide.c b/bsps/i386/pc386/ata/ide.c
index 8b0b585d22..04cf943939 100644
--- a/bsps/i386/pc386/ata/ide.c
+++ b/bsps/i386/pc386/ata/ide.c
@@ -8,7 +8,7 @@
  */
 
 /*
- * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2003 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/bsps/i386/pc386/ata/idecfg.c b/bsps/i386/pc386/ata/idecfg.c
index 777b8bcbe0..35d4a790f2 100644
--- a/bsps/i386/pc386/ata/idecfg.c
+++ b/bsps/i386/pc386/ata/idecfg.c
@@ -6,7 +6,7 @@
  */
 
 /*
- * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2003 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/bsps/powerpc/gen5200/ata/pcmcia_ide.c 
b/bsps/powerpc/gen5200/ata/pcmcia_ide.c
index 33d6162c17..931e22769d 100644
--- a/bsps/powerpc/gen5200/ata/pcmcia_ide.c
+++ b/bsps/powerpc/gen5200/ata/pcmcia_ide.c
@@ -9,7 +9,7 @@
  */
 
 /*
- * Copyright (c) 2003 IMD Ingenieurbuero fuer Microcomputertechnik Th. 
Doerfler.
+ * Copyright (c) 2003 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  * Copyright (c) 2003 IPR Engineering
  * Copyright (c) 2005 embedded brains GmbH. All rights reserved.
diff --git a/bsps/powerpc/gen5200/slicetimer/slicetimer.c 
b/bsps/powerpc/gen5200/slicetimer/slicetimer.c
index d99e0ed532..196e0df81d 100644
--- a/bsps/powerpc/gen5200/slicetimer/slicetimer.c
+++ b/bsps/powerpc/gen5200/slicetimer/slicetimer.c
@@ -27,7 +27,7 @@
  *of this software for any purpose.
  *
  * Modifications for deriving timer clock from cpu system clock by
- * Copyright (c) 1997 by Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 1997 IMD Ingenieurbuero fuer Microcomputertechnik
  *
  * COPYRIGHT (c) 1989-1999.
  * On-Line Applications Research Corporation (OAR).
diff --git a/bsps/powerpc/shared/clock/clock-ppc403.c 
b/bsps/powerpc/shared/clock/clock-ppc403.c
index bc744455e2..840e1c82ea 100644
--- a/bsps/powerpc/shared/clock/clock-ppc403.c
+++ b/bsps/powerpc/shared/clock/clock-ppc403.c
@@ -26,7 +26,7 @@
  *  Modifications for deriving timer clock from cpu system clock by
  *  Thomas Doerfler 
  *  for these modifications:
- *  COPYRIGHT (c) 1997 by IMD, Puchheim, Germany.
+ *  Copyright (c) 1997 IMD Ingenieurbuero fuer Microcomputertechnik
  *
  *  COPYRIGHT (c) 1989-2012.
  *  On-Line Applications Research Corporation (OAR).
diff --git a/bsps/powerpc/virtex/include/bsp.h 
b/bsps/powerpc/virtex/include/bsp.h
index b55e1a61f3..69f98f4b76 100644
--- a/bsps/powerpc/virtex/include/bsp.h
+++ b/bsps/powerpc/virtex/include/bsp.h
@@ -15,7 +15,7 @@
  *  Author:Thomas Doerfler 
  *  IMD Ingenieurbuero fuer Microcomputertechnik
  *
- *  COPYRIGHT (c) 1998 by IMD
+ *  Copyright (c) 1998 IMD Ingenieurbuero fuer Microcomputertechnik
  *
  *  Changes from IMD are covered by the original distributions terms.
  *  This file has been derived from the papyrus BSP.
diff --git a/bsps/powerpc/virtex/start/bspstart.c 
b/bsps/powerpc/virtex/start/bspstart.c
index 11eb57c46e..641eff9071 100644
--- a/bsps/powerpc/virtex/start/bspstart.c
+++ b/bsps/powerpc/virtex/start/bspstart.c
@@ -12,7 +12,7 @@
  *  Author:Thomas Doerfler 
  *  IMD Ingenieurbuero fuer Microcomputertechnik
  *
- *  COPYRIGHT (c) 1998 by IMD
+ *  Copyright (c) 1998 IMD Ingenieurbuero fuer Microcomputertechnik
  *
  *  Changes from IMD are covered by the original distributions terms.
  *  This file has been derived from the papyrus BSP:
@@ -36,7 +36,7 @@
  *  with linker command file by
  *  Thomas Doerfler 
  *  for these modifications:
- *  COPYRIGHT (c) 1997 by IMD, Puchheim, Germany.
+ *  Copyright (c) 1997 IMD Ingenieurbuero fuer Microcomputertechnik
  *
  *  To anyone who acknowledges that this file is provided "AS IS"
  *  without any express or implied warranty:
diff --git a/bsps/powerpc/virtex4/include/bsp.h 
b/bsps/powerpc/virtex4/include/bsp.h
index d0ab96813d..dc9d4cd0a5 100644
--- a/bsps/powerpc/virtex4/include/bsp.h
+++ b/bsps/powerpc/virtex4/include/bsp.h
@@ -16,7 +16,7 @@
  *  Author:Thomas 

[PATCH 35/40] bsps and cpukit: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625.
---
 bsps/i386/pc386/ata/ide.c | 41 ++-
 bsps/i386/pc386/ata/idecfg.c  | 33 +-
 cpukit/include/rtems/fsmount.h| 13 +++
 cpukit/include/rtems/serdbg.h | 34 +--
 cpukit/include/rtems/serdbgcnf.h  | 27 +--
 cpukit/include/rtems/termios_printk.h | 32 --
 cpukit/include/rtems/termios_printk_cnf.h | 27 +--
 cpukit/libfs/src/dosfs/msdos_format.c | 13 +++
 cpukit/libmisc/fsmount/fsmount.c  | 16 -
 cpukit/libmisc/serdbg/serdbg.c| 33 +-
 10 files changed, 113 insertions(+), 156 deletions(-)

diff --git a/bsps/i386/pc386/ata/ide.c b/bsps/i386/pc386/ata/ide.c
index 52877cf60b..8b0b585d22 100644
--- a/bsps/i386/pc386/ata/ide.c
+++ b/bsps/i386/pc386/ata/ide.c
@@ -1,27 +1,20 @@
-/*===*\
-| Project: RTEMS PC386 IDE harddisc driver|
-+-+
-| File: ide.c |
-+-+
-|Copyright (c) 2003 IMD   |
-|  Ingenieurbuero fuer Microcomputertechnik Th. Doerfler  |
-| |
-|   all rights reserved   |
-+-+
-| this file contains the BSP layer for IDE access below the   |
-| libchip IDE harddisc driver |
-| based on a board specific driver from   |
-| Eugeny S. Mints, Oktet  |
-| |
-|  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  historyID   |
-| ~~~ |
-| 01.14.03  creation doe  |
-\*===*/
+/*
+ * RTEMS PC386 IDE harddisc driver
+ *
+ * This file contains the BSP layer for IDE access below the
+ * libchip IDE harddisc driver.
+ * based on a board specific driver from
+ * Eugeny S. Mints, Oktet
+ */
+
+/*
+ * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * 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 
 
diff --git a/bsps/i386/pc386/ata/idecfg.c b/bsps/i386/pc386/ata/idecfg.c
index 371a6eea53..777b8bcbe0 100644
--- a/bsps/i386/pc386/ata/idecfg.c
+++ b/bsps/i386/pc386/ata/idecfg.c
@@ -1,21 +1,18 @@
-/*===*\
-| Project: RTEMS PC386 IDE harddisc driver tables |
-+-+
-| File: idecfg.c  |
-+-+
-|Copyright (c) 2003 IMD   |
-|  Ingenieurbuero fuer Microcomputertechnik Th. Doerfler  |
-| |
-|   all rights reserved   |
-+-+
-| this file contains the table of functions for the BSP layer |
-| for IDE access below the libchip IDE harddisc driver|
-| |
-+-+
-|   date  historyID   |
-| ~~~ |
-| 01.14.03  creation doe  |
-\*===*/
+/*
+ * RTEMS PC386 IDE harddisc driver tables
+ *
+ * This file contains the table of functions for the BSP layer
+ * for IDE access below the libchip IDE harddisc driver.
+ */
+
+/*
+ * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * 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/cpukit/include/rtems/fsmount.h b/cpukit/include/rtems/fsmount.h
index 

[PATCH 25/40] bsps/testsuites/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 testsuites/benchmarks/dhrystone/init.c | 6 --
 testsuites/benchmarks/linpack/init.c   | 6 --
 testsuites/benchmarks/whetstone/init.c | 6 --
 testsuites/fstests/fsbdpart01/init.c   | 6 --
 testsuites/fstests/fsdosfsformat01/init.c  | 6 --
 testsuites/fstests/fsdosfsname01/create_files.cs   | 6 --
 testsuites/fstests/fsdosfsname01/image_bin_le_multibyte.h  | 6 --
 testsuites/fstests/fsdosfsname01/image_bin_le_singlebyte.h | 6 --
 testsuites/fstests/fsdosfsname01/init.c| 6 --
 testsuites/fstests/fsdosfsname02/init.c| 6 --
 testsuites/fstests/fsdosfssync01/init.c| 6 --
 testsuites/fstests/fsdosfswrite01/init.c   | 6 --
 testsuites/fstests/fsfseeko01/init.c   | 6 --
 testsuites/fstests/fsimfsconfig01/init.c   | 6 --
 testsuites/fstests/fsimfsconfig02/init.c   | 6 --
 testsuites/fstests/fsimfsconfig03/init.c   | 6 --
 testsuites/fstests/fsjffs2gc01/init.c  | 6 --
 testsuites/fstests/fsnofs01/init.c | 6 --
 testsuites/fstests/fsrofs01/init.c | 6 --
 testsuites/fstests/jffs2_support/fs_config.h   | 6 --
 testsuites/fstests/jffs2_support/fs_support.c  | 6 --
 testsuites/libtests/block01/init.c | 6 --
 testsuites/libtests/block02/init.c | 6 --
 testsuites/libtests/block03/init.c | 6 --
 testsuites/libtests/block04/init.c | 6 --
 testsuites/libtests/block05/init.c | 6 --
 testsuites/libtests/block07/init.c | 6 --
 testsuites/libtests/block09/init.c | 6 --
 testsuites/libtests/block10/init.c | 4 ++--
 testsuites/libtests/block11/init.c | 6 --
 testsuites/libtests/block12/init.c | 6 --
 testsuites/libtests/block13/init.c | 6 --
 testsuites/libtests/block14/init.c | 6 --
 testsuites/libtests/block15/init.c | 6 --
 testsuites/libtests/block16/init.c | 6 --
 testsuites/libtests/block17/init.c | 6 --
 testsuites/libtests/crypt01/init.c | 6 --
 testsuites/libtests/defaultconfig01/init.c | 6 --
 testsuites/libtests/exit01/init.c  | 6 --
 testsuites/libtests/exit02/init.c  | 6 --
 testsuites/libtests/flashdisk01/init.c | 6 --
 testsuites/libtests/flashdisk01/test-file-system.c | 6 --
 testsuites/libtests/flashdisk01/test-file-system.h | 6 --
 testsuites/libtests/getentropy01/init.c| 6 --
 testsuites/libtests/i2c01/init.c   | 6 --
 testsuites/libtests/libfdt01/init.c| 6 --
 testsuites/libtests/libfdt01/some.dts  | 6 --
 testsuites/libtests/md501/init.c   | 6 --
 testsuites/libtests/newlib01/init.c| 6 --
 testsuites/libtests/ofw01/some.dts | 6 --
 testsuites/libtests/pwdgrp01/init.c| 6 --
 testsuites/libtests/pwdgrp02/init.c| 6 --
 testsuites/libtests/rbheap01/init.c| 6 --
 testsuites/libtests/sha/init.c | 6 --
 testsuites/libtests/shell01/init.c | 6 --
 testsuites/libtests/sparsedisk01/init.c| 6 --
 testsuites/libtests/spi01/init.c   | 6 --
 testsuites/libtests/termios09/init.c   | 6 --
 testsuites/libtests/utf8proc01/init.c  | 6 --
 testsuites/psxtests/psx15/init.c   | 6 --
 testsuites/psxtests/psxcleanup02/init.c| 6 --
 testsuites/psxtests/psxcleanup02/main.c| 6 --
 testsuites/psxtests/psxclockrealtime01/init.c  | 6 --
 testsuites/psxtests/psxconfig01/init.c | 6 --
 testsuites/psxtests/psxglobalcon01/init.cc | 6 --
 testsuites/psxtests/psxglobalcon02/init.cc | 6 --
 testsuites/psxtests/psxthreadname01/init.c | 6 --
 testsuites/smptests/smpatomic01/init.c | 6 --
 testsuites/smptests/smpclock01/init.c  | 6 --
 testsuites/smptests/smpfatal01/init.c  

[PATCH 31/40] bsps/powerpc/gen5200: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625.
---
 bsps/powerpc/gen5200/ata/idecfg.c | 32 +++-
 bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c | 32 +++-
 bsps/powerpc/gen5200/i2c/i2cdrv.c | 37 ++-
 bsps/powerpc/gen5200/i2c/mpc5200mbus.c| 35 ++
 bsps/powerpc/gen5200/i2c/mpc5200mbus.h| 31 
 bsps/powerpc/gen5200/include/bsp.h| 34 +++--
 .../include/bsp/bestcomm/bestcomm_glue.h  | 32 +++-
 bsps/powerpc/gen5200/include/bsp/mpc5200.h| 34 +++--
 bsps/powerpc/gen5200/include/bsp/mscan.h  | 35 +++---
 bsps/powerpc/gen5200/include/bsp/slicetimer.h | 35 +++---
 bsps/powerpc/gen5200/mscan/mscan.c| 31 +++-
 bsps/powerpc/gen5200/mscan/mscan_int.h| 35 +++---
 bsps/powerpc/gen5200/rtc/pcf8563.c| 32 +---
 bsps/powerpc/gen5200/rtc/pcf8563.h| 32 +---
 bsps/powerpc/gen5200/rtc/todcfg.c | 32 +---
 15 files changed, 181 insertions(+), 318 deletions(-)

diff --git a/bsps/powerpc/gen5200/ata/idecfg.c 
b/bsps/powerpc/gen5200/ata/idecfg.c
index 8f274f3ce1..1624f9bc76 100644
--- a/bsps/powerpc/gen5200/ata/idecfg.c
+++ b/bsps/powerpc/gen5200/ata/idecfg.c
@@ -1,21 +1,17 @@
-/*===*\
-| Project: RTEMS generic MPC5200 BSP  |
-+-+
-|Copyright (c) 2005   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 IDE configuration|
-\*===*/
+/*
+ * RTEMS generic MPC5200 BSP
+ *
+ * This file contains the IDE configuration.
+ */
+
+/*
+ * Copyright (c) 2005 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 
 #include 
diff --git a/bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c 
b/bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c
index 9971faec2b..4981247d39 100644
--- a/bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c
+++ b/bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c
@@ -1,21 +1,17 @@
-/*===*\
-| Project: RTEMS generic MPC5200 BSP  |
-+-+
-|Copyright (c) 2004-2005  |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 glue functions to the Freescale BestComm API |
-\*===*/
+/*
+ * RTEMS generic MPC5200 BSP
+ *
+ * This file contains glue functions to the Freescale BestComm API.
+ */
+
+/*
+ * Copyright (c) 2004-2005 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 
 #include 
diff --git a/bsps/powerpc/gen5200/i2c/i2cdrv.c 
b/bsps/powerpc/gen5200/i2c/i2cdrv.c
index c1a5a93764..1d612f1ad6 100644
--- 

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

2022-03-07 Thread Christian Mauderer
Updates #4625.
---
 bsps/powerpc/mpc55xxevb/i2c/i2c_init.c  | 31 +++-
 bsps/powerpc/qemuppc/irq/irq_init.c | 31 +++-
 bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h | 40 +
 bsps/powerpc/virtex4/include/bsp/irq.h  | 32 -
 bsps/powerpc/virtex4/irq/irq_init.c | 35 --
 5 files changed, 71 insertions(+), 98 deletions(-)

diff --git a/bsps/powerpc/mpc55xxevb/i2c/i2c_init.c 
b/bsps/powerpc/mpc55xxevb/i2c/i2c_init.c
index dfcc621a31..d414fe61f0 100644
--- a/bsps/powerpc/mpc55xxevb/i2c/i2c_init.c
+++ b/bsps/powerpc/mpc55xxevb/i2c/i2c_init.c
@@ -1,21 +1,16 @@
-/*===*\
-| Project: RTEMS support for GWLCFM   |
-+-+
-|Copyright (c) 2010   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 MPC5516 I2C driver parameters  |
-\*===*/
+/*
+ * RTEMS support for GWLCFM
+ *
+ * This file contains the low level MPC5516 I2C driver parameters.
+ */
+
+/*
+ * Copyright (c) 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.
+ */
 
 #include 
 
diff --git a/bsps/powerpc/qemuppc/irq/irq_init.c 
b/bsps/powerpc/qemuppc/irq/irq_init.c
index 2171a8d8dd..c3e0aca915 100644
--- a/bsps/powerpc/qemuppc/irq/irq_init.c
+++ b/bsps/powerpc/qemuppc/irq/irq_init.c
@@ -1,21 +1,16 @@
-/*===*\
-| Project: RTEMS generic MPC83xx BSP  |
-+-+
-|Copyright (c) 2007   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 
 
diff --git a/bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h 
b/bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h
index a352d2c2a7..e6347ea0c6 100644
--- a/bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h
+++ b/bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h
@@ -1,30 +1,24 @@
-/*===*\
-| Project: RTEMS BSP support for TQ modules   |
-+-+
-| Partially based on the code references which are named below.   |
-| Adaptions, modifications, enhancements and any recent parts of  |
-| the code are:   |
-|Copyright (c) 2007   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim

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

2022-03-07 Thread Christian Mauderer
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  |
-|rt...@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 
 #include 
 #include 
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  |
-|rt...@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 
 #include 
 #include 
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 

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

2022-03-07 Thread Christian Mauderer
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  |
-|rt...@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  |
-|rt...@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   |

[PATCH 28/40] bsps/powerpc/tqm8xx: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625.
---
 bsps/powerpc/tqm8xx/btimer/btimer.c   | 37 ++---
 bsps/powerpc/tqm8xx/console/console.c | 34 +++
 bsps/powerpc/tqm8xx/include/bsp.h | 12 ++--
 bsps/powerpc/tqm8xx/include/bsp/irq.h | 40 ---
 bsps/powerpc/tqm8xx/include/bsp/spi.h | 32 ++---
 bsps/powerpc/tqm8xx/include/bsp/tqm.h | 36 ++--
 bsps/powerpc/tqm8xx/irq/irq.c | 39 +++---
 bsps/powerpc/tqm8xx/spi/spi.c | 32 ++---
 bsps/powerpc/tqm8xx/start/mmutlbtab.c | 31 +
 bsps/powerpc/tqm8xx/start/start.S | 33 ++
 10 files changed, 124 insertions(+), 202 deletions(-)

diff --git a/bsps/powerpc/tqm8xx/btimer/btimer.c 
b/bsps/powerpc/tqm8xx/btimer/btimer.c
index bb90a11764..ff1192b256 100644
--- a/bsps/powerpc/tqm8xx/btimer/btimer.c
+++ b/bsps/powerpc/tqm8xx/btimer/btimer.c
@@ -1,25 +1,18 @@
-/*===*\
-| Project: RTEMS TQM8xx BSP   |
-+-+
-| This file has been adapted to MPC8xx by |
-|Thomas Doerfler  |
-|Copyright (c) 2008   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@embedded-brains.de |
-| |
-| See the other copyright notice below for the original parts.|
-+-+
-| 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 console driver   |
-\*===*/
+/*
+ * RTEMS TQM8xx BSP
+ *
+ * This file contains the console driver.
+ */
+
+/*
+ * Copyright (c) 2008 Thomas Doerfler, 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.
+ */
+
 /*
  * benchmark_timer_initialize()
  *
diff --git a/bsps/powerpc/tqm8xx/console/console.c 
b/bsps/powerpc/tqm8xx/console/console.c
index d5b0569707..0e0dace33e 100644
--- a/bsps/powerpc/tqm8xx/console/console.c
+++ b/bsps/powerpc/tqm8xx/console/console.c
@@ -1,27 +1,8 @@
-/*===*\
-| Project: RTEMS TQM8xx BSP   |
-+-+
-| This file has been adapted to MPC8xx by |
-|Thomas Doerfler  |
-|Copyright (c) 2008   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@embedded-brains.de |
-| |
-| See the other copyright notice below for the original parts.|
-+-+
-| 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 console driver   |
-\*===*/
-/* derived from: */
 /*
+ * RTEMS TQM8xx BSP
+ *
+ * This file contains the console driver.
+ *
  *  SMC1/2 SCC1..4 raw console serial I/O.
  *  adapted to work with up to 4 SCC and 2 SMC
  *
@@ -29,7 +10,9 @@
  *
  *  To run with interrupt-driven I/O, ensure m8xx_smc1_interrupt
  *  is set before calling the initialization routine.
- *
+ */
+
+/*
  *  Author:
  *W. Eric Norum
  *Saskatchewan Accelerator Laboratory
@@ -41,6 +24,9 @@
  *  

[PATCH 19/40] bsps/arm/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/arm/altera-cyclone-v/console/console-config.c| 6 --
 bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c | 6 --
 bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.h | 6 --
 bsps/arm/altera-cyclone-v/i2c/i2cdrv.c| 6 --
 bsps/arm/altera-cyclone-v/include/bsp.h   | 6 --
 bsps/arm/altera-cyclone-v/include/bsp/i2cdrv.h| 6 --
 bsps/arm/altera-cyclone-v/include/bsp/irq.h   | 6 --
 bsps/arm/altera-cyclone-v/include/tm27.h  | 6 --
 bsps/arm/altera-cyclone-v/rtc/rtc.c   | 6 --
 bsps/arm/altera-cyclone-v/start/bspclean.c| 6 --
 bsps/arm/altera-cyclone-v/start/bspreset.c| 6 --
 bsps/arm/altera-cyclone-v/start/bspsmp.c  | 6 --
 bsps/arm/altera-cyclone-v/start/bspstart.c| 6 --
 bsps/arm/altera-cyclone-v/start/bspstarthooks.c   | 6 --
 bsps/arm/altera-cyclone-v/start/mmu-config.c  | 6 --
 bsps/arm/atsam/clock/systick-freq.c   | 6 --
 bsps/arm/atsam/console/console.c  | 6 --
 bsps/arm/atsam/console/debug-console.c| 6 --
 bsps/arm/atsam/i2c/atsam_i2c_bus.c| 6 --
 bsps/arm/atsam/i2c/atsam_i2c_init.c   | 6 --
 bsps/arm/atsam/include/bsp.h  | 6 --
 bsps/arm/atsam/include/bsp/atsam-clock-config.h   | 6 --
 bsps/arm/atsam/include/bsp/atsam-i2c.h| 6 --
 bsps/arm/atsam/include/bsp/atsam-spi.h| 6 --
 bsps/arm/atsam/include/bsp/i2c.h  | 6 --
 bsps/arm/atsam/include/bsp/iocopy.h   | 6 --
 bsps/arm/atsam/include/bsp/irq.h  | 6 --
 bsps/arm/atsam/include/bsp/pin-config.h   | 6 --
 bsps/arm/atsam/include/bsp/power.h| 6 --
 bsps/arm/atsam/include/bsp/sc16is752.h| 6 --
 bsps/arm/atsam/include/bsp/spi.h  | 6 --
 bsps/arm/atsam/rtc/rtc-config.c   | 6 --
 bsps/arm/atsam/spi/atsam_spi_init.c   | 6 --
 bsps/arm/atsam/spi/sc16is752.c| 6 --
 bsps/arm/atsam/start/bspstart.c   | 6 --
 bsps/arm/atsam/start/bspstarthooks.c  | 6 --
 bsps/arm/atsam/start/getentropy-trng.c| 6 --
 bsps/arm/atsam/start/iocopy.c | 6 --
 bsps/arm/atsam/start/pin-config.c | 6 --
 bsps/arm/atsam/start/pmc-config.c | 6 --
 bsps/arm/atsam/start/power-clock.c| 6 --
 bsps/arm/atsam/start/power-rtc.c  | 6 --
 bsps/arm/atsam/start/power.c  | 6 --
 bsps/arm/atsam/start/restart.c| 6 --
 bsps/arm/atsam/start/sdram-config.c   | 6 --
 bsps/arm/beagle/start/bspstart.c  | 6 --
 bsps/arm/beagle/start/bspstarthooks.c | 6 --
 bsps/arm/beagle/start/bspstartmmu.c   | 6 --
 bsps/arm/imx/console/console-config.c | 6 --
 bsps/arm/imx/i2c/imx-i2c.c| 6 --
 bsps/arm/imx/include/arm/freescale/imx/imx_ecspireg.h | 6 --
 bsps/arm/imx/include/arm/freescale/imx/imx_gpcreg.h   | 6 --
 bsps/arm/imx/include/arm/freescale/imx/imx_i2creg.h   | 6 --
 bsps/arm/imx/include/arm/freescale/imx/imx_srcreg.h   | 6 --
 bsps/arm/imx/include/arm/freescale/imx/imx_uartreg.h  | 6 --
 bsps/arm/imx/include/bsp.h| 6 --
 bsps/arm/imx/include/bsp/irq.h| 6 --
 bsps/arm/imx/include/tm27.h   | 6 --
 bsps/arm/imx/spi/imx-ecspi.c  | 6 --
 bsps/arm/imx/start/bspreset.c | 6 --
 bsps/arm/imx/start/bspsmp.c   | 6 --
 bsps/arm/imx/start/bspstart.c | 6 --
 bsps/arm/imx/start/bspstarthooks.c| 6 --
 bsps/arm/imx/start/ccm.c  | 6 --
 bsps/arm/imxrt/start/bspstarthooks.c  | 6 --
 bsps/arm/include/bsp/arm-a9mpcore-irq.h   | 6 --
 bsps/arm/include/bsp/arm-a9mpcore-regs.h  | 6 --
 bsps/arm/include/bsp/arm-a9mpcore-start.h | 6 --
 bsps/arm/include/bsp/arm-cp15-start.h | 6 --
 bsps/arm/include/bsp/arm-errata.h | 6 --
 bsps/arm/include/bsp/arm-pl050-regs.h | 6 --
 bsps/arm/include/bsp/arm-pl050.h  | 6 --
 bsps/arm/include/bsp/arm-pl111-fb.h   | 6 --
 bsps/arm/include/bsp/arm-pl111-regs.h | 6 --
 bsps/arm/include/bsp/arm-release-id.h | 6 --
 

[PATCH 17/40] m68k/genmcf548x/: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/genmcf548x/btimer/btimer.c  | 72 +++
 bsps/m68k/genmcf548x/clock/clock.c| 70 +++---
 bsps/m68k/genmcf548x/include/bsp/irq.h|  6 --
 .../genmcf548x/irq/intc-icr-init-values.c |  6 --
 bsps/m68k/genmcf548x/irq/irq.c|  6 --
 bsps/m68k/genmcf548x/mcdma/mcdma_glue.c   | 32 -
 bsps/m68k/genmcf548x/start/bspstart.c | 68 +++---
 bsps/m68k/genmcf548x/start/cache.c|  6 --
 bsps/m68k/genmcf548x/start/init548x.c | 70 +++---
 bsps/m68k/genmcf548x/start/linkcmds.COBRA5475 |  4 +-
 .../genmcf548x/start/linkcmds.m5484FireEngine |  4 +-
 .../start/linkcmds.m5484FireEngine.flash  |  4 +-
 bsps/m68k/genmcf548x/start/start.S|  4 +-
 13 files changed, 125 insertions(+), 227 deletions(-)

diff --git a/bsps/m68k/genmcf548x/btimer/btimer.c 
b/bsps/m68k/genmcf548x/btimer/btimer.c
index acac6f8f9b..9b95fd32cd 100644
--- a/bsps/m68k/genmcf548x/btimer/btimer.c
+++ b/bsps/m68k/genmcf548x/btimer/btimer.c
@@ -1,48 +1,30 @@
-/*===*\
-| Project: RTEMS generic mcf548x BSP  |
-+-+
-| File: timer.c   |
-+-+
-| The file contains the diagnostic timer code of generic MCF548x  |
-| BSP.|
-+-+
-|Copyright (c) 2007   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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  historyID   |
-| ~~~ |
-| 12.11.071.0ras  |
-| |
-\*===*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains the diagnostic timer code of 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 

[PATCH 14/40] bsps/lm32/include/bsp/irq.h: manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/lm32/include/bsp/irq.h | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/bsps/lm32/include/bsp/irq.h b/bsps/lm32/include/bsp/irq.h
index 416af841a7..6e6b74feaf 100644
--- a/bsps/lm32/include/bsp/irq.h
+++ b/bsps/lm32/include/bsp/irq.h
@@ -9,12 +9,7 @@
 /*
  * Based on concepts of Pavel Pisa, Till Straumann and Eric Valette.
  *
- * Copyright (c) 2008, 2009, 2010
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * 
+ * Copyright (c) 2008, 2009, 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
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 37/40] bsps/powerpc/gen5200: Manual Header clean up

2022-03-07 Thread Christian Mauderer
Update #4625.
---
 bsps/powerpc/gen5200/console/console.c   | 135 +-
 bsps/powerpc/gen5200/include/bsp/irq.h   | 120 +---
 bsps/powerpc/gen5200/include/bsp/nvram.h | 112 +--
 bsps/powerpc/gen5200/irq/irq.c   |  94 +++-
 bsps/powerpc/gen5200/slicetimer/slicetimer.c | 142 ++-
 bsps/powerpc/gen5200/start/bspstart.c| 141 ++
 bsps/powerpc/gen5200/start/start.S   | 135 ++
 7 files changed, 262 insertions(+), 617 deletions(-)

diff --git a/bsps/powerpc/gen5200/console/console.c 
b/bsps/powerpc/gen5200/console/console.c
index 7b7a704ee4..eecf231062 100644
--- a/bsps/powerpc/gen5200/console/console.c
+++ b/bsps/powerpc/gen5200/console/console.c
@@ -1,99 +1,42 @@
-/*===*\
-| Project: RTEMS generic MPC5200 BSP  |
-+-+
-| Partially based on the code references which are named below.   |
-| Adaptions, modifications, enhancements and any recent parts of  |
-| the code are:   |
-|Copyright (c) 2005   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 console driver functions |
-\*===*/
-/***/
-/* */
-/*   Module:   console.c   */
-/*   Date: 07/17/2003  */
-/*   Purpose:  RTEMS MPC5x00 console driver*/
-/* */
-/*-*/
-/* */
-/*   Description:  */
-/* */
-/*  The PSCs of mpc5200 are assigned as follows*/
-/* */
-/*  Channel Device  Minor   Note   */
-/*PSC1  /dev/tty0  0   */
-/*PSC2  /dev/tty1  1   */
-/*PSC3  /dev/tty2  2   */
-/* */
-/*-*/
-/* */
-/*   Code  */
-/*   References:   Serial driver for MPC8260ads*/
-/*   Module:   console-generic.c   */
-/*   Project:  RTEMS 4.6.0pre1 / MPC8260ads BSP*/
-/*   Version   1.3 */
-/*   Date: 2002/11/04  */
-/* */
-/*   Author(s) / Copyright(s): */
-/* */
-/*   Author: Jay Monkman (jmonk...@frasca.com) */
-/*   Copyright (C) 1998 by Frasca International, Inc.  */
-/* */
-/*   Derived from c/src/lib/libbsp/m68k/gen360/console/console.c   */
-/*   written by:   */
-/*   W. Eric Norum */
-/*   Saskatchewan Accelerator Laboratory   */
-/*   University of Saskatchewan*/
-/*   Saskatoon, Saskatchewan, CANADA 

[PATCH 40/40] bsps/m68k: Restore license file

2022-03-07 Thread Christian Mauderer
Quite some files in the bsps/m68k/genmcf548x mention a
Freescale_license.txt file. The file has been accidentally removed
during the source reorganization in 2018. This commit restores it and
moves it to the right location for licenses.

Update #4625.
---
 LICENSE.Freescale | 132 ++
 bsps/m68k/genmcf548x/README   |   2 +-
 bsps/m68k/genmcf548x/btimer/btimer.c  |   2 +-
 bsps/m68k/genmcf548x/clock/clock.c|   2 +-
 bsps/m68k/genmcf548x/console/console.c|   2 +-
 bsps/m68k/genmcf548x/include/bsp.h|   2 +-
 bsps/m68k/genmcf548x/start/init548x.c |   2 +-
 bsps/m68k/genmcf548x/start/linkcmds.COBRA5475 |   2 +-
 .../genmcf548x/start/linkcmds.m5484FireEngine |   2 +-
 .../start/linkcmds.m5484FireEngine.flash  |   2 +-
 bsps/m68k/genmcf548x/start/start.S|   2 +-
 bsps/m68k/include/mcf548x/mcf548x.h   |   2 +-
 12 files changed, 143 insertions(+), 11 deletions(-)
 create mode 100644 LICENSE.Freescale

diff --git a/LICENSE.Freescale b/LICENSE.Freescale
new file mode 100644
index 00..b844714dce
--- /dev/null
+++ b/LICENSE.Freescale
@@ -0,0 +1,132 @@
+FREESCALE SEMICONDUCTOR SOFTWARE LICENSE AGREEMENT
+
+This is a legal agreement between you (either as an individual or as an
+authorized representative of your employer) and Freescale Semiconductor,
+Inc. ("Freescale"). It concerns your rights to use this file and any
+accompanying written materials (the "Software"). In consideration for
+Freescale allowing you to access the Software, you are agreeing to be
+bound by the terms of this Agreement. If you do not agree to all of the
+terms of this Agreement, do not download the Software. If you change your
+mind later, stop using the Software and delete all copies of the Software
+in your possession or control. Any copies of the Software that you have
+already distributed, where permitted, and do not destroy will continue
+to be governed by this Agreement. Your prior use will also continue to
+be governed by this Agreement.
+
+LICENSE GRANT.  Freescale grants to you, free of charge, the
+non-exclusive, non-transferable right (1) to use the Software, (2) to
+reproduce the Software, (3) to prepare derivative works of the Software,
+(4) to distribute the Software and derivative works thereof in source
+(human-readable) form and object (machine readable) form, and (5) to
+sublicense to others the right to use the distributed Software. If you
+violate any of the terms or restrictions of this Agreement, Freescale
+may immediately terminate this Agreement, and require that you stop
+using and delete all copies of the Software in your possession or control.
+
+COPYRIGHT.  The Software is licensed to you, not sold. Freescale
+owns the Software, and United States copyright laws and international
+treaty provisions protect the Software. Therefore, you must treat the
+Software like any other copyrighted material (e.g. a book or musical
+recording). You may not use or copy the Software for any other purpose
+than what is described in this Agreement. Except as expressly provided
+herein, Freescale does not grant to you any express or implied rights
+under any Freescale or third-party patents, copyrights, trademarks, or
+trade secrets. Additionally, you must reproduce and apply any copyright or
+other proprietary rights notices included on or embedded in the Software
+to any copies or derivative works made thereof, in whole or in part,
+if any.
+
+SUPPORT.  Freescale is NOT obligated to provide any support, upgrades or
+new releases of the Software. If you wish, you may contact Freescale and
+report problems and provide suggestions regarding the Software. Freescale
+has no obligation whatsoever to respond in any way to such a problem
+report or suggestion. Freescale may make changes to the Software at any
+time, without any obligation to notify or provide updated versions of
+the Software to you.
+
+NO WARRANTY.  TO THE MAXIMUM EXTENT PERMITTED BY LAW, FREESCALE EXPRESSLY
+DISCLAIMS ANY WARRANTY FOR THE SOFTWARE. THE SOFTWARE IS PROVIDED AS
+IS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. YOU ASSUME THE ENTIRE RISK
+ARISING OUT OF THE USE OR PERFORMANCE OF THE SOFTWARE, OR ANY SYSTEMS
+YOU DESIGN USING THE SOFTWARE (IF ANY). NOTHING IN THIS AGREEMENT MAY BE
+CONSTRUED AS A WARRANTY OR REPRESENTATION BY FREESCALE THAT THE SOFTWARE
+OR ANY DERIVATIVE WORK DEVELOPED WITH OR INCORPORATING THE SOFTWARE
+WILL BE FREE FROM INFRINGEMENT OF THE INTELLECTUAL PROPERTY RIGHTS OF
+THIRD PARTIES.
+
+INDEMNITY.  You agree to fully defend and indemnify Freescale from any and
+all claims, liabilities, and costs (including reasonable attorney's fees)
+related to (1) your use (including your sublicensee's use, if permitted)
+of the Software or (2) your violation of the terms and 

[PATCH 34/40] bsps/powerpc/gen5200: Manual file header clean up

2022-03-07 Thread Christian Mauderer
This cleans some of the more complex headers including IPR.

Updates #4625.
---
 bsps/powerpc/gen5200/ata/pcmcia_ide.c |  96 +-
 bsps/powerpc/gen5200/ata/pcmcia_ide.h |  78 --
 bsps/powerpc/gen5200/nvram/m93cxx.h   | 101 +++
 bsps/powerpc/gen5200/nvram/nvram.c| 110 --
 4 files changed, 94 insertions(+), 291 deletions(-)

diff --git a/bsps/powerpc/gen5200/ata/pcmcia_ide.c 
b/bsps/powerpc/gen5200/ata/pcmcia_ide.c
index ca1c98d250..33d6162c17 100644
--- a/bsps/powerpc/gen5200/ata/pcmcia_ide.c
+++ b/bsps/powerpc/gen5200/ata/pcmcia_ide.c
@@ -1,79 +1,23 @@
-/*===*\
-| Project: RTEMS generic MPC5200 BSP  |
-+-+
-| Partially based on the code references which are named below.   |
-| Adaptions, modifications, enhancements and any recent parts of  |
-| the code are:   |
-|Copyright (c) 2005   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 PCMCIA IDE access functions  |
-\*===*/
-/***/
-/* */
-/*   Module:   pcmcia_ide.c*/
-/*   Date: 07/17/2003  */
-/*   Purpose:  RTEMS MPC5x00 PCMCIA IDE harddisk driver*/
-/* */
-/*-*/
-/* */
-/*   Description:  */
-/* */
-/*-*/
-/* */
-/*   Code  */
-/*   References:   RTEMS MBX8xx PCMCIA IDE harddisc driver */
-/*   Module:   pcmcia_ide.c*/
-/*   Project:  RTEMS 4.6.0pre1 / Mbx8xx BSP*/
-/*   Version   */
-/*   Date: 01/14/2003  */
-/* */
-/*   Author(s) / Copyright(s): */
-/* */
-/*Copyright (c) 2003 IMD   */
-/*  Ingenieurbuero fuer Microcomputertechnik Th. Doerfler  */
-/* */
-/*   all rights reserved   */
-/* */
-/*  this file contains the BSP layer for PCMCIA IDE access below the   */
-/*  libchip IDE harddisc driver based on a board specific driver from  */
-/*  Eugeny S. Mints, Oktet */
-/* */
-/*  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. */
-/* */
-/*-*/
-/* */
-/*   Partially based on the code references which are named above. */
-/*   Adaptions, modifications, enhancements and any recent parts of*/
-/*   the code are under the right of   */
-/*

[PATCH 38/40] cpukit: Automated IMD header file clean up

2022-03-07 Thread Christian Mauderer
Use the same form of IMD in all copyright lines

Update #4625.
---
 cpukit/include/rtems/fsmount.h| 2 +-
 cpukit/include/rtems/ftpfs.h  | 2 +-
 cpukit/include/rtems/serdbg.h | 2 +-
 cpukit/include/rtems/serdbgcnf.h  | 2 +-
 cpukit/include/rtems/termios_printk.h | 2 +-
 cpukit/include/rtems/termios_printk_cnf.h | 2 +-
 cpukit/libfs/src/dosfs/msdos_format.c | 2 +-
 cpukit/libmisc/fsmount/fsmount.c  | 2 +-
 cpukit/libmisc/serdbg/serdbg.c| 2 +-
 cpukit/libmisc/serdbg/serdbgio.c  | 2 +-
 cpukit/libmisc/serdbg/termios_printk.c| 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/cpukit/include/rtems/fsmount.h b/cpukit/include/rtems/fsmount.h
index b9897f6340..c6c1a15690 100644
--- a/cpukit/include/rtems/fsmount.h
+++ b/cpukit/include/rtems/fsmount.h
@@ -12,7 +12,7 @@
  */
 
 /*
- * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2003 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/include/rtems/ftpfs.h b/cpukit/include/rtems/ftpfs.h
index ecf8933c5c..1e56a493a8 100644
--- a/cpukit/include/rtems/ftpfs.h
+++ b/cpukit/include/rtems/ftpfs.h
@@ -7,7 +7,7 @@
 /*
  * Copyright (c) 2009 embedded brains GmbH.  All rights reserved.
  *
- * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik.
+ * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  * Modified by Sebastian Huber .
  *
diff --git a/cpukit/include/rtems/serdbg.h b/cpukit/include/rtems/serdbg.h
index 411e5251fc..8396fa49c8 100644
--- a/cpukit/include/rtems/serdbg.h
+++ b/cpukit/include/rtems/serdbg.h
@@ -6,7 +6,7 @@
  */
 
 /*
- * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/include/rtems/serdbgcnf.h b/cpukit/include/rtems/serdbgcnf.h
index 1ec9905d7a..5d2ae612bd 100644
--- a/cpukit/include/rtems/serdbgcnf.h
+++ b/cpukit/include/rtems/serdbgcnf.h
@@ -5,7 +5,7 @@
  */
 
 /*
- * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/include/rtems/termios_printk.h 
b/cpukit/include/rtems/termios_printk.h
index 04772e00f5..e4446ec758 100644
--- a/cpukit/include/rtems/termios_printk.h
+++ b/cpukit/include/rtems/termios_printk.h
@@ -4,7 +4,7 @@
  */
 
 /*
- * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/include/rtems/termios_printk_cnf.h 
b/cpukit/include/rtems/termios_printk_cnf.h
index 29943f57b6..db5096bd36 100644
--- a/cpukit/include/rtems/termios_printk_cnf.h
+++ b/cpukit/include/rtems/termios_printk_cnf.h
@@ -5,7 +5,7 @@
  */
 
 /*
- * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/libfs/src/dosfs/msdos_format.c 
b/cpukit/libfs/src/dosfs/msdos_format.c
index 8ffeb2935a..7d7afe4b22 100644
--- a/cpukit/libfs/src/dosfs/msdos_format.c
+++ b/cpukit/libfs/src/dosfs/msdos_format.c
@@ -9,7 +9,7 @@
  */
 
 /*
- * Copyright (c) 2004 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2004 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/libmisc/fsmount/fsmount.c b/cpukit/libmisc/fsmount/fsmount.c
index deb8e8b56a..55216ea279 100644
--- a/cpukit/libmisc/fsmount/fsmount.c
+++ b/cpukit/libmisc/fsmount/fsmount.c
@@ -13,7 +13,7 @@
  */
 
 /*
- * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2003 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/libmisc/serdbg/serdbg.c b/cpukit/libmisc/serdbg/serdbg.c
index 817564edb7..4fa1335d89 100644
--- a/cpukit/libmisc/serdbg/serdbg.c
+++ b/cpukit/libmisc/serdbg/serdbg.c
@@ -6,7 +6,7 @@
  */
 
 /*
- * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * Copyright (c) 2002 IMD Ingenieurbuero fuer Microcomputertechnik
  * All rights reserved.
  *
  * The license and distribution terms for this file may be
diff --git a/cpukit/libmisc/serdbg/serdbgio.c b/cpukit/libmisc/serdbg/serdbgio.c
index 068c137885..23a4ca62f0 100644
--- 

[PATCH 36/40] bsps/powerpc/gen83xx/start/cpuinit.c: Manual Header clean up

2022-03-07 Thread Christian Mauderer
There is not really anything left from the referenced cpuinit.c file
from MPC8260ads CPU initialization. So ignore that part of the header
during rework.

Update #4625.
---
 bsps/powerpc/gen5200/start/cpuinit.c | 80 +--
 bsps/powerpc/gen83xx/start/cpuinit.c | 82 +---
 2 files changed, 28 insertions(+), 134 deletions(-)

diff --git a/bsps/powerpc/gen5200/start/cpuinit.c 
b/bsps/powerpc/gen5200/start/cpuinit.c
index 3f278dbe34..5477541edb 100644
--- a/bsps/powerpc/gen5200/start/cpuinit.c
+++ b/bsps/powerpc/gen5200/start/cpuinit.c
@@ -1,69 +1,17 @@
-/*===*\
-| Project: RTEMS generic MPC5200 BSP  |
-+-+
-| Partially based on the code references which are named below.   |
-| Adaptions, modifications, enhancements and any recent parts of  |
-| the code are:   |
-|Copyright (c) 2005   |
-|embedded brains GmbH |
-|Obere Lagerstr. 30   |
-|82178 Puchheim |
-|Germany  |
-|rt...@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 code to initialize the cpu   |
-\*===*/
-/***/
-/* */
-/*   Module:   cpuinit.c   */
-/*   Date: 07/17/2003  */
-/*   Purpose:  RTEMS MPC5x00 C level startup code  */
-/* */
-/*-*/
-/* */
-/*   Description:  This file contains additional functions for */
-/* initializing the MPC5x00 CPU*/
-/* */
-/*-*/
-/* */
-/*   Code  */
-/*   References:   MPC8260ads additional CPU initialization*/
-/*   Module:   cpuinit.c   */
-/*   Project:  RTEMS 4.6.0pre1 / MCF8260ads BSP*/
-/*   Version   1.1 */
-/*   Date: 10/22/2002  */
-/* */
-/*   Author(s) / Copyright(s): */
-/* */
-/*   Written by Jay Monkman (jmonk...@frasca.com)  */
-/* */
-/*-*/
-/* */
-/*   Partially based on the code references which are named above. */
-/*   Adaptions, modifications, enhancements and any recent parts of*/
-/*   the code are under the right of   */
-/* */
-/* IPR Engineering, Dachauer Straße 38, D-80335 München*/
-/*Copyright(C) 2003*/
-/* */
-/*-*/
-/* */
-/*   IPR Engineering makes no representation or warranties with*/
-/*   respect to the performance of this computer program, and  */
-/*   specifically disclaims any responsibility for any damages,*/
-/*   special or consequential, connected with the use of this program. */
-/*

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

2022-03-07 Thread Christian Mauderer
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  |
-|rt...@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  historyID   |
-| ~~~ |
-| 12.11.071.0ras  |
-| 15.10.091.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 

[PATCH 13/40] bsps/include/libchip/spi-memdrv.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/include/libchip/spi-memdrv.h | 27 ++-
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/bsps/include/libchip/spi-memdrv.h 
b/bsps/include/libchip/spi-memdrv.h
index ed4aa55b6f..04feccc3a3 100644
--- a/bsps/include/libchip/spi-memdrv.h
+++ b/bsps/include/libchip/spi-memdrv.h
@@ -1,21 +1,14 @@
-/*===*\
-| Project: SPI driver for spi memory devices  |
-+-+
-|Copyright (c) 2008   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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.
+ */
 
 #ifndef _LIBCHIP_SPI_MEMDRV_H
 #define _LIBCHIP_SPI_MEMDRV_H
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 24/40] bsps/include/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/include/bsp/bootcard.h  | 6 --
 bsps/include/bsp/console-termios.h   | 6 --
 bsps/include/bsp/default-initial-extension.h | 6 --
 bsps/include/bsp/fatal.h | 6 --
 bsps/include/bsp/fdt.h   | 6 --
 bsps/include/bsp/stackalloc.h| 6 --
 bsps/include/bsp/u-boot.h| 6 --
 bsps/include/bsp/uart-output-char.h  | 7 +--
 bsps/include/bsp/utility.h   | 6 --
 bsps/include/dev/irq/arm-gic-irq.h   | 6 --
 bsps/include/dev/irq/arm-gic-regs.h  | 6 --
 bsps/include/dev/irq/arm-gic-tm27.h  | 6 --
 bsps/include/dev/irq/arm-gic.h   | 6 --
 bsps/include/dev/serial/arm-pl011-regs.h | 6 --
 bsps/include/dev/serial/arm-pl011.h  | 6 --
 bsps/include/libchip/i2c-sc620.h | 6 --
 bsps/include/libchip/spi-sd-card.h   | 8 +---
 17 files changed, 2 insertions(+), 103 deletions(-)

diff --git a/bsps/include/bsp/bootcard.h b/bsps/include/bsp/bootcard.h
index 4a867990e0..6e28e6508f 100644
--- a/bsps/include/bsp/bootcard.h
+++ b/bsps/include/bsp/bootcard.h
@@ -7,12 +7,6 @@
 /*
  * Copyright (c) 2008-2014 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/console-termios.h 
b/bsps/include/bsp/console-termios.h
index 31132f45f3..58e58c5cd5 100644
--- a/bsps/include/bsp/console-termios.h
+++ b/bsps/include/bsp/console-termios.h
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/default-initial-extension.h 
b/bsps/include/bsp/default-initial-extension.h
index cdad76edaa..c8c2412a53 100644
--- a/bsps/include/bsp/default-initial-extension.h
+++ b/bsps/include/bsp/default-initial-extension.h
@@ -9,12 +9,6 @@
 /*
  * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/fatal.h b/bsps/include/bsp/fatal.h
index a11235d00f..3430effb18 100644
--- a/bsps/include/bsp/fatal.h
+++ b/bsps/include/bsp/fatal.h
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2012, 2018 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/fdt.h b/bsps/include/bsp/fdt.h
index 4ed05b136c..670b5284b3 100644
--- a/bsps/include/bsp/fdt.h
+++ b/bsps/include/bsp/fdt.h
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2015, 2017 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/stackalloc.h b/bsps/include/bsp/stackalloc.h
index 71697592b2..e2541a9019 100644
--- a/bsps/include/bsp/stackalloc.h
+++ b/bsps/include/bsp/stackalloc.h
@@ -9,12 +9,6 @@
 /*
  * Copyright (c) 2009-2012 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/u-boot.h b/bsps/include/bsp/u-boot.h
index 8bcb1488a4..5b170e71ab 100644
--- a/bsps/include/bsp/u-boot.h
+++ b/bsps/include/bsp/u-boot.h
@@ -9,12 +9,6 @@
 /*
  * Copyright (c) 2010-2014 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/include/bsp/uart-output-char.h 
b/bsps/include/bsp/uart-output-char.h
index a6648d1ad4..fa183e4984 100644
--- a/bsps/include/bsp/uart-output-char.h
+++ b/bsps/include/bsp/uart-output-char.h
@@ -7,12 +7,7 @@
  */
 

[PATCH 20/40] bsps/shared/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/shared/dev/btimer/btimer-cpucounter.c | 6 --
 bsps/shared/dev/clock/arm-generic-timer.c  | 6 --
 bsps/shared/dev/cpucounter/cpucounterfrequency.c   | 6 --
 bsps/shared/dev/cpucounter/cpucounterread.c| 6 --
 bsps/shared/dev/display/disp_fonts.h   | 4 ++--
 bsps/shared/dev/display/disp_hcms29xx.c| 4 ++--
 bsps/shared/dev/display/font_hcms29xx.c| 4 ++--
 bsps/shared/dev/display/font_hcms29xx.h| 4 ++--
 bsps/shared/dev/getentropy/getentropy-cpucounter.c | 6 --
 bsps/shared/dev/i2c/i2c-sc620.c| 6 --
 bsps/shared/dev/i2c/spi-flash-m25p40.c | 4 ++--
 bsps/shared/dev/i2c/spi-fram-fm25l256.c| 4 ++--
 bsps/shared/dev/i2c/spi-memdrv.c   | 4 ++--
 bsps/shared/dev/i2c/spi-sd-card.c  | 6 --
 bsps/shared/dev/irq/arm-gicv2-get-attributes.c | 6 --
 bsps/shared/dev/irq/arm-gicv2.c| 6 --
 bsps/shared/dev/serial/arm-pl011.c | 6 --
 bsps/shared/dev/serial/console-output-char.c   | 6 --
 bsps/shared/dev/serial/console-termios-init.c  | 6 --
 bsps/shared/dev/serial/console-termios.c   | 6 --
 bsps/shared/dev/serial/getserialmouseps2.c | 6 --
 bsps/shared/dev/serial/uart-output-char.c  | 6 --
 bsps/shared/start/bsp-fdt.c| 6 --
 bsps/shared/start/bsp-uboot-board-info.c   | 6 --
 bsps/shared/start/stackalloc.c | 6 --
 25 files changed, 14 insertions(+), 122 deletions(-)

diff --git a/bsps/shared/dev/btimer/btimer-cpucounter.c 
b/bsps/shared/dev/btimer/btimer-cpucounter.c
index ade1c02cd1..1663cba9ef 100644
--- a/bsps/shared/dev/btimer/btimer-cpucounter.c
+++ b/bsps/shared/dev/btimer/btimer-cpucounter.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2017 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/shared/dev/clock/arm-generic-timer.c 
b/bsps/shared/dev/clock/arm-generic-timer.c
index 3046c53a46..11df5cef25 100644
--- a/bsps/shared/dev/clock/arm-generic-timer.c
+++ b/bsps/shared/dev/clock/arm-generic-timer.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2017 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/shared/dev/cpucounter/cpucounterfrequency.c 
b/bsps/shared/dev/cpucounter/cpucounterfrequency.c
index bbb8c127fe..d5249e3134 100644
--- a/bsps/shared/dev/cpucounter/cpucounterfrequency.c
+++ b/bsps/shared/dev/cpucounter/cpucounterfrequency.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2018 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/shared/dev/cpucounter/cpucounterread.c 
b/bsps/shared/dev/cpucounter/cpucounterread.c
index b5dc02a40f..fd540efafc 100644
--- a/bsps/shared/dev/cpucounter/cpucounterread.c
+++ b/bsps/shared/dev/cpucounter/cpucounterread.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/shared/dev/display/disp_fonts.h 
b/bsps/shared/dev/display/disp_fonts.h
index 39e909390a..b988db531d 100644
--- a/bsps/shared/dev/display/disp_fonts.h
+++ b/bsps/shared/dev/display/disp_fonts.h
@@ -4,9 +4,9 @@
 | File: disp_fonts.h  |
 +-+
 |Copyright (c) 2008   |
-|Embedded Brains GmbH |
+|embedded brains GmbH |
 |Obere Lagerstr. 30   |
-|D-82178 Puchheim |
+|82178 Puchheim |
 |Germany  |
 |rt...@embedded-brains.de |
 +-+
diff --git 

[PATCH 23/40] bsps/m68k/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/include/bsp/linker-symbols.h | 6 --
 bsps/m68k/include/mcf548x/mcdma_glue.h | 4 ++--
 bsps/m68k/include/mcf548x/mcf548x.h| 4 ++--
 bsps/m68k/shared/start/linkcmds.base   | 6 --
 4 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/bsps/m68k/include/bsp/linker-symbols.h 
b/bsps/m68k/include/bsp/linker-symbols.h
index 56c9c67762..567f3b7c86 100644
--- a/bsps/m68k/include/bsp/linker-symbols.h
+++ b/bsps/m68k/include/bsp/linker-symbols.h
@@ -9,12 +9,6 @@
 /*
  * Copyright (c) 2008-2013 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/m68k/include/mcf548x/mcdma_glue.h 
b/bsps/m68k/include/mcf548x/mcdma_glue.h
index e589f6688b..6235dd0174 100644
--- a/bsps/m68k/include/mcf548x/mcdma_glue.h
+++ b/bsps/m68k/include/mcf548x/mcdma_glue.h
@@ -2,9 +2,9 @@
 | Project: RTEMS generic MFC548x BSP  |
 +-+
 |Copyright (c) 2004-2009  |
-|Embedded Brains GmbH |
+|embedded brains GmbH |
 |Obere Lagerstr. 30   |
-|D-82178 Puchheim |
+|82178 Puchheim |
 |Germany  |
 |rt...@embedded-brains.de |
 +-+
diff --git a/bsps/m68k/include/mcf548x/mcf548x.h 
b/bsps/m68k/include/mcf548x/mcf548x.h
index 7a9dc73698..e29122a35f 100644
--- a/bsps/m68k/include/mcf548x/mcf548x.h
+++ b/bsps/m68k/include/mcf548x/mcf548x.h
@@ -7,9 +7,9 @@
 | generic MCF548x BSP.|
 +-+
 |Copyright (c) 2007   |
-|Embedded Brains GmbH |
+|embedded brains GmbH |
 |Obere Lagerstr. 30   |
-|D-82178 Puchheim |
+|82178 Puchheim |
 |Germany  |
 |rt...@embedded-brains.de |
 +-+
diff --git a/bsps/m68k/shared/start/linkcmds.base 
b/bsps/m68k/shared/start/linkcmds.base
index 92c4a5d5c3..9fa2d9662f 100644
--- a/bsps/m68k/shared/start/linkcmds.base
+++ b/bsps/m68k/shared/start/linkcmds.base
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2008, 2018 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 21/40] bsps/sh/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/sh/gensh1/console/scitab.c | 6 --
 bsps/sh/gensh2/console/scitab.c | 6 --
 2 files changed, 12 deletions(-)

diff --git a/bsps/sh/gensh1/console/scitab.c b/bsps/sh/gensh1/console/scitab.c
index 3c698f8100..37eaa5041a 100644
--- a/bsps/sh/gensh1/console/scitab.c
+++ b/bsps/sh/gensh1/console/scitab.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2018 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/sh/gensh2/console/scitab.c b/bsps/sh/gensh2/console/scitab.c
index ca253df573..2db152dff2 100644
--- a/bsps/sh/gensh2/console/scitab.c
+++ b/bsps/sh/gensh2/console/scitab.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2018 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 16/40] m68k/genmcf548x: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/genmcf548x/console/console.c | 71 ++
 bsps/m68k/genmcf548x/include/bsp.h | 70 ++---
 2 files changed, 52 insertions(+), 89 deletions(-)

diff --git a/bsps/m68k/genmcf548x/console/console.c 
b/bsps/m68k/genmcf548x/console/console.c
index 32e5601a17..387e047992 100644
--- a/bsps/m68k/genmcf548x/console/console.c
+++ b/bsps/m68k/genmcf548x/console/console.c
@@ -1,48 +1,29 @@
-/*===*\
-| Project: RTEMS generic mcf548x BSP  |
-+-+
-| File: console.c |
-+-+
-| The file contains the console driver code of generic MCF548x|
-| BSP.|
-+-+
-|Copyright (c) 2007   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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  historyID   |
-| ~~~ |
-| 12.11.071.0ras  |
-| |
-\*===*/
+/*
+ * RTEMS generic mcf548x BSP
+ *
+ * The file contains the console driver code of 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.
+ */
 
  /*
   *  Multi UART console serial I/O.
diff --git a/bsps/m68k/genmcf548x/include/bsp.h 
b/bsps/m68k/genmcf548x/include/bsp.h
index 0d17628f12..9b8f440cc8 100644
--- a/bsps/m68k/genmcf548x/include/bsp.h
+++ b/bsps/m68k/genmcf548x/include/bsp.h
@@ -6,50 +6,32 @@
  * @brief Global BSP definitions.
  */
 
-/*===*\
-| Project: RTEMS generic mcf548x BSP  |
-+-+
-| File: bsp.h 

[PATCH 18/40] bsps/sparc: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/sparc/leon3/start/bspclean.c   | 6 --
 bsps/sparc/leon3/start/cache.c  | 6 --
 bsps/sparc/leon3/start/cpucounter.c | 6 --
 3 files changed, 18 deletions(-)

diff --git a/bsps/sparc/leon3/start/bspclean.c 
b/bsps/sparc/leon3/start/bspclean.c
index a818e99631..6bdae00237 100644
--- a/bsps/sparc/leon3/start/bspclean.c
+++ b/bsps/sparc/leon3/start/bspclean.c
@@ -5,12 +5,6 @@
  *
  *  Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  *  COPYRIGHT (c) 2014
  *  Aeroflex Gaisler
  *
diff --git a/bsps/sparc/leon3/start/cache.c b/bsps/sparc/leon3/start/cache.c
index c428efa119..922fef59e9 100644
--- a/bsps/sparc/leon3/start/cache.c
+++ b/bsps/sparc/leon3/start/cache.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
diff --git a/bsps/sparc/leon3/start/cpucounter.c 
b/bsps/sparc/leon3/start/cpucounter.c
index 73a306a1eb..b93aed54bd 100644
--- a/bsps/sparc/leon3/start/cpucounter.c
+++ b/bsps/sparc/leon3/start/cpucounter.c
@@ -1,12 +1,6 @@
 /*
  * Copyright (c) 2014, 2018 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Dornierstr. 4
- *  82178 Puchheim
- *  Germany
- *  
- *
  * 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.
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 12/40] bsps/include/libchip/spi-fram-fm25l256.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/include/libchip/spi-fram-fm25l256.h | 26 
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/bsps/include/libchip/spi-fram-fm25l256.h 
b/bsps/include/libchip/spi-fram-fm25l256.h
index a2167a3074..a2d312d268 100644
--- a/bsps/include/libchip/spi-fram-fm25l256.h
+++ b/bsps/include/libchip/spi-fram-fm25l256.h
@@ -1,25 +1,17 @@
-/*===*\
-| Project: SPI driver for FM25L256 like spi fram device   |
-+-+
-|Copyright (c) 2008   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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
+ *
  * FIXME: currently, this driver only supports read/write accesses
  * erase accesses are to be completed
  */
 
+/*
+ * 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 _LIBCHIP_SPI_FRAM_FM25L256_H
 #define _LIBCHIP_SPI_FRAM_FM25L256_H
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 11/40] bsps/include/libchip/disp_hcms29xx.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/include/libchip/disp_hcms29xx.h | 32 +++-
 1 file changed, 13 insertions(+), 19 deletions(-)

diff --git a/bsps/include/libchip/disp_hcms29xx.h 
b/bsps/include/libchip/disp_hcms29xx.h
index 84b74b6910..bcaf25f46e 100644
--- a/bsps/include/libchip/disp_hcms29xx.h
+++ b/bsps/include/libchip/disp_hcms29xx.h
@@ -1,22 +1,16 @@
-/*===*\
-| Project: display driver for HCMS29xx|
-+-+
-| File: disp_hcms29xx.h   |
-+-+
-|Copyright (c) 2008   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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 SPI based driver for a HCMS29xx 4 digit  |
-| alphanumeric LED display|
-\*===*/
+/*
+ * Display driver for HCMS29xx
+ *
+ * This file declares 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.
 
 #ifndef _DISP_HCMS29XX_H
 #define _DISP_HCMS29XX_H
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 10/40] include/libchip/spi-flash-m25p40.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/include/libchip/spi-flash-m25p40.h | 26 +
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/bsps/include/libchip/spi-flash-m25p40.h 
b/bsps/include/libchip/spi-flash-m25p40.h
index 2009b6fed3..fdd11f8ecf 100644
--- a/bsps/include/libchip/spi-flash-m25p40.h
+++ b/bsps/include/libchip/spi-flash-m25p40.h
@@ -1,25 +1,17 @@
-/*===*\
-| Project: SPI driver for M25P40 like spi flash device|
-+-+
-|Copyright (c) 2007   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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
+ *
  * FIXME: currently, this driver only supports read/write accesses
  * erase accesses are to be completed
  */
 
+/*
+ * 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 _LIBCHIP_SPI_FLASH_M25P40_H
 #define _LIBCHIP_SPI_FLASH_M25P40_H
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 01/40] License Header Clean Up

2022-03-07 Thread Christian Mauderer
Hello,

during the re-license efforts, Joel noted that there are a lot of really
odd old headers from people at embedded brains. We joined efforts to
clean them up. After this patch series, we should have removed most of
these odd headers.

Please don't hesitate to point out any mistakes that I did during the
clean up. It was a repetitive task and therefore is definitively prone
to errors.

In case some file doesn't reach the list: I also pushed the patches on a
branch on gitlab:

  https://gitlab.com/c-mauderer/rtems/-/tree/cm/20220302_file_header_clean_up

Best regards

Christian
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 09/40] powerpc/mpc55xxevb: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h | 6 --
 bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h | 6 --
 bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h | 6 --
 3 files changed, 18 deletions(-)

diff --git a/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h 
b/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h
index 0dea1957cf..574c060807 100644
--- a/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h
+++ b/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h
@@ -3,12 +3,6 @@
  *
  * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  
- *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
diff --git a/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h 
b/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h
index 41ad83729a..d415cf3f92 100644
--- a/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h
+++ b/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h
@@ -3,12 +3,6 @@
  *
  * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  
- *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
diff --git a/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h 
b/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h
index 31a132a096..d82f052f76 100644
--- a/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h
+++ b/bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h
@@ -3,12 +3,6 @@
  *
  * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
  *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  
- *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 08/40] m68k/genmcf548x/README: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/genmcf548x/README | 58 +
 1 file changed, 20 insertions(+), 38 deletions(-)

diff --git a/bsps/m68k/genmcf548x/README b/bsps/m68k/genmcf548x/README
index 416601a2f2..7a2fc508c7 100644
--- a/bsps/m68k/genmcf548x/README
+++ b/bsps/m68k/genmcf548x/README
@@ -1,41 +1,23 @@
-/*===*\
-| Project: RTEMS generic mcf548x BSP  |
-+-+
-| File: README|
-+-+
-| This is the README for the  generic MCF548x BSP.|
-+-+
-| Copyright (c) 2007 embedded brains GmbH.  All rights reserved.  |
-+-+
-| |
-| 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  historyID   |
-| ~~~ |
-| 12.11.071.0ras  |
-| |
-\*===*/
+# RTEMS generic mcf548x BSP
+#
+# Copyright (c) 2007 embedded brains GmbH.  All rights reserved.
+#
+# 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.
 
 
 Description: Generic mcf548x BSP
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 03/40] testsuites/fstests/fsdosfsname01/create_files.cs: Convert to UNIX CR/LF.

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

This file had a mix of both DOS and UNIX CR/LF.

Updates #4625.
---
 .../fstests/fsdosfsname01/create_files.cs | 242 +-
 1 file changed, 121 insertions(+), 121 deletions(-)

diff --git a/testsuites/fstests/fsdosfsname01/create_files.cs 
b/testsuites/fstests/fsdosfsname01/create_files.cs
index 3cb7604687..1340f27288 100644
--- a/testsuites/fstests/fsdosfsname01/create_files.cs
+++ b/testsuites/fstests/fsdosfsname01/create_files.cs
@@ -1,4 +1,4 @@
-/**
+/**
  * @file Create_Files.cs
  *
  * @brief Format a USB memory stick and create files on the stick
@@ -9,8 +9,8 @@
  * whith files with exotic multibyte filenames. The image will get 
  * mounted under RTEMS for testing the mutibyte/UTF-8 feature of the
  * RTEMS FAT file system and the compatibility to MS Windows.
- */
-
+ */
+
 /*
  * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
  *
@@ -23,21 +23,21 @@
  * 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.
- */
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Diagnostics;
-using System.Threading;
-using System.Text;
-
-namespace Create_Files
-{
-public static class Create_Files
-{
-// Strings for file names and file contents
-public static string[] Strings = new string[] { 
-"this is a long filename", 
+ */
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Diagnostics;
+using System.Threading;
+using System.Text;
+
+namespace Create_Files
+{
+public static class Create_Files
+{
+// Strings for file names and file contents
+public static string[] Strings = new string[] { 
+"this is a long filename", 
 "đây là một tên tập tin dài",
 "Bu uzun bir dosya adı",
 "هذا هو اسم ملف طويل",
@@ -45,106 +45,106 @@ namespace Create_Files
 "это длинное имя",
 "гэта доўгае імя",
 "това е дълго име на файла",
-"这是一个长文件名",
-"মেৰিকা মহাদেশ, উত্তৰ আমেৰিকা আৰু দক্ষিণ আমেৰিকা মহাদেশক লৈ 
গঠিত এক",
-"آمریکا قاره یکته قارهٰ زمینˇ قاره‌ٰنˇ مئن ایسسه کی زمینˇ 
هنه‌شر (مساحت)ˇ جی ۳۸٪ و زمینˇ خوشکی‌ئنˇ جی ۴۲۸٪ ای قاره شی ایسسه", 
-"Manâhestôtse 910,720,588 (July 2008 est.)",
-"Elle s'étend depuis l'océan Arctique au nord jusqu'au cap 
Horn dans le passage de Drake au sud, à la confluence des océans", 
-"ཨ་མེ་རི་ཀ, ཨ་མེ་རི་ཁ, མེ་གླིང་", 
-"е су земље западне хемисфере или Новог света које се састоје 
од континената Северна Америка", 
-"This is a filename with with 255 characters. The following 
numbers are aligned in that way, that the character 0 is the mentioned one. 
xx140xxx150xxx160xxx170xxx180xxx190xxx200xxx210xxx220xxx230xxx240xxx250x",
 
-"Bu gezegen Roma mitolojisindeki savaş ilahı Mars'a", 
-"Amerike su zemlje zapadne hemisfere ili Novog svijeta koje se 
sastoje od kontinenata Sjeverna Amerika i Južna Amerika sa svim pridruženim 
otocima i regijama.", 
-"იანებს ორ კონტინენტს, სამხრეთ და ჩრდილოეთ ამერიკას 
ახლომდებარე კუნძულებთან ერ",
-" Є то єдиный контінент, котрого цїла теріторія лежыть на 
Западній півкулї тай разом"
-};
-
-// Use the features of MS Windows to format the USB memory stick. We 
want a genuine Microsoft FAT file system
-public static void FormatDrive(string driveLetter)
-{
-ProcessStartInfo StartInfo = new ProcessStartInfo();
-StartInfo.FileName = Environment.SystemDirectory + "\\cmd.exe";
-StartInfo.Arguments = "/C \"format " + driveLetter + " /FS:FAT\"";
-StartInfo.UseShellExecute = false;
-StartInfo.RedirectStandardInput = true;
-Process Process = Process.Start(StartInfo);
-//Thread.Sleep(1000);
-Process.StandardInput.WriteLine();
-Process.StandardInput.WriteLine();
-Process.WaitForExit();
-}
-// Format a USB meory stick and create files on the new volume
-// args[0] The drive to be formatted. E.g. "e:"
-public static void Main(string[] args)
-{
-// Display help text on the console
-if ((args.Length <= 0) || (args[0].Equals("-h", 
StringComparison.InvariantCultureIgnoreCase) || args[0].Equals("-help", 
StringComparison.InvariantCultureIgnoreCase)))
-{
-Console.WriteLine("create_files.bat ");
-Console.WriteLine("Will format DRIVE and create files on the 
new formated drive.");
-}
-else
-{
-// Show a warning
-Console.WriteLine(args[0] + " will get 

[PATCH 01/40] testsuites/.../*doc: Manual cleanup of embedded brains File Headers

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

There were not a lot of these and they did not match the patterns
of the C.

Updates #4625.
---
 testsuites/libtests/block01/block01.doc|  7 +--
 testsuites/libtests/block02/block02.doc|  7 +--
 testsuites/libtests/block03/block03.doc|  7 +--
 testsuites/libtests/block04/block04.doc|  7 +--
 testsuites/libtests/block05/block05.doc|  7 +--
 testsuites/libtests/block07/block07.doc|  7 +--
 testsuites/libtests/block09/block09.doc|  7 +--
 testsuites/libtests/block10/block10.doc|  7 +--
 testsuites/sptests/spheapprot/spheapprot.doc   |  7 ---
 testsuites/sptests/spnsext01/spnsext01.doc |  7 ---
 .../sptimecounter01/sptimecounter01.doc| 18 +-
 11 files changed, 13 insertions(+), 75 deletions(-)

diff --git a/testsuites/libtests/block01/block01.doc 
b/testsuites/libtests/block01/block01.doc
index 49bf1a132b..781244053c 100644
--- a/testsuites/libtests/block01/block01.doc
+++ b/testsuites/libtests/block01/block01.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2009
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 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
diff --git a/testsuites/libtests/block02/block02.doc 
b/testsuites/libtests/block02/block02.doc
index e92ae57578..c8c7d15c40 100644
--- a/testsuites/libtests/block02/block02.doc
+++ b/testsuites/libtests/block02/block02.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2009
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 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
diff --git a/testsuites/libtests/block03/block03.doc 
b/testsuites/libtests/block03/block03.doc
index 0106172d60..3ada8a2614 100644
--- a/testsuites/libtests/block03/block03.doc
+++ b/testsuites/libtests/block03/block03.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2009
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 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
diff --git a/testsuites/libtests/block04/block04.doc 
b/testsuites/libtests/block04/block04.doc
index 6449183ca0..a7c59939f7 100644
--- a/testsuites/libtests/block04/block04.doc
+++ b/testsuites/libtests/block04/block04.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2009
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 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
diff --git a/testsuites/libtests/block05/block05.doc 
b/testsuites/libtests/block05/block05.doc
index f0c47453a4..cb34ab672d 100644
--- a/testsuites/libtests/block05/block05.doc
+++ b/testsuites/libtests/block05/block05.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2009, 2010
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 2009, 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
diff --git a/testsuites/libtests/block07/block07.doc 
b/testsuites/libtests/block07/block07.doc
index f37e942dc7..7b39c08090 100644
--- a/testsuites/libtests/block07/block07.doc
+++ b/testsuites/libtests/block07/block07.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2009
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 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
diff --git a/testsuites/libtests/block09/block09.doc 
b/testsuites/libtests/block09/block09.doc
index debfb93ad9..bb015a6dc5 100644
--- a/testsuites/libtests/block09/block09.doc
+++ b/testsuites/libtests/block09/block09.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2010
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 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
diff --git a/testsuites/libtests/block10/block10.doc 
b/testsuites/libtests/block10/block10.doc
index 3199ed5596..90b2b3f864 100644
--- a/testsuites/libtests/block10/block10.doc
+++ b/testsuites/libtests/block10/block10.doc
@@ -1,9 +1,4 @@
-# Copyright (c) 2010
-# embedded brains GmbH
-# Obere Lagerstr. 30
-# D-82178 Puchheim
-# Germany
-# 
+# Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
 #
 # The license and distribution 

[PATCH 07/40] m68k/gen68360/spi/m360_spi.c: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/gen68360/spi/m360_spi.c | 31 +--
 1 file changed, 13 insertions(+), 18 deletions(-)

diff --git a/bsps/m68k/gen68360/spi/m360_spi.c 
b/bsps/m68k/gen68360/spi/m360_spi.c
index f60b5b6a51..07bcdf8daf 100644
--- a/bsps/m68k/gen68360/spi/m360_spi.c
+++ b/bsps/m68k/gen68360/spi/m360_spi.c
@@ -1,21 +1,16 @@
-/*===*\
-| Project: RTEMS support for PGH360   |
-+-+
-|Copyright (c) 2008   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@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 M360 SPI driver  |
-\*===*/
+/*
+ * This file contains the M360 SPI driver
+ */
+
+/*
+ * 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 
 #include 
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 02/40] bsps/m68k/genmcf548x/README: Manual cleanup of embedded brains File Headers

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 bsps/m68k/genmcf548x/README | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/bsps/m68k/genmcf548x/README b/bsps/m68k/genmcf548x/README
index 13994eb167..416601a2f2 100644
--- a/bsps/m68k/genmcf548x/README
+++ b/bsps/m68k/genmcf548x/README
@@ -5,12 +5,7 @@
 +-+
 | This is the README for the  generic MCF548x BSP.|
 +-+
-|Copyright (c) 2007   |
-|Embedded Brains GmbH |
-|Obere Lagerstr. 30   |
-|D-82178 Puchheim |
-|Germany  |
-|rt...@embedded-brains.de |
+| Copyright (c) 2007 embedded brains GmbH.  All rights reserved.  |
 +-+
 | |
 | Parts of the code has been derived from the "dBUG source code"  |
@@ -32,7 +27,6 @@
 | |
 | 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.   |
 | |
 +-+
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 05/40] libmisc/serdbg: Manual header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

Updates #4625.
---
 cpukit/libi2c/libi2c.c |  2 +-
 cpukit/libmisc/serdbg/serdbgio.c   | 38 ++
 cpukit/libmisc/serdbg/termios_printk.c | 36 ++--
 3 files changed, 30 insertions(+), 46 deletions(-)

diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c
index cee50af57d..b952a513ea 100644
--- a/cpukit/libi2c/libi2c.c
+++ b/cpukit/libi2c/libi2c.c
@@ -46,7 +46,7 @@
  */
 /*
  * adaptations to also handle SPI devices
- * by Thomas Doerfler, embedded brains GmbH, Puchheim, Germany
+ * by Thomas Doerfler, embedded brains GmbH
  */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
diff --git a/cpukit/libmisc/serdbg/serdbgio.c b/cpukit/libmisc/serdbg/serdbgio.c
index 5de2005472..068c137885 100644
--- a/cpukit/libmisc/serdbg/serdbgio.c
+++ b/cpukit/libmisc/serdbg/serdbgio.c
@@ -1,26 +1,18 @@
-/*===*\
-| File: serdbgio.c|
-+-+
-|Copyright (c) 2002 IMD   |
-|  Ingenieurbuero fuer Microcomputertechnik Th. Doerfler  |
-|  Hebststr. 8, 82178 Puchheim, Germany   |
-| |
-|  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. |
-|   all rights reserved   |
-+-+
-| TERMIOS serial gdb interface support|
-| the functions in this file allow the standard gdb stubs like|
-| "m68k-stub.c" to access any serial interfaces that work with|
-| RTEMS termios in polled mode|
-| |
-+-+
-|   date  historyID   |
-| ~~~ |
-| 10.05.02  creation doe  |
-|*|
-\*===*/
+/*
+ * TERMIOS serial gdb interface support
+ * the functions in this file allow the standard gdb stubs like
+ * "m68k-stub.c" to access any serial interfaces that work with
+ * RTEMS termios in polled mode
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik 
+ * 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.
+ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
diff --git a/cpukit/libmisc/serdbg/termios_printk.c 
b/cpukit/libmisc/serdbg/termios_printk.c
index 3da216f6e9..50124717e8 100644
--- a/cpukit/libmisc/serdbg/termios_printk.c
+++ b/cpukit/libmisc/serdbg/termios_printk.c
@@ -1,25 +1,17 @@
-/*===*\
-| File: termios_printk.c  |
-+-+
-|Copyright (c) 2002 IMD   |
-|  Ingenieurbuero fuer Microcomputertechnik Th. Doerfler  |
-|  Hebststr. 8, 82178 Puchheim, Germany   |
-| |
-|  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. |
-|   all rights reserved   |
-+-+
-| TERMIOS printk support  |
-| this module performs low-level printk output using  |
-| a polled termios driver |
-| |
-+-+
-|   date  historyID   |
-| ~~~ |
-| 13.05.02  creation doe  |
-|*|
-\*===*/
+/*
+ * TERMIOS printk support
+ * this module performs low-level printk output using
+ * a polled termios driver
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik 
+ * All rights reserved.
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this 

[PATCH 04/40] telnetd.c: Manual cleanup of embedded brains File Headers

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill 

This file's text looked different from others. Fixed by hand.

Updates #4625.
---
 cpukit/telnetd/telnetd.c | 6 --
 1 file changed, 6 deletions(-)

diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c
index 7dad2f2f92..8d3a488ee6 100644
--- a/cpukit/telnetd/telnetd.c
+++ b/cpukit/telnetd/telnetd.c
@@ -25,12 +25,6 @@
  *
  * Copyright (c) 2009, 2018 embedded brains GmbH and others.
  *
- *   embedded brains GmbH
- *   Dornierstr. 4
- *   D-82178 Puchheim
- *   Germany
- *   
- *
  * 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.
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel