You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/09/02 13:56:13 UTC

[incubator-nuttx] branch master updated (b05737d -> dda6733)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from b05737d  arch: Replace ar and nm with gcc-ar and gcc-nm
     new 87f173f  tools: update licenses to Apache
     new 4e5a9b1  libs: libc: armv8-m: revert to original license
     new 9389ecc  LICENSE: add libs/libc/machine/arm/armv8-m
     new abf8a72  LICENSE: add libs/libc/math/ to license file
     new a9bfe50  author: Brennan Ashton: update licenses to Apache
     new 1106322  LICENSE: revert to the original license from Atmel Corporation
     new 9acf4d6  drivers: mtd: add BSD barrier for nand driver
     new be9a0de   defconfig: allow use of BSD components
     new 7f0aefa  include: nxstyle fixes
     new ae3088c  crypto: add BSD barrier for AES crypto
     new dda6733  defconfig: allow use of BSD components

The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 LICENSE                                            | 113 +++++++++++++++++++++
 .../sam34/sam4s-xplained-pro/configs/fs/defconfig  |   1 +
 .../esp32/esp32-devkitc/configs/aes/defconfig      |   1 +
 crypto/Kconfig                                     |   1 +
 drivers/mtd/Kconfig                                |   1 +
 drivers/mtd/hamming.c                              |   7 --
 drivers/mtd/mtd_modeltab.c                         |   7 --
 drivers/mtd/mtd_nand.c                             |   7 --
 drivers/mtd/mtd_nandecc.c                          |   7 --
 drivers/mtd/mtd_nandmodel.c                        |   7 --
 drivers/mtd/mtd_nandscheme.c                       |   7 --
 drivers/mtd/mtd_onfi.c                             |  12 ---
 include/nuttx/mtd/hamming.h                        |   7 --
 include/nuttx/mtd/nand.h                           |   7 --
 include/nuttx/mtd/nand_config.h                    |   9 +-
 include/nuttx/mtd/nand_ecc.h                       |   7 --
 include/nuttx/mtd/nand_model.h                     |  12 ---
 include/nuttx/mtd/nand_raw.h                       |   7 --
 include/nuttx/mtd/nand_scheme.h                    |   7 --
 include/nuttx/mtd/onfi.h                           |  12 ---
 libs/libc/machine/arm/armv8-m/arch_ceil.c          |   4 -
 libs/libc/machine/arm/armv8-m/arch_ceilf.c         |   4 -
 libs/libc/machine/arm/armv8-m/arch_floor.c         |   4 -
 libs/libc/machine/arm/armv8-m/arch_floorf.c        |   4 -
 libs/libc/machine/arm/armv8-m/arch_nearbyint.c     |   4 -
 libs/libc/machine/arm/armv8-m/arch_nearbyintf.c    |   4 -
 libs/libc/machine/arm/armv8-m/arch_rint.c          |   4 -
 libs/libc/machine/arm/armv8-m/arch_rintf.c         |   4 -
 libs/libc/machine/arm/armv8-m/arch_round.c         |   4 -
 libs/libc/machine/arm/armv8-m/arch_roundf.c        |   4 -
 libs/libc/machine/arm/armv8-m/arch_trunc.c         |   4 -
 libs/libc/machine/arm/armv8-m/arch_truncf.c        |   4 -
 libs/libc/math/__cos.c                             |   2 -
 libs/libc/math/__sin.c                             |   2 -
 libs/libc/math/lib_acosh.c                         |  39 +++----
 libs/libc/math/lib_acoshf.c                        |  39 +++----
 libs/libc/math/lib_acoshl.c                        |  39 +++----
 libs/libc/math/lib_asinh.c                         |  39 +++----
 libs/libc/math/lib_asinhf.c                        |  39 +++----
 libs/libc/math/lib_asinhl.c                        |  39 +++----
 libs/libc/math/lib_atanh.c                         |  39 +++----
 libs/libc/math/lib_atanhf.c                        |  39 +++----
 libs/libc/math/lib_atanhl.c                        |  39 +++----
 libs/libc/math/lib_copysignf.c                     |   7 --
 libs/libc/math/lib_erfl.c                          |  39 +++----
 libs/libc/math/lib_lgamma.c                        |   2 -
 tools/mkctags.sh                                   |  39 +++----
 47 files changed, 251 insertions(+), 478 deletions(-)

