Paul Beesley | cb23802 | 2019-03-07 15:25:14 +0000 | [diff] [blame] | 1 | License |
| 2 | ======= |
| 3 | |
| 4 | The software is provided under a BSD-3-Clause license (below). Contributions to |
| 5 | this project are accepted under the same license with developer sign-off as |
Paul Beesley | f864067 | 2019-04-12 14:19:42 +0100 | [diff] [blame] | 6 | described in the :ref:`Contributor's Guide`. |
Paul Beesley | cb23802 | 2019-03-07 15:25:14 +0000 | [diff] [blame] | 7 | |
| 8 | :: |
| 9 | |
| 10 | Copyright (c) [XXXX-]YYYY, <OWNER>. All rights reserved. |
| 11 | |
| 12 | Redistribution and use in source and binary forms, with or without modification, |
| 13 | are permitted provided that the following conditions are met: |
| 14 | |
| 15 | - Redistributions of source code must retain the above copyright notice, this |
| 16 | list of conditions and the following disclaimer. |
| 17 | |
| 18 | - Redistributions in binary form must reproduce the above copyright notice, |
| 19 | this list of conditions and the following disclaimer in the documentation |
| 20 | and/or other materials provided with the distribution. |
| 21 | |
| 22 | - Neither the name of Arm nor the names of its contributors may be used to |
| 23 | endorse or promote products derived from this software without specific |
| 24 | prior written permission. |
| 25 | |
| 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 27 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 28 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 29 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| 30 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 31 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 32 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 33 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 36 | |
| 37 | SPDX Identifiers |
| 38 | ---------------- |
| 39 | |
| 40 | Individual files contain the following tag instead of the full license text. |
| 41 | |
| 42 | :: |
| 43 | |
| 44 | SPDX-License-Identifier: BSD-3-Clause |
| 45 | |
| 46 | This enables machine processing of license information based on the SPDX |
| 47 | License Identifiers that are here available: http://spdx.org/licenses/ |
| 48 | |
| 49 | |
| 50 | Other Projects |
| 51 | -------------- |
| 52 | |
| 53 | This project contains code from other projects as listed below. The original |
| 54 | license text is included in those source files. |
| 55 | |
| 56 | - The libc source code is derived from `FreeBSD`_ and `SCC`_. FreeBSD uses |
| 57 | various BSD licenses, including BSD-3-Clause and BSD-2-Clause. The SCC code |
| 58 | is used under the BSD-3-Clause license with the author's permission. |
| 59 | |
| 60 | - The libfdt source code is disjunctively dual licensed |
| 61 | (GPL-2.0+ OR BSD-2-Clause). It is used by this project under the terms of |
| 62 | the BSD-2-Clause license. Any contributions to this code must be made under |
| 63 | the terms of both licenses. |
| 64 | |
| 65 | - The LLVM compiler-rt source code is disjunctively dual licensed |
| 66 | (NCSA OR MIT). It is used by this project under the terms of the NCSA |
| 67 | license (also known as the University of Illinois/NCSA Open Source License), |
| 68 | which is a permissive license compatible with BSD-3-Clause. Any |
| 69 | contributions to this code must be made under the terms of both licenses. |
| 70 | |
| 71 | - The zlib source code is licensed under the Zlib license, which is a |
| 72 | permissive license compatible with BSD-3-Clause. |
| 73 | |
| 74 | - Some STMicroelectronics platform source code is disjunctively dual licensed |
| 75 | (GPL-2.0+ OR BSD-3-Clause). It is used by this project under the terms of the |
| 76 | BSD-3-Clause license. Any contributions to this code must be made under the |
| 77 | terms of both licenses. |
| 78 | |
Chris Kay | 9c74f70 | 2021-04-26 11:21:41 +0100 | [diff] [blame] | 79 | - Some source files originating from the Linux source tree, which are |
| 80 | disjunctively dual licensed (GPL-2.0 OR MIT), are redistributed under the |
| 81 | terms of the MIT license. These files are: |
| 82 | |
| 83 | - ``include/dt-bindings/interrupt-controller/arm-gic.h`` |
Yann Gautier | 6fa0461 | 2021-05-25 18:14:24 +0200 | [diff] [blame] | 84 | - ``include/dt-bindings/interrupt-controller/irq.h`` |
Chris Kay | 9c74f70 | 2021-04-26 11:21:41 +0100 | [diff] [blame] | 85 | |
| 86 | See the original `Linux MIT license`_. |
| 87 | |
Tamas Ban | a49698c | 2023-06-06 13:14:45 +0200 | [diff] [blame] | 88 | - Some source files originating from the `Open Profile for DICE`_ project. |
| 89 | These files are licensed under the Apache License, Version 2.0, which is a |
| 90 | permissive license compatible with BSD-3-Clause. Any contributions to this |
| 91 | code must also be made under the terms of `Apache License 2.0`_. |
| 92 | These files are: |
| 93 | |
| 94 | - ``include/lib/dice/dice.h`` |
| 95 | |
Xialin Liu | feee26f | 2024-07-29 17:10:16 -0500 | [diff] [blame] | 96 | - Some source files originating from the `pydevicetree`_ project. |
| 97 | These files are licensed under the Apache License, Version 2.0, which is a |
| 98 | permissive license compatible with BSD-3-Clause. Any contributions to this |
| 99 | code must also be made under the terms of `Apache License 2.0`_. |
| 100 | These files are: |
| 101 | |
| 102 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/__init__.py`` |
| 103 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/directive.py`` |
| 104 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/helpers.py`` |
| 105 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/node.py`` |
| 106 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/property.py`` |
| 107 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/reference.py`` |
| 108 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/__init__.py`` |
| 109 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/grammar.py`` |
| 110 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/parser.py`` |
| 111 | - ``tools/cot_dt2c/cot_dt2c/pydevicetree/__init__.py`` |
| 112 | |
| 113 | |
Paul Beesley | cb23802 | 2019-03-07 15:25:14 +0000 | [diff] [blame] | 114 | .. _FreeBSD: http://www.freebsd.org |
Chris Kay | 9c74f70 | 2021-04-26 11:21:41 +0100 | [diff] [blame] | 115 | .. _Linux MIT license: https://raw.githubusercontent.com/torvalds/linux/master/LICENSES/preferred/MIT |
Paul Beesley | f864067 | 2019-04-12 14:19:42 +0100 | [diff] [blame] | 116 | .. _SCC: http://www.simple-cc.org/ |
Tamas Ban | a49698c | 2023-06-06 13:14:45 +0200 | [diff] [blame] | 117 | .. _Open Profile for DICE: https://pigweed.googlesource.com/open-dice/ |
| 118 | .. _Apache License 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt |
Xialin Liu | feee26f | 2024-07-29 17:10:16 -0500 | [diff] [blame] | 119 | .. _pydevicetree: https://pypi.org/project/pydevicetree/ |