xref: /aosp_15_r20/external/coreboot/payloads/libpayload/LICENSES (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1-------------------------------------------------------------------------------
2Copyright and Licenses
3-------------------------------------------------------------------------------
4
5The copyright on libpayload is owned by various individual developers
6and/or companies. Please check the individual source files for details.
7
8The libpayload code is mostly licensed under the terms of the three-clause
9BSD license:
10
11   Redistribution and use in source and binary forms, with or without
12   modification, are permitted provided that the following conditions
13   are met:
14
15   1. Redistributions of source code must retain the above copyright
16      notice, this list of conditions and the following disclaimer.
17   2. Redistributions in binary form must reproduce the above copyright
18      notice, this list of conditions and the following disclaimer in the
19      documentation and/or other materials provided with the distribution.
20   3. The name of the author may not be used to endorse or promote products
21      derived from this software without specific prior written permission.
22
23   THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
24   ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
27   FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29   OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32   OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33   SUCH DAMAGE.
34
35For some parts, which were taken from external projects, other (compatible)
36licenses may apply. Please check the individual source files for details,
37or see the section at the bottom of this file for an overview of third-party
38code in libpayload.
39
40Some parts of libpayload are licensed under the GNU General Public License
41(version 2). These parts are clearly separated by the CONFIG_GPL Kconfig
42option (default off), and will not be linked into the output payload unless
43that option has been chosen. The full text of that license is provided in the
44LICENSE_GPL file.
45
46(Please note that the coreboot project makes a best effort to keep licensing
47information up to date and accurate, but provides no legal guarantees to that
48regard. If you redistribute libpayload code in source or binary form, it is
49your liability to ensure that you conform to all legal requirements that this
50might entail.)
51
52Third-party Code and License Overview
53-------------------------------------
54
55This is an overview of (modified or unmodified) third-party code in
56libpayload, and where it was originally taken from.
57
58Please check the individual source code files for the list of copyright
59holders, and the exact license terms that apply.
60
61* util/kconfig/*: GPLv2
62  Source: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
63  Current version we use: 587c90616a5b44e6ccfac38e64d4fecee51d588c (03/2008)
64
65* include/curses.priv.h: BSD-like license
66  Source: ncurses, http://www.gnu.org/software/ncurses/
67  Original files: ncurses/curses.priv.h
68  Current version we use: 5.6
69
70* include/curses.h: BSD-like license
71  Source: ncurses, http://www.gnu.org/software/ncurses/
72  Original files: include/curses.h.in
73  Current version we use: 5.6
74
75* include/lar.h: GPLv2 or revised BSD license
76  Source: coreboot v3, svn://coreboot.org/repository/coreboot-v3
77  Original file: util/lar/lar.h
78  Current version we use: r647
79
80* libc/ipchecksum.c: 2-clause BSD license
81  Source: FreeBSD's base system libraries, http://www.freebsd.org
82          http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libalias/Attic/alias_util.c?rev=1.15;content-type=text%2Fplain
83  Original files: lib/libalias/alias_util.c, function LibAliasInternetChecksum()
84  Current version we use: CVS revision 1.15 2004/07/06 12:13:28
85
86* libc/rand.c: 3-clause BSD license
87  Source: OpenBSD
88          http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/rand.c
89  Original files: src/lib/libc/stdlib/rand.c
90  Current version we use: CVS revision 1.9 2005/8/8 08:05:37
91
92* libc/memory.c: 3-clause BSD license
93  Source: HelenOS, http://www.helenos.eu
94          svn checkout svn://svn.helenos.eu/HelenOS/trunk HelenOS
95          http://svn.helenos.eu/chora/browse.php?f=%2Ftrunk%2F
96  Original files: uspace/libc/generic/string.c
97  Current version we use: r2754
98
99* libc/printf.c: 3-clause BSD license
100  Source: HelenOS, http://www.helenos.eu
101          svn checkout svn://svn.helenos.eu/HelenOS/trunk HelenOS
102          http://svn.helenos.eu/chora/browse.php?f=%2Ftrunk%2F
103  Original files: kernel/generic/src/printf/printf_core.c
104                  kernel/generic/src/printf/snprintf.c
105                  kernel/generic/src/printf/sprintf.c
106                  kernel/generic/src/printf/vsnprintf.c
107                  kernel/generic/src/printf/vsprintf.c
108                  kernel/generic/src/printf/printf.c
109                  kernel/generic/src/printf/vprintf.c
110  Current version we use: r2745
111
112* drivers/video/font8x16.c: 3-clause BSD license
113  Source: HelenOS, http://www.helenos.eu
114          svn checkout svn://svn.helenos.eu/HelenOS/trunk HelenOS
115          http://svn.helenos.eu/chora/browse.php?f=%2Ftrunk%2F
116  Original file: kernel/genarch/src/fb/font-8x16.c
117  Current version we use: r3293
118
119* crypto/sha1.c: Public domain
120  Source: OpenBSD
121          http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/hash/sha1.c
122  Original files: src/lib/libc/hash/sha1.c
123  Current version we use: CVS revision 1.20 2005/08/08
124
125* arch/arm/mem*.S: GPLv2
126  Source: Linux, http://www.kernel.org
127  Original files: arch/arm/lib/mem*.S
128  Current version we use: 3.9 (418df63adac56841ef6b0f1fcf435bc64d4ed177)
129
130* arch/x86/string.c: LGPLv2.1, modified to GPLv2 under the terms of section 3
131  Source: GNU C Library (glibc), http://www.gnu.org/software/libc/libc.html
132  Original files: sysdeps/i386/memset.c
133  Current version we use: 2.14
134
135* liblz4/lz4.c: 2-clause BSD
136  Source: LZ4 library, https://github.com/Cyan4973/lz4
137  Current version we use: r130 (baf78e7e4dcbdf824a76f990ffeb573d113bbbdb)
138