[incubator-nuttx] 08/11: defconfig: allow use of BSD components

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit be9a0debf2a098926dd7ec7be81ad96609ec988d
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 11:04:47 2021 +0200

     defconfig: allow use of BSD components
    
    several configs are used for testing and need the BSD components
    
    more information about license can be found here
    https://www.apache.org/legal/resolved.html#category-a
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 boards/arm/sam34/sam4s-xplained-pro/configs/fs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/arm/sam34/sam4s-xplained-pro/configs/fs/defconfig b/boards/arm/sam34/sam4s-xplained-pro/configs/fs/defconfig
index e9005e4..999ca20 100644
--- a/boards/arm/sam34/sam4s-xplained-pro/configs/fs/defconfig
+++ b/boards/arm/sam34/sam4s-xplained-pro/configs/fs/defconfig
@@ -8,6 +8,7 @@
 # CONFIG_ARCH_RAMFUNCS is not set
 # CONFIG_MTD_NAND_BLOCKCHECK is not set
 # CONFIG_MTD_NAND_SWECC is not set
+CONFIG_ALLOW_BSD_COMPONENTS=y
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="sam4s-xplained-pro"
 CONFIG_ARCH_BOARD_SAM4S_XPLAINED_PRO=y

[incubator-nuttx] 11/11: defconfig: allow use of BSD components

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit dda6733178acf8f0973cc8a8fd4a350530bf5de3
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 11:29:19 2021 +0200

    defconfig: allow use of BSD components
    
    several configs are used for testing and need the BSD components
    
    more information about license can be found here
    https://www.apache.org/legal/resolved.html#category-a
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 boards/xtensa/esp32/esp32-devkitc/configs/aes/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/aes/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/aes/defconfig
index 19d81b1..72e87bc 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/aes/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/aes/defconfig
@@ -9,6 +9,7 @@
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 # CONFIG_NSH_CMDPARMS is not set
+CONFIG_ALLOW_BSD_COMPONENTS=y
 CONFIG_ARCH="xtensa"
 CONFIG_ARCH_BOARD="esp32-devkitc"
 CONFIG_ARCH_BOARD_ESP32_DEVKITC=y

[incubator-nuttx] 09/11: include: nxstyle fixes

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 7f0aefa63294dd07241d61fcd8e319629b85df9b
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 11:08:39 2021 +0200

    include: nxstyle fixes
    
    fixes for nxstyle warnings reported by the nexstyle tool
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 include/nuttx/mtd/nand_config.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/nuttx/mtd/nand_config.h b/include/nuttx/mtd/nand_config.h
index dec3196..ad50fd8 100644
--- a/include/nuttx/mtd/nand_config.h
+++ b/include/nuttx/mtd/nand_config.h
@@ -44,7 +44,9 @@
 /****************************************************************************
  * Pre-processor Definitions
  ****************************************************************************/
+
 /* Configuration ************************************************************
+
 /* Maximum number of blocks in a device */
 
 #ifndef CONFIG_MTD_NAND_MAXNUMBLOCKS

[incubator-nuttx] 01/11: tools: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 87f173f430e58e15f96e45bedf1ddaaea54a1aee
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 08:33:32 2021 +0200

    tools: update licenses to Apache
    
    Ken Pettit has submitted the ICLA as a result we can migrate the licenses to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 tools/mkctags.sh | 39 ++++++++++++---------------------------
 1 file changed, 12 insertions(+), 27 deletions(-)

diff --git a/tools/mkctags.sh b/tools/mkctags.sh
index 55b0b1c..5c521bb 100755
--- a/tools/mkctags.sh
+++ b/tools/mkctags.sh
@@ -1,35 +1,20 @@
 #!/usr/bin/env bash
 # tools/mkctags.sh
 #
