xref: /aosp_15_r20/external/arm-trusted-firmware/docs/license.rst (revision 54fd6939e177f8ff529b10183254802c76df6d08)
1*54fd6939SJiyong ParkLicense
2*54fd6939SJiyong Park=======
3*54fd6939SJiyong Park
4*54fd6939SJiyong ParkThe software is provided under a BSD-3-Clause license (below). Contributions to
5*54fd6939SJiyong Parkthis project are accepted under the same license with developer sign-off as
6*54fd6939SJiyong Parkdescribed in the :ref:`Contributor's Guide`.
7*54fd6939SJiyong Park
8*54fd6939SJiyong Park::
9*54fd6939SJiyong Park
10*54fd6939SJiyong Park    Copyright (c) [XXXX-]YYYY, <OWNER>. All rights reserved.
11*54fd6939SJiyong Park
12*54fd6939SJiyong Park    Redistribution and use in source and binary forms, with or without modification,
13*54fd6939SJiyong Park    are permitted provided that the following conditions are met:
14*54fd6939SJiyong Park
15*54fd6939SJiyong Park    -  Redistributions of source code must retain the above copyright notice, this
16*54fd6939SJiyong Park    list of conditions and the following disclaimer.
17*54fd6939SJiyong Park
18*54fd6939SJiyong Park    -  Redistributions in binary form must reproduce the above copyright notice,
19*54fd6939SJiyong Park    this list of conditions and the following disclaimer in the documentation
20*54fd6939SJiyong Park    and/or other materials provided with the distribution.
21*54fd6939SJiyong Park
22*54fd6939SJiyong Park    -  Neither the name of Arm nor the names of its contributors may be used to
23*54fd6939SJiyong Park    endorse or promote products derived from this software without specific
24*54fd6939SJiyong Park    prior written permission.
25*54fd6939SJiyong Park
26*54fd6939SJiyong Park    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27*54fd6939SJiyong Park    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28*54fd6939SJiyong Park    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29*54fd6939SJiyong Park    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
30*54fd6939SJiyong Park    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31*54fd6939SJiyong Park    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32*54fd6939SJiyong Park    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
33*54fd6939SJiyong Park    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34*54fd6939SJiyong Park    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35*54fd6939SJiyong Park    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36*54fd6939SJiyong Park
37*54fd6939SJiyong ParkSPDX Identifiers
38*54fd6939SJiyong Park----------------
39*54fd6939SJiyong Park
40*54fd6939SJiyong ParkIndividual files contain the following tag instead of the full license text.
41*54fd6939SJiyong Park
42*54fd6939SJiyong Park::
43*54fd6939SJiyong Park
44*54fd6939SJiyong Park    SPDX-License-Identifier:    BSD-3-Clause
45*54fd6939SJiyong Park
46*54fd6939SJiyong ParkThis enables machine processing of license information based on the SPDX
47*54fd6939SJiyong ParkLicense Identifiers that are here available: http://spdx.org/licenses/
48*54fd6939SJiyong Park
49*54fd6939SJiyong Park
50*54fd6939SJiyong ParkOther Projects
51*54fd6939SJiyong Park--------------
52*54fd6939SJiyong Park
53*54fd6939SJiyong ParkThis project contains code from other projects as listed below. The original
54*54fd6939SJiyong Parklicense text is included in those source files.
55*54fd6939SJiyong Park
56*54fd6939SJiyong Park-  The libc source code is derived from `FreeBSD`_ and `SCC`_. FreeBSD uses
57*54fd6939SJiyong Park   various BSD licenses, including BSD-3-Clause and BSD-2-Clause. The SCC code
58*54fd6939SJiyong Park   is used under the BSD-3-Clause license with the author's permission.
59*54fd6939SJiyong Park
60*54fd6939SJiyong Park-  The libfdt source code is disjunctively dual licensed
61*54fd6939SJiyong Park   (GPL-2.0+ OR BSD-2-Clause). It is used by this project under the terms of
62*54fd6939SJiyong Park   the BSD-2-Clause license. Any contributions to this code must be made under
63*54fd6939SJiyong Park   the terms of both licenses.
64*54fd6939SJiyong Park
65*54fd6939SJiyong Park-  The LLVM compiler-rt source code is disjunctively dual licensed
66*54fd6939SJiyong Park   (NCSA OR MIT). It is used by this project under the terms of the NCSA
67*54fd6939SJiyong Park   license (also known as the University of Illinois/NCSA Open Source License),
68*54fd6939SJiyong Park   which is a permissive license compatible with BSD-3-Clause. Any
69*54fd6939SJiyong Park   contributions to this code must be made under the terms of both licenses.
70*54fd6939SJiyong Park
71*54fd6939SJiyong Park-  The zlib source code is licensed under the Zlib license, which is a
72*54fd6939SJiyong Park   permissive license compatible with BSD-3-Clause.
73*54fd6939SJiyong Park
74*54fd6939SJiyong Park-  Some STMicroelectronics platform source code is disjunctively dual licensed
75*54fd6939SJiyong Park   (GPL-2.0+ OR BSD-3-Clause). It is used by this project under the terms of the
76*54fd6939SJiyong Park   BSD-3-Clause license. Any contributions to this code must be made under the
77*54fd6939SJiyong Park   terms of both licenses.
78*54fd6939SJiyong Park
79*54fd6939SJiyong Park-  Some source files originating from the Linux source tree, which are
80*54fd6939SJiyong Park   disjunctively dual licensed (GPL-2.0 OR MIT), are redistributed under the
81*54fd6939SJiyong Park   terms of the MIT license. These files are:
82*54fd6939SJiyong Park
83*54fd6939SJiyong Park   -  ``include/dt-bindings/interrupt-controller/arm-gic.h``
84*54fd6939SJiyong Park   -  ``include/dt-bindings/interrupt-controller/irq.h``
85*54fd6939SJiyong Park
86*54fd6939SJiyong Park   See the original `Linux MIT license`_.
87*54fd6939SJiyong Park
88*54fd6939SJiyong Park.. _FreeBSD: http://www.freebsd.org
89*54fd6939SJiyong Park.. _Linux MIT license: https://raw.githubusercontent.com/torvalds/linux/master/LICENSES/preferred/MIT
90*54fd6939SJiyong Park.. _SCC: http://www.simple-cc.org/
91