xref: /OK3568_Linux_fs/u-boot/Licenses/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun  U-Boot is Free Software.  It is copyrighted by Wolfgang Denk and
2*4882a593Smuzhiyunmany others who contributed code (see the actual source code and the
3*4882a593Smuzhiyungit commit messages for details).  You can redistribute U-Boot and/or
4*4882a593Smuzhiyunmodify it under the terms of version 2 of the GNU General Public
5*4882a593SmuzhiyunLicense as published by the Free Software Foundation.  Most of it can
6*4882a593Smuzhiyunalso be distributed, at your option, under any later version of the
7*4882a593SmuzhiyunGNU General Public License -- see individual files for exceptions.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun  NOTE! This license does *not* cover the so-called "standalone"
10*4882a593Smuzhiyunapplications that use U-Boot services by means of the jump table
11*4882a593Smuzhiyunprovided by U-Boot exactly for this purpose - this is merely
12*4882a593Smuzhiyunconsidered normal use of U-Boot, and does *not* fall under the
13*4882a593Smuzhiyunheading of "derived work" -- see file  Licenses/Exceptions  for
14*4882a593Smuzhiyundetails.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  Also note that the GPL and the other licenses are copyrighted by
17*4882a593Smuzhiyunthe Free Software Foundation and other organizations, but the
18*4882a593Smuzhiyuninstance of code that they refer to (the U-Boot source code) is
19*4882a593Smuzhiyuncopyrighted by me and others who actually wrote it.
20*4882a593Smuzhiyun-- Wolfgang Denk
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunLike many other projects, U-Boot has a tradition of including big
24*4882a593Smuzhiyunblocks of License headers in all files.  This not only blows up the
25*4882a593Smuzhiyunsource code with mostly redundant information, but also makes it very
26*4882a593Smuzhiyundifficult to generate License Clearing Reports.  An additional problem
27*4882a593Smuzhiyunis that even the same licenses are referred to by a number of
28*4882a593Smuzhiyunslightly varying text blocks (full, abbreviated, different
29*4882a593Smuzhiyunindentation, line wrapping and/or white space, with obsolete address
30*4882a593Smuzhiyuninformation, ...) which makes automatic processing a nightmare.
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunTo make this easier, such license headers in the source files will be
33*4882a593Smuzhiyunreplaced with a single line reference to Unique License Identifiers
34*4882a593Smuzhiyunas defined by the Linux Foundation's SPDX project [1].  For example,
35*4882a593Smuzhiyunin a source file the full "GPL v2.0 or later" header text will be
36*4882a593Smuzhiyunreplaced by a single line:
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun	SPDX-License-Identifier:	GPL-2.0+
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunIdeally, the license terms of all files in the source tree should be
41*4882a593Smuzhiyundefined by such License Identifiers; in no case a file can contain
42*4882a593Smuzhiyunmore than one such License Identifier list.
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunIf a "SPDX-License-Identifier:" line references more than one Unique
45*4882a593SmuzhiyunLicense Identifier, then this means that the respective file can be
46*4882a593Smuzhiyunused under the terms of either of these licenses, i. e. with
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun	SPDX-License-Identifier:	GPL-2.0+	BSD-3-Clause
49*4882a593Smuzhiyun
50*4882a593Smuzhiyunyou can choose between GPL-2.0+ and BSD-3-Clause licensing.
51*4882a593Smuzhiyun
52*4882a593SmuzhiyunWe use the SPDX Unique License Identifiers here; these are available
53*4882a593Smuzhiyunat [2].
54*4882a593Smuzhiyun
55*4882a593Smuzhiyun[1] http://spdx.org/
56*4882a593Smuzhiyun[2] http://spdx.org/licenses/
57*4882a593Smuzhiyun
58*4882a593SmuzhiyunFull name					SPDX Identifier	OSI Approved	File name		URI
59*4882a593Smuzhiyun=======================================================================================================================================
60*4882a593SmuzhiyunGNU General Public License v2.0 only		GPL-2.0		Y		gpl-2.0.txt		http://www.gnu.org/licenses/gpl-2.0.txt
61*4882a593SmuzhiyunGNU General Public License v2.0 or later	GPL-2.0+	Y		gpl-2.0.txt		http://www.gnu.org/licenses/gpl-2.0.txt
62*4882a593SmuzhiyunGNU Library General Public License v2 or later	LGPL-2.0+	Y		lgpl-2.0.txt		http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt
63*4882a593SmuzhiyunGNU Lesser General Public License v2.1 or later	LGPL-2.1+	Y		lgpl-2.1.txt		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
64*4882a593SmuzhiyuneCos license version 2.0			eCos-2.0			eCos-2.0.txt		http://www.gnu.org/licenses/ecos-license.html
65*4882a593SmuzhiyunBSD 2-Clause License				BSD-2-Clause	Y		bsd-2-clause.txt	http://spdx.org/licenses/BSD-2-Clause
66*4882a593SmuzhiyunBSD 3-clause "New" or "Revised" License		BSD-3-Clause	Y		bsd-3-clause.txt	http://spdx.org/licenses/BSD-3-Clause#licenseText
67*4882a593SmuzhiyunIBM PIBS (PowerPC Initialization and		IBM-pibs			ibm-pibs.txt
68*4882a593Smuzhiyun	Boot Software) license
69*4882a593SmuzhiyunISC License					ISC		Y		isc.txt			https://spdx.org/licenses/ISC
70*4882a593SmuzhiyunSIL OPEN FONT LICENSE (OFL-1.1)			OFL-1.1		Y		OFL.txt			https://spdx.org/licenses/OFL-1.1.html
71*4882a593SmuzhiyunX11 License					X11				x11.txt			https://spdx.org/licenses/X11.html
72