xref: /rk3399_ARM-atf/docs/license.rst (revision d8fdff38b544b79c4f0b757e3b3c82ce9c8a2f9e)
19f1622b0SPaul BeesleyLicense
29f1622b0SPaul Beesley=======
39f1622b0SPaul Beesley
49f1622b0SPaul BeesleyThe software is provided under a BSD-3-Clause license (below). Contributions to
59f1622b0SPaul Beesleythis project are accepted under the same license with developer sign-off as
634760951SPaul Beesleydescribed in the :ref:`Contributor's Guide`.
79f1622b0SPaul Beesley
89f1622b0SPaul Beesley::
99f1622b0SPaul Beesley
109f1622b0SPaul Beesley    Copyright (c) [XXXX-]YYYY, <OWNER>. All rights reserved.
119f1622b0SPaul Beesley
129f1622b0SPaul Beesley    Redistribution and use in source and binary forms, with or without modification,
139f1622b0SPaul Beesley    are permitted provided that the following conditions are met:
149f1622b0SPaul Beesley
159f1622b0SPaul Beesley    -  Redistributions of source code must retain the above copyright notice, this
169f1622b0SPaul Beesley    list of conditions and the following disclaimer.
179f1622b0SPaul Beesley
189f1622b0SPaul Beesley    -  Redistributions in binary form must reproduce the above copyright notice,
199f1622b0SPaul Beesley    this list of conditions and the following disclaimer in the documentation
209f1622b0SPaul Beesley    and/or other materials provided with the distribution.
219f1622b0SPaul Beesley
229f1622b0SPaul Beesley    -  Neither the name of Arm nor the names of its contributors may be used to
239f1622b0SPaul Beesley    endorse or promote products derived from this software without specific
249f1622b0SPaul Beesley    prior written permission.
259f1622b0SPaul Beesley
269f1622b0SPaul Beesley    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
279f1622b0SPaul Beesley    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
289f1622b0SPaul Beesley    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
299f1622b0SPaul Beesley    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
309f1622b0SPaul Beesley    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
319f1622b0SPaul Beesley    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
329f1622b0SPaul Beesley    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
339f1622b0SPaul Beesley    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
349f1622b0SPaul Beesley    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
359f1622b0SPaul Beesley    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
369f1622b0SPaul Beesley
379f1622b0SPaul BeesleySPDX Identifiers
389f1622b0SPaul Beesley----------------
399f1622b0SPaul Beesley
409f1622b0SPaul BeesleyIndividual files contain the following tag instead of the full license text.
419f1622b0SPaul Beesley
429f1622b0SPaul Beesley::
439f1622b0SPaul Beesley
449f1622b0SPaul Beesley    SPDX-License-Identifier:    BSD-3-Clause
459f1622b0SPaul Beesley
469f1622b0SPaul BeesleyThis enables machine processing of license information based on the SPDX
479f1622b0SPaul BeesleyLicense Identifiers that are here available: http://spdx.org/licenses/
489f1622b0SPaul Beesley
499f1622b0SPaul Beesley
509f1622b0SPaul BeesleyOther Projects
519f1622b0SPaul Beesley--------------
529f1622b0SPaul Beesley
539f1622b0SPaul BeesleyThis project contains code from other projects as listed below. The original
549f1622b0SPaul Beesleylicense text is included in those source files.
559f1622b0SPaul Beesley
569f1622b0SPaul Beesley-  The libc source code is derived from `FreeBSD`_ and `SCC`_. FreeBSD uses
579f1622b0SPaul Beesley   various BSD licenses, including BSD-3-Clause and BSD-2-Clause. The SCC code
589f1622b0SPaul Beesley   is used under the BSD-3-Clause license with the author's permission.
599f1622b0SPaul Beesley
609f1622b0SPaul Beesley-  The libfdt source code is disjunctively dual licensed
619f1622b0SPaul Beesley   (GPL-2.0+ OR BSD-2-Clause). It is used by this project under the terms of
629f1622b0SPaul Beesley   the BSD-2-Clause license. Any contributions to this code must be made under
639f1622b0SPaul Beesley   the terms of both licenses.
649f1622b0SPaul Beesley
659f1622b0SPaul Beesley-  The LLVM compiler-rt source code is disjunctively dual licensed
669f1622b0SPaul Beesley   (NCSA OR MIT). It is used by this project under the terms of the NCSA
679f1622b0SPaul Beesley   license (also known as the University of Illinois/NCSA Open Source License),
689f1622b0SPaul Beesley   which is a permissive license compatible with BSD-3-Clause. Any
699f1622b0SPaul Beesley   contributions to this code must be made under the terms of both licenses.
709f1622b0SPaul Beesley
719f1622b0SPaul Beesley-  The zlib source code is licensed under the Zlib license, which is a
729f1622b0SPaul Beesley   permissive license compatible with BSD-3-Clause.
739f1622b0SPaul Beesley
749f1622b0SPaul Beesley-  Some STMicroelectronics platform source code is disjunctively dual licensed
759f1622b0SPaul Beesley   (GPL-2.0+ OR BSD-3-Clause). It is used by this project under the terms of the
769f1622b0SPaul Beesley   BSD-3-Clause license. Any contributions to this code must be made under the
779f1622b0SPaul Beesley   terms of both licenses.
789f1622b0SPaul Beesley
793dbbbca2SChris Kay-  Some source files originating from the Linux source tree, which are
803dbbbca2SChris Kay   disjunctively dual licensed (GPL-2.0 OR MIT), are redistributed under the
813dbbbca2SChris Kay   terms of the MIT license. These files are:
823dbbbca2SChris Kay
833dbbbca2SChris Kay   -  ``include/dt-bindings/interrupt-controller/arm-gic.h``
84f1b6b014SYann Gautier   -  ``include/dt-bindings/interrupt-controller/irq.h``
853dbbbca2SChris Kay
863dbbbca2SChris Kay   See the original `Linux MIT license`_.
873dbbbca2SChris Kay
88584052c7STamas Ban-  Some source files originating from the `Open Profile for DICE`_ project.
89584052c7STamas Ban   These files are licensed under the Apache License, Version 2.0, which is a
90584052c7STamas Ban   permissive license compatible with BSD-3-Clause. Any contributions to this
91584052c7STamas Ban   code must also be made under the terms of `Apache License 2.0`_.
92584052c7STamas Ban   These files are:
93584052c7STamas Ban
94584052c7STamas Ban   -  ``include/lib/dice/dice.h``
95584052c7STamas Ban
96b95f398eSXialin Liu-  Some source files originating from the `pydevicetree`_ project.
97b95f398eSXialin Liu   These files are licensed under the Apache License, Version 2.0, which is a
98b95f398eSXialin Liu   permissive license compatible with BSD-3-Clause. Any contributions to this
99b95f398eSXialin Liu   code must also be made under the terms of `Apache License 2.0`_.
100b95f398eSXialin Liu   These files are:
101b95f398eSXialin Liu
102b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/__init__.py``
103b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/directive.py``
104b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/helpers.py``
105b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/node.py``
106b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/property.py``
107b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/ast/reference.py``
108b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/__init__.py``
109b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/grammar.py``
110b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/source/parser.py``
111b95f398eSXialin Liu   -  ``tools/cot_dt2c/cot_dt2c/pydevicetree/__init__.py``
112b95f398eSXialin Liu
1136b68b4a4SLevi Yun-  Some source files originating from the `edk2`_ project.
1146b68b4a4SLevi Yun   These files are licensed under the BSD-2-Clause. Any contributions to this
1156b68b4a4SLevi Yun   code must also be made under the terms of BSD-2-Clause.
1166b68b4a4SLevi Yun   These files are:
1176b68b4a4SLevi Yun
1186b68b4a4SLevi Yun   -  ``lib/hob/hob.c``
1198953568aSLevi Yun   -  ``include/lib/hob/mmram.h``
1208953568aSLevi Yun   -  ``include/lib/hob/mpinfo.h``
121b95f398eSXialin Liu
122*a98d4661SJimmy Brisson- Some source files originating from the `mbed OS`_ project.
123*a98d4661SJimmy Brisson  These files are licensed under the Apache License, Version 2.0, which is a
124*a98d4661SJimmy Brisson  permissive license compatible with BSD-3-Clause. Any contributions to this
125*a98d4661SJimmy Brisson  code must also be made under the terms of `Apache License 2.0`_.
126*a98d4661SJimmy Brisson  These files are:
127*a98d4661SJimmy Brisson
128*a98d4661SJimmy Brisson   -  ``tools/memory/memory/mapsummary.py``
129*a98d4661SJimmy Brisson   -  ``tools/memory/memory/mapsummary_flamegraph.hmtl``
130*a98d4661SJimmy Brisson
1319f1622b0SPaul Beesley.. _FreeBSD: http://www.freebsd.org
1323dbbbca2SChris Kay.. _Linux MIT license: https://raw.githubusercontent.com/torvalds/linux/master/LICENSES/preferred/MIT
1339f1622b0SPaul Beesley.. _SCC: http://www.simple-cc.org/
134584052c7STamas Ban.. _Open Profile for DICE: https://pigweed.googlesource.com/open-dice/
135584052c7STamas Ban.. _Apache License 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
136b95f398eSXialin Liu.. _pydevicetree: https://pypi.org/project/pydevicetree/
1376b68b4a4SLevi Yun.. _edk2: https://github.com/tianocore/edk2
138*a98d4661SJimmy Brisson.. _mbed OS: https://github.com/ARMmbed/mbed-os/
139