-#   Copyright (C) 2013 Ken pettit All rights reserved.
-#   Author: Ken pettit <pe...@gmail.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http:#www.apache.org/licenses/LICENSE-2.0
 #
-# 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.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# 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.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 
 WD=`pwd`

[incubator-nuttx] 03/11: LICENSE: add libs/libc/machine/arm/armv8-m

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9389ecc3d6c452bcfb35adb67815532d94b0ff58
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 09:33:29 2021 +0200

    LICENSE: add libs/libc/machine/arm/armv8-m
    
    Add ARM license for libs/libc/machine/arm/armv8-m code
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 LICENSE | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/LICENSE b/LICENSE
index bd7579c..90969cb 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2253,6 +2253,34 @@ fs/spiffs
  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGE.
 
+libs/libc/machine/arm/armv8-m
+=============================
+   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
+
+ 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.
+ 3. The name of the company may not be used to endorse or promote
+    products derived from this software without specific prior written
+    permission.
+
+ THIS SOFTWARE IS PROVIDED BY ARM LTD ``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 ARM LTD 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.
+
 drivers/wireless/bluetooth/bt_uart.c
 drivers/wireless/bluetooth/bt_uart.h
 wireless/bluetooth

[incubator-nuttx] 07/11: drivers: mtd: add BSD barrier for nand driver

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9acf4d6f2e38b59b6c5b58262c0711140fdd269f
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 11:02:30 2021 +0200

    drivers: mtd: add BSD barrier for nand driver
    
    add BSD barrier for nand driver
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 drivers/mtd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 986f740..bbbbb5b 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -194,6 +194,7 @@ comment "MTD Device Drivers"
 
 menuconfig MTD_NAND
 	bool "MTD NAND support"
+	depends on ALLOW_BSD_COMPONENTS
 	default n
 	---help---
 		Enable support for NAND FLASH devices.

[incubator-nuttx] 10/11: crypto: add BSD barrier for AES crypto

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit ae3088c501afdcd7887d8adf78a5286558b5316a
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 11:27:29 2021 +0200

    crypto: add BSD barrier for AES crypto
    
    add BSD barrier for AES crypto
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 7305821..6da3696 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -13,6 +13,7 @@ if CRYPTO
 
 config CRYPTO_AES
 	bool "AES cypher support"
+	depends on ALLOW_BSD_COMPONENTS
 	default n
 
 config CRYPTO_ALGTEST

[incubator-nuttx] 02/11: libs: libc: armv8-m: revert to original license

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 4e5a9b168a921d25d032a78f41487a625d95bb9a
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 09:30:46 2021 +0200

    libs: libc: armv8-m: revert to original license
    
    Revert to the BSD Arm lincese
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 libs/libc/machine/arm/armv8-m/arch_ceil.c       | 4 ----
 libs/libc/machine/arm/armv8-m/arch_ceilf.c      | 4 ----
 libs/libc/machine/arm/armv8-m/arch_floor.c      | 4 ----
 libs/libc/machine/arm/armv8-m/arch_floorf.c     | 4 ----
 libs/libc/machine/arm/armv8-m/arch_nearbyint.c  | 4 ----
 libs/libc/machine/arm/armv8-m/arch_nearbyintf.c | 4 ----
 libs/libc/machine/arm/armv8-m/arch_rint.c       | 4 ----
 libs/libc/machine/arm/armv8-m/arch_rintf.c      | 4 ----
 libs/libc/machine/arm/armv8-m/arch_round.c      | 4 ----
 libs/libc/machine/arm/armv8-m/arch_roundf.c     | 4 ----
 libs/libc/machine/arm/armv8-m/arch_trunc.c      | 4 ----
 libs/libc/machine/arm/armv8-m/arch_truncf.c     | 4 ----
 12 files changed, 48 deletions(-)

diff --git a/libs/libc/machine/arm/armv8-m/arch_ceil.c b/libs/libc/machine/arm/armv8-m/arch_ceil.c
index 4210245..c7dde0a 100644
--- a/libs/libc/machine/arm/armv8-m/arch_ceil.c
+++ b/libs/libc/machine/arm/armv8-m/arch_ceil.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_ceil.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_ceilf.c b/libs/libc/machine/arm/armv8-m/arch_ceilf.c
index ed27ec7..0c14036 100644
--- a/libs/libc/machine/arm/armv8-m/arch_ceilf.c
+++ b/libs/libc/machine/arm/armv8-m/arch_ceilf.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_ceilf.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_floor.c b/libs/libc/machine/arm/armv8-m/arch_floor.c
index f9a0b9c..971d70e 100644
--- a/libs/libc/machine/arm/armv8-m/arch_floor.c
+++ b/libs/libc/machine/arm/armv8-m/arch_floor.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_floor.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_floorf.c b/libs/libc/machine/arm/armv8-m/arch_floorf.c
index 5d481ec..b2fcdea 100644
--- a/libs/libc/machine/arm/armv8-m/arch_floorf.c
+++ b/libs/libc/machine/arm/armv8-m/arch_floorf.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_floorf.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_nearbyint.c b/libs/libc/machine/arm/armv8-m/arch_nearbyint.c
index 701e787..f2a9aa7 100644
--- a/libs/libc/machine/arm/armv8-m/arch_nearbyint.c
+++ b/libs/libc/machine/arm/armv8-m/arch_nearbyint.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_nearbyint.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_nearbyintf.c b/libs/libc/machine/arm/armv8-m/arch_nearbyintf.c
index 6769066..dee6fd4 100644
--- a/libs/libc/machine/arm/armv8-m/arch_nearbyintf.c
+++ b/libs/libc/machine/arm/armv8-m/arch_nearbyintf.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_nearbyintf.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_rint.c b/libs/libc/machine/arm/armv8-m/arch_rint.c
index b3b9d31..d9cdd32 100644
--- a/libs/libc/machine/arm/armv8-m/arch_rint.c
+++ b/libs/libc/machine/arm/armv8-m/arch_rint.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_rint.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_rintf.c b/libs/libc/machine/arm/armv8-m/arch_rintf.c
index 7c57f92..ff80a76 100644
--- a/libs/libc/machine/arm/armv8-m/arch_rintf.c
+++ b/libs/libc/machine/arm/armv8-m/arch_rintf.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_rintf.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_round.c b/libs/libc/machine/arm/armv8-m/arch_round.c
index 969a859..b9cac08 100644
--- a/libs/libc/machine/arm/armv8-m/arch_round.c
+++ b/libs/libc/machine/arm/armv8-m/arch_round.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_round.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_roundf.c b/libs/libc/machine/arm/armv8-m/arch_roundf.c
index 6e9a85c..0623866 100644
--- a/libs/libc/machine/arm/armv8-m/arch_roundf.c
+++ b/libs/libc/machine/arm/armv8-m/arch_roundf.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_roundf.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_trunc.c b/libs/libc/machine/arm/armv8-m/arch_trunc.c
index 2929b6d..39300cb 100644
--- a/libs/libc/machine/arm/armv8-m/arch_trunc.c
+++ b/libs/libc/machine/arm/armv8-m/arch_trunc.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_trunc.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/libs/libc/machine/arm/armv8-m/arch_truncf.c b/libs/libc/machine/arm/armv8-m/arch_truncf.c
index 5d51344..fd3c5d8 100644
--- a/libs/libc/machine/arm/armv8-m/arch_truncf.c
+++ b/libs/libc/machine/arm/armv8-m/arch_truncf.c
@@ -1,10 +1,6 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv8-m/arch_truncf.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *
- * Adapted for NuttX from BSD licensed code provided by ARM:
- *
  *   Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

[incubator-nuttx] 06/11: LICENSE: revert to the original license from Atmel Corporation

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 110632293c2121a762a34706b87a7793b26570d0
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 10:28:22 2021 +0200

    LICENSE: revert to the original license from Atmel Corporation
    
    revert to the original license from Atmel Corporation and add the files to
    the LICENSE file
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 LICENSE                         | 46 +++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/hamming.c           |  7 -------
 drivers/mtd/mtd_modeltab.c      |  7 -------
 drivers/mtd/mtd_nand.c          |  7 -------
 drivers/mtd/mtd_nandecc.c       |  7 -------
 drivers/mtd/mtd_nandmodel.c     |  7 -------
 drivers/mtd/mtd_nandscheme.c    |  7 -------
 drivers/mtd/mtd_onfi.c          | 12 -----------
 include/nuttx/mtd/hamming.h     |  7 -------
 include/nuttx/mtd/nand.h        |  7 -------
 include/nuttx/mtd/nand_config.h |  7 -------
 include/nuttx/mtd/nand_ecc.h    |  7 -------
 include/nuttx/mtd/nand_model.h  | 12 -----------
 include/nuttx/mtd/nand_raw.h    |  7 -------
 include/nuttx/mtd/nand_scheme.h |  7 -------
 include/nuttx/mtd/onfi.h        | 12 -----------
 16 files changed, 46 insertions(+), 120 deletions(-)

diff --git a/LICENSE b/LICENSE
index 3158093..3103313 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2253,6 +2253,52 @@ fs/spiffs
  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGE.
 
+drivers/mtd/hamming.c
+drivers/mtd/mtd_modeltab.c
+drivers/mtd/mtd_nand.c
+drivers/mtd/mtd_nandecc.c
+drivers/mtd/mtd_nandmodel.c
+drivers/mtd/mtd_nandscheme.c
+drivers/mtd/mtd_onfi.c
+include/nuttx/mtd/hamming.h
+include/nuttx/mtd/nand.h
+include/nuttx/mtd/nand_config.h
+include/nuttx/mtd/nand_ecc.h
+include/nuttx/mtd/nand_model.h
+include/nuttx/mtd/nand_raw.h
+include/nuttx/mtd/nand_scheme.h
+include/nuttx/mtd/onfi.h
+========================
+
+   Copyright (c) 2011, Atmel Corporation
+
+ 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.
+ 3. Neither the names NuttX nor Atmel nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+
+ 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.
+
 libs/libc/machine/arm/armv8-m
 =============================
    Copyright (c) 2011, 2012 ARM Ltd.  All rights reserved.
diff --git a/drivers/mtd/hamming.c b/drivers/mtd/hamming.c
index b4268ee..7146523 100644
--- a/drivers/mtd/hamming.c
+++ b/drivers/mtd/hamming.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * drivers/mtd/hamming.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was taken directly from Atmel sample code with only
- * modifications for better integration with NuttX.  The Atmel sample
- * code has a BSD compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2011, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/drivers/mtd/mtd_modeltab.c b/drivers/mtd/mtd_modeltab.c
index 9ee73a1..1ae7d0d 100644
--- a/drivers/mtd/mtd_modeltab.c
+++ b/drivers/mtd/mtd_modeltab.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * drivers/mtd/mtd_modeltab.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/drivers/mtd/mtd_nand.c b/drivers/mtd/mtd_nand.c
index 1a8fc9d..ebff0fc 100644
--- a/drivers/mtd/mtd_nand.c
+++ b/drivers/mtd/mtd_nand.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * drivers/mtd/mtd_nand.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2011, 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/drivers/mtd/mtd_nandecc.c b/drivers/mtd/mtd_nandecc.c
index 3001a6b..987616f 100644
--- a/drivers/mtd/mtd_nandecc.c
+++ b/drivers/mtd/mtd_nandecc.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * drivers/mtd/mtd_nandecc.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2011, 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/drivers/mtd/mtd_nandmodel.c b/drivers/mtd/mtd_nandmodel.c
index 5565662..304e603 100644
--- a/drivers/mtd/mtd_nandmodel.c
+++ b/drivers/mtd/mtd_nandmodel.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * drivers/mtd/mtd_nandmodel.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2011, 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/drivers/mtd/mtd_nandscheme.c b/drivers/mtd/mtd_nandscheme.c
index 1f3b42c..34e0586 100644
--- a/drivers/mtd/mtd_nandscheme.c
+++ b/drivers/mtd/mtd_nandscheme.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * drivers/mtd/mtd_nandscheme.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/drivers/mtd/mtd_onfi.c b/drivers/mtd/mtd_onfi.c
index cd36d58..159eee1 100644
--- a/drivers/mtd/mtd_onfi.c
+++ b/drivers/mtd/mtd_onfi.c
@@ -1,18 +1,6 @@
 /****************************************************************************
  * drivers/mtd/mtd_onfi.c
  *
- * ONFI Support.  The Open NAND Flash Interface (ONFI) is an industry
- * Workgroup made up of more than 100 companies that build, design-in, or
- * enable NAND Flash memory. This file provides definitions for standardized
- * ONFI NAND interfaces.
- *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This ONFI logic was based largely on Atmel sample code with modifications
- * for better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2010, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/hamming.h b/include/nuttx/mtd/hamming.h
index bb0e93e..274a5d7 100644
--- a/include/nuttx/mtd/hamming.h
+++ b/include/nuttx/mtd/hamming.h
@@ -1,13 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/hamming.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was taken directly from Atmel sample code with only
- * modifications for better integration with NuttX.  The Atmel sample
- * code has a BSD compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2011, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/nand.h b/include/nuttx/mtd/nand.h
index 37c5ad6..1792993 100644
--- a/include/nuttx/mtd/nand.h
+++ b/include/nuttx/mtd/nand.h
@@ -1,13 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/nand.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/nand_config.h b/include/nuttx/mtd/nand_config.h
index 92e353c..dec3196 100644
--- a/include/nuttx/mtd/nand_config.h
+++ b/include/nuttx/mtd/nand_config.h
@@ -1,13 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/nand_config.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/nand_ecc.h b/include/nuttx/mtd/nand_ecc.h
index bd86f55..8247a25 100644
--- a/include/nuttx/mtd/nand_ecc.h
+++ b/include/nuttx/mtd/nand_ecc.h
@@ -1,13 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/nand_ecc.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/nand_model.h b/include/nuttx/mtd/nand_model.h
index 717ff7c..b838f4e 100644
--- a/include/nuttx/mtd/nand_model.h
+++ b/include/nuttx/mtd/nand_model.h
@@ -1,18 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/nand_model.h
  *
- * ONFI Support.  The Open NAND Flash Interface (ONFI) is an industry
- * Workgroup made up of more than 100 companies that build, design-in, or
- * enable NAND Flash memory. This file provides definitions for standardized
- * ONFI NAND interfaces.
- *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code for the SAMA5D3x with
- * modifications for better integration with NuttX.  The Atmel sample code
- * has a BSD compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/nand_raw.h b/include/nuttx/mtd/nand_raw.h
index 57b999c..0120070 100644
--- a/include/nuttx/mtd/nand_raw.h
+++ b/include/nuttx/mtd/nand_raw.h
@@ -1,13 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/nand_raw.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/nand_scheme.h b/include/nuttx/mtd/nand_scheme.h
index 2ab237d..9963304 100644
--- a/include/nuttx/mtd/nand_scheme.h
+++ b/include/nuttx/mtd/nand_scheme.h
@@ -1,13 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/nand_scheme.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was based largely on Atmel sample code with modifications for
- * better integration with NuttX.  The Atmel sample code has a BSD
- * compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2012, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/include/nuttx/mtd/onfi.h b/include/nuttx/mtd/onfi.h
index 4632927..6e579ba 100644
--- a/include/nuttx/mtd/onfi.h
+++ b/include/nuttx/mtd/onfi.h
@@ -1,18 +1,6 @@
 /****************************************************************************
  * include/nuttx/mtd/onfi.h
  *
- * ONFI Support.  The Open NAND Flash Interface (ONFI) is an industry
- * Workgroup made up of more than 100 companies that build, design-in, or
- * enable NAND Flash memory. This file provides definitions for standardized
- * ONFI NAND interfaces.
- *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This ONFI logic was based largely on Atmel sample code for the SAMA5D3x
- * with modifications for better integration with NuttX.  The Atmel sample
- * code has a BSD compatible license that requires this copyright notice:
- *
  *   Copyright (c) 2010, Atmel Corporation
  *
  * Redistribution and use in source and binary forms, with or without

[incubator-nuttx] 04/11: LICENSE: add libs/libc/math/ to license file

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit abf8a72ef0404880e53588c47262639630eb14f5
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 09:46:10 2021 +0200

    LICENSE: add libs/libc/math/ to license file
    
    Add Sun Microsystems license for libs/libc/math/__sin.c
    and libs/libc/math/__cos.c
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 LICENSE                        | 39 +++++++++++++++++++++++++++++++++++++++
 libs/libc/math/__cos.c         |  2 --
 libs/libc/math/__sin.c         |  2 --
 libs/libc/math/lib_copysignf.c |  7 -------
 libs/libc/math/lib_lgamma.c    |  2 --
 5 files changed, 39 insertions(+), 13 deletions(-)

diff --git a/LICENSE b/LICENSE
index 90969cb..3158093 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2281,6 +2281,45 @@ libs/libc/machine/arm/armv8-m
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+libs/libc/math/__cos.c
+libs/libc/math/__sin.c
+libs/libc/math/lib_lgamma.c
+libs/libc/math/lib_copysignf.c
+======================
+   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
+
+   Developed at SunSoft, a Sun Microsystems, Inc. business.
+   Permission to use, copy, modify, and distribute this
+   software is freely granted, provided that this notice
+   is preserved.
+
+ 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.
+ 3. Neither the name NuttX nor the names of its contributors may be
+    used to endorse or promote products derived from this software
+    without specific prior written permission.
+
+ 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.
+
 drivers/wireless/bluetooth/bt_uart.c
 drivers/wireless/bluetooth/bt_uart.h
 wireless/bluetooth
diff --git a/libs/libc/math/__cos.c b/libs/libc/math/__cos.c
index 1dd82b9..3121238 100644
--- a/libs/libc/math/__cos.c
+++ b/libs/libc/math/__cos.c
@@ -1,8 +1,6 @@
 /****************************************************************************
  * libs/libc/math/__cos.c
  *
- * Ported to NuttX from FreeBSD by Alan Carvalho de Assis:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunSoft, a Sun Microsystems, Inc. business.
diff --git a/libs/libc/math/__sin.c b/libs/libc/math/__sin.c
index 5dc4c80..7c5cf69 100644
--- a/libs/libc/math/__sin.c
+++ b/libs/libc/math/__sin.c
@@ -1,8 +1,6 @@
 /****************************************************************************
  * libs/libc/math/__sin.c
  *
- * Ported to NuttX from FreeBSD by Alan Carvalho de Assis:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunSoft, a Sun Microsystems, Inc. business.
diff --git a/libs/libc/math/lib_copysignf.c b/libs/libc/math/lib_copysignf.c
index 137dfbf..d5d5dd0 100644
--- a/libs/libc/math/lib_copysignf.c
+++ b/libs/libc/math/lib_copysignf.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * libs/libc/math/lib_copysignf.c
  *
- *   Copyright (C) 2015, 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            Dave Marples <da...@marples.net>
- *
- * Replaced on 2016-07-30 by David Alession with a faster version of
- * copysignf() from NetBSD with the following Copyright:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunPro, a Sun Microsystems, Inc. business.
diff --git a/libs/libc/math/lib_lgamma.c b/libs/libc/math/lib_lgamma.c
index fa0020e..efd32a9 100644
--- a/libs/libc/math/lib_lgamma.c
+++ b/libs/libc/math/lib_lgamma.c
@@ -1,8 +1,6 @@
 /****************************************************************************
  * libs/libc/math/lib_lgamma.c
  *
- * Ported to NuttX from FreeBSD by Alan Carvalho de Assis:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunSoft, a Sun Microsystems, Inc. business.

[incubator-nuttx] 05/11: author: Brennan Ashton: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit a9bfe50fe14cbd79115a37129389fc50f3ddb4e5
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 09:50:32 2021 +0200

    author: Brennan Ashton: update licenses to Apache
    
    Brennan Ashton has submitted the ICLA
    as a result we can migrate the licenses to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 libs/libc/math/lib_acosh.c  | 39 ++++++++++++---------------------------
 libs/libc/math/lib_acoshf.c | 39 ++++++++++++---------------------------
 libs/libc/math/lib_acoshl.c | 39 ++++++++++++---------------------------
 libs/libc/math/lib_asinh.c  | 39 ++++++++++++---------------------------
 libs/libc/math/lib_asinhf.c | 39 ++++++++++++---------------------------
 libs/libc/math/lib_asinhl.c | 39 ++++++++++++---------------------------
 libs/libc/math/lib_atanh.c  | 39 ++++++++++++---------------------------
 libs/libc/math/lib_atanhf.c | 39 ++++++++++++---------------------------
 libs/libc/math/lib_atanhl.c | 39 ++++++++++++---------------------------
 libs/libc/math/lib_erfl.c   | 39 ++++++++++++---------------------------
 10 files changed, 120 insertions(+), 270 deletions(-)

diff --git a/libs/libc/math/lib_acosh.c b/libs/libc/math/lib_acosh.c
index 071f4fd..0468d6a 100644
--- a/libs/libc/math/lib_acosh.c
+++ b/libs/libc/math/lib_acosh.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_acosh.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_acoshf.c b/libs/libc/math/lib_acoshf.c
index ec7bb1d..1151640 100644
--- a/libs/libc/math/lib_acoshf.c
+++ b/libs/libc/math/lib_acoshf.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_acoshf.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_acoshl.c b/libs/libc/math/lib_acoshl.c
index c828aa2..a7a5def 100644
--- a/libs/libc/math/lib_acoshl.c
+++ b/libs/libc/math/lib_acoshl.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_acoshl.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_asinh.c b/libs/libc/math/lib_asinh.c
index 68af325..9244403 100644
--- a/libs/libc/math/lib_asinh.c
+++ b/libs/libc/math/lib_asinh.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_asinh.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_asinhf.c b/libs/libc/math/lib_asinhf.c
index 18cbc7c..f34406d 100644
--- a/libs/libc/math/lib_asinhf.c
+++ b/libs/libc/math/lib_asinhf.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_asinhf.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_asinhl.c b/libs/libc/math/lib_asinhl.c
index 74fa182..61f3fa1 100644
--- a/libs/libc/math/lib_asinhl.c
+++ b/libs/libc/math/lib_asinhl.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_asinhl.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_atanh.c b/libs/libc/math/lib_atanh.c
index 0d4c284..749bdc1 100644
--- a/libs/libc/math/lib_atanh.c
+++ b/libs/libc/math/lib_atanh.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_atanh.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_atanhf.c b/libs/libc/math/lib_atanhf.c
index 60ffe66..63aa8e0 100644
--- a/libs/libc/math/lib_atanhf.c
+++ b/libs/libc/math/lib_atanhf.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_atanhf.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_atanhl.c b/libs/libc/math/lib_atanhl.c
index 9b9244d..039c1c0 100644
--- a/libs/libc/math/lib_atanhl.c
+++ b/libs/libc/math/lib_atanhl.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_atanhl.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/math/lib_erfl.c b/libs/libc/math/lib_erfl.c
index 02c5115..94066df 100644
--- a/libs/libc/math/lib_erfl.c
+++ b/libs/libc/math/lib_erfl.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/math/lib_erfl.c
  *
- *   Copyright (C) 2015 Brennan Ashton. All rights reserved.
- *   Author: Brennan Ashton <ba...@brennanashton.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 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.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/