xref: /openbmc/u-boot/Licenses/README (revision 17fd36c1)
1eca3aeb3SWolfgang Denk  U-Boot is Free Software.  It is copyrighted by Wolfgang Denk and
2eca3aeb3SWolfgang Denkmany others who contributed code (see the actual source code and the
3eca3aeb3SWolfgang Denkgit commit messages for details).  You can redistribute U-Boot and/or
4eca3aeb3SWolfgang Denkmodify it under the terms of version 2 of the GNU General Public
5eca3aeb3SWolfgang DenkLicense as published by the Free Software Foundation.  Most of it can
6eca3aeb3SWolfgang Denkalso be distributed, at your option, under any later version of the
7eca3aeb3SWolfgang DenkGNU General Public License -- see individual files for exceptions.
8eca3aeb3SWolfgang Denk
9eca3aeb3SWolfgang Denk  NOTE! This license does *not* cover the so-called "standalone"
10eca3aeb3SWolfgang Denkapplications that use U-Boot services by means of the jump table
11eca3aeb3SWolfgang Denkprovided by U-Boot exactly for this purpose - this is merely
12eca3aeb3SWolfgang Denkconsidered normal use of U-Boot, and does *not* fall under the
13eca3aeb3SWolfgang Denkheading of "derived work" -- see file  Licenses/Exceptions  for
14eca3aeb3SWolfgang Denkdetails.
15eca3aeb3SWolfgang Denk
16eca3aeb3SWolfgang Denk  Also note that the GPL and the other licenses are copyrighted by
17eca3aeb3SWolfgang Denkthe Free Software Foundation and other organizations, but the
18eca3aeb3SWolfgang Denkinstance of code that they refer to (the U-Boot source code) is
19eca3aeb3SWolfgang Denkcopyrighted by me and others who actually wrote it.
20eca3aeb3SWolfgang Denk-- Wolfgang Denk
21eca3aeb3SWolfgang Denk
22eca3aeb3SWolfgang Denk
23eca3aeb3SWolfgang DenkLike many other projects, U-Boot has a tradition of including big
24eca3aeb3SWolfgang Denkblocks of License headers in all files.  This not only blows up the
25eca3aeb3SWolfgang Denksource code with mostly redundant information, but also makes it very
26eca3aeb3SWolfgang Denkdifficult to generate License Clearing Reports.  An additional problem
27eca3aeb3SWolfgang Denkis that even the same licenses are referred to by a number of
28eca3aeb3SWolfgang Denkslightly varying text blocks (full, abbreviated, different
29eca3aeb3SWolfgang Denkindentation, line wrapping and/or white space, with obsolete address
30eca3aeb3SWolfgang Denkinformation, ...) which makes automatic processing a nightmare.
31eca3aeb3SWolfgang Denk
32eca3aeb3SWolfgang DenkTo make this easier, such license headers in the source files will be
33eca3aeb3SWolfgang Denkreplaced with a single line reference to Unique License Identifiers
34eca3aeb3SWolfgang Denkas defined by the Linux Foundation's SPDX project [1].  For example,
35eca3aeb3SWolfgang Denkin a source file the full "GPL v2.0 or later" header text will be
36eca3aeb3SWolfgang Denkreplaced by a single line:
37eca3aeb3SWolfgang Denk
38eca3aeb3SWolfgang Denk	SPDX-License-Identifier:	GPL-2.0+
39eca3aeb3SWolfgang Denk
40*17fd36c1SWolfgang DenkIdeally, the license terms of all files in the source tree should be
41*17fd36c1SWolfgang Denkdefined by such License Identifiers; in no case a file can contain
42*17fd36c1SWolfgang Denkmore than one such License Identifier list.
43*17fd36c1SWolfgang Denk
44*17fd36c1SWolfgang DenkIf a "SPDX-License-Identifier:" line references more than one Unique
45*17fd36c1SWolfgang DenkLicense Identifier, then this means that the respective file can be
46*17fd36c1SWolfgang Denkused under the terms of either of these licenses, i. e. with
47*17fd36c1SWolfgang Denk
48*17fd36c1SWolfgang Denk	SPDX-License-Identifier:	GPL-2.0+	BSD-3-Clause
49*17fd36c1SWolfgang Denk
50*17fd36c1SWolfgang Denkyou can chose between GPL-2.0+ and BSD-3-Clause licensing.
51*17fd36c1SWolfgang Denk
52eca3aeb3SWolfgang DenkWe use the SPDX Unique License Identifiers here; these are available
53eca3aeb3SWolfgang Denkat [2].
54eca3aeb3SWolfgang Denk
55eca3aeb3SWolfgang Denk[1] http://spdx.org/
56eca3aeb3SWolfgang Denk[2] http://spdx.org/licenses/
57eca3aeb3SWolfgang Denk
58eca3aeb3SWolfgang DenkFull name					SPDX Identifier	OSI Approved	File name		URI
59eca3aeb3SWolfgang Denk=======================================================================================================================================
60eca3aeb3SWolfgang DenkGNU General Public License v2.0 only		GPL-2.0		Y		gpl-2.0.txt		http://www.gnu.org/licenses/gpl-2.0.txt
61eca3aeb3SWolfgang DenkGNU General Public License v2.0 or later	GPL-2.0+	Y		gpl-2.0.txt		http://www.gnu.org/licenses/gpl-2.0.txt
62a53002f4SWolfgang DenkGNU 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
63eee479cfSWolfgang DenkGNU 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
64e85427fdSWolfgang DenkeCos license version 2.0			eCos-2.0			eCos-2.0.txt		http://www.gnu.org/licenses/ecos-license.html
65cb3761eaSWolfgang DenkBSD 2-Clause License				BSD-2-Clause	Y		bsd-2-clause.txt	http://spdx.org/licenses/BSD-2-Clause
66cb3761eaSWolfgang DenkBSD 3-clause "New" or "Revised" License		BSD-3-Clause	Y		bsd-3-clause.txt	http://spdx.org/licenses/BSD-3-Clause#licenseText
671b387ef5SWolfgang DenkIBM PIBS (PowerPC Initialization and		IBM-pibs			ibm-pibs.txt
6846263f2dSWolfgang Denk	Boot Software) license
69