1License
2=======
3
4The software is provided under a BSD-3-Clause license (below). Contributions to
5this project are accepted under the same license with developer sign-off as
6described in the :ref:`Contributor's Guide`.
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
37SPDX Identifiers
38----------------
39
40Individual files contain the following tag instead of the full license text.
41
42::
43
44    SPDX-License-Identifier:    BSD-3-Clause
45
46This enables machine processing of license information based on the SPDX
47License Identifiers that are here available: http://spdx.org/licenses/
48
49
50Other Projects
51--------------
52
53This project contains code from other projects as listed below. The original
54license 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
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``
84   -  ``include/dt-bindings/interrupt-controller/irq.h``
85
86   See the original `Linux MIT license`_.
87
88.. _FreeBSD: http://www.freebsd.org
89.. _Linux MIT license: https://raw.githubusercontent.com/torvalds/linux/master/LICENSES/preferred/MIT
90.. _SCC: http://www.simple-cc.org/
91