license.rst 4.4 KB

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