[PATCH 03/23] bsps/include: Change license to BSD-2

2022-07-11 Thread Joel Sherrill
Updates #3053.
---
 bsps/include/bsp/bootcard.h  | 25 +---
 bsps/include/bsp/console-termios.h   | 25 +---
 bsps/include/bsp/fdt.h   | 25 +---
 bsps/include/bsp/stackalloc.h| 25 +---
 bsps/include/bsp/u-boot.h| 25 +---
 bsps/include/bsp/uart-output-char.h  | 25 +---
 bsps/include/bsp/utility.h   | 25 +---
 bsps/include/dev/irq/arm-gic-irq.h   | 25 +---
 bsps/include/dev/irq/arm-gic-regs.h  | 25 +---
 bsps/include/dev/irq/arm-gic-tm27.h  | 25 +---
 bsps/include/dev/irq/arm-gic.h   | 25 +---
 bsps/include/dev/serial/arm-pl011-regs.h | 25 +---
 bsps/include/dev/serial/arm-pl011.h  | 25 +---
 bsps/include/libchip/disp_hcms29xx.h | 25 +---
 bsps/include/libchip/i2c-sc620.h | 25 +---
 bsps/include/libchip/icm7170.h   | 25 +---
 bsps/include/libchip/m48t08.h| 25 +---
 bsps/include/libchip/mc146818a.h | 25 +---
 bsps/include/libchip/mc68681.h   | 25 +---
 bsps/include/libchip/rtc.h   | 25 +---
 bsps/include/libchip/serial.h| 25 +---
 bsps/include/libchip/spi-flash-m25p40.h  | 25 +---
 bsps/include/libchip/spi-fram-fm25l256.h | 25 +---
 bsps/include/libchip/spi-memdrv.h| 25 +---
 bsps/include/libchip/spi-sd-card.h   | 25 +---
 bsps/include/mpci.h  | 25 +---
 bsps/include/rtems/umon.h| 25 +---
 bsps/include/rtems/zilog/z8036.h | 25 +---
 bsps/include/rtems/zilog/z8530.h | 25 +---
 bsps/include/shm_driver.h| 25 +---
 30 files changed, 660 insertions(+), 90 deletions(-)

diff --git a/bsps/include/bsp/bootcard.h b/bsps/include/bsp/bootcard.h
index 6e28e6508f..d6653bb819 100644
--- a/bsps/include/bsp/bootcard.h
+++ b/bsps/include/bsp/bootcard.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /**
  * @file
  *
@@ -7,9 +9,26 @@
 /*
  * Copyright (c) 2008-2014 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.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifndef LIBBSP_SHARED_BOOTCARD_H
diff --git a/bsps/include/bsp/console-termios.h 
b/bsps/include/bsp/console-termios.h
index 58e58c5cd5..223b5f3537 100644
--- a/bsps/include/bsp/console-termios.h
+++ b/bsps/include/bsp/console-termios.h
@@ -1,9 +1,28 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*
  * Copyright (c) 2014 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.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this 

[PATCH 03/23] bsps/include: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053.
---
 bsps/include/bsp/bootcard.h  | 25 +---
 bsps/include/bsp/console-termios.h   | 25 +---
 bsps/include/bsp/fdt.h   | 25 +---
 bsps/include/bsp/stackalloc.h| 25 +---
 bsps/include/bsp/u-boot.h| 25 +---
 bsps/include/bsp/uart-output-char.h  | 25 +---
 bsps/include/bsp/utility.h   | 25 +---
 bsps/include/dev/irq/arm-gic-irq.h   | 25 +---
 bsps/include/dev/irq/arm-gic-regs.h  | 25 +---
 bsps/include/dev/irq/arm-gic-tm27.h  | 25 +---
 bsps/include/dev/irq/arm-gic.h   | 25 +---
 bsps/include/dev/serial/arm-pl011-regs.h | 25 +---
 bsps/include/dev/serial/arm-pl011.h  | 25 +---
 bsps/include/libchip/disp_hcms29xx.h | 25 +---
 bsps/include/libchip/i2c-sc620.h | 25 +---
 bsps/include/libchip/icm7170.h   | 25 +---
 bsps/include/libchip/m48t08.h| 25 +---
 bsps/include/libchip/mc146818a.h | 25 +---
 bsps/include/libchip/mc68681.h   | 25 +---
 bsps/include/libchip/rtc.h   | 25 +---
 bsps/include/libchip/serial.h| 25 +---
 bsps/include/libchip/spi-flash-m25p40.h  | 25 +---
 bsps/include/libchip/spi-fram-fm25l256.h | 25 +---
 bsps/include/libchip/spi-memdrv.h| 25 +---
 bsps/include/libchip/spi-sd-card.h   | 25 +---
 bsps/include/mpci.h  | 25 +---
 bsps/include/rtems/umon.h| 25 +---
 bsps/include/rtems/zilog/z8036.h | 25 +---
 bsps/include/rtems/zilog/z8530.h | 25 +---
 bsps/include/shm_driver.h| 25 +---
 30 files changed, 660 insertions(+), 90 deletions(-)

diff --git a/bsps/include/bsp/bootcard.h b/bsps/include/bsp/bootcard.h
index 6e28e6508f..d6653bb819 100644
--- a/bsps/include/bsp/bootcard.h
+++ b/bsps/include/bsp/bootcard.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /**
  * @file
  *
@@ -7,9 +9,26 @@
 /*
  * Copyright (c) 2008-2014 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.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifndef LIBBSP_SHARED_BOOTCARD_H
diff --git a/bsps/include/bsp/console-termios.h 
b/bsps/include/bsp/console-termios.h
index 58e58c5cd5..223b5f3537 100644
--- a/bsps/include/bsp/console-termios.h
+++ b/bsps/include/bsp/console-termios.h
@@ -1,9 +1,28 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*
  * Copyright (c) 2014 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.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this