xref: /aosp_15_r20/external/coreboot/LICENSES/Apache-2.0.txt (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1*b9411a12SAndroid Build Coastguard WorkerApache License
2*b9411a12SAndroid Build Coastguard Worker
3*b9411a12SAndroid Build Coastguard WorkerVersion 2.0, January 2004
4*b9411a12SAndroid Build Coastguard Worker
5*b9411a12SAndroid Build Coastguard Workerhttp://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION,
6*b9411a12SAndroid Build Coastguard WorkerAND DISTRIBUTION
7*b9411a12SAndroid Build Coastguard Worker
8*b9411a12SAndroid Build Coastguard Worker   1. Definitions.
9*b9411a12SAndroid Build Coastguard Worker
10*b9411a12SAndroid Build Coastguard Worker
11*b9411a12SAndroid Build Coastguard Worker
12*b9411a12SAndroid Build Coastguard Worker"License" shall mean the terms and conditions for use, reproduction, and distribution
13*b9411a12SAndroid Build Coastguard Workeras defined by Sections 1 through 9 of this document.
14*b9411a12SAndroid Build Coastguard Worker
15*b9411a12SAndroid Build Coastguard Worker
16*b9411a12SAndroid Build Coastguard Worker
17*b9411a12SAndroid Build Coastguard Worker"Licensor" shall mean the copyright owner or entity authorized by the copyright
18*b9411a12SAndroid Build Coastguard Workerowner that is granting the License.
19*b9411a12SAndroid Build Coastguard Worker
20*b9411a12SAndroid Build Coastguard Worker
21*b9411a12SAndroid Build Coastguard Worker
22*b9411a12SAndroid Build Coastguard Worker"Legal Entity" shall mean the union of the acting entity and all other entities
23*b9411a12SAndroid Build Coastguard Workerthat control, are controlled by, or are under common control with that entity.
24*b9411a12SAndroid Build Coastguard WorkerFor the purposes of this definition, "control" means (i) the power, direct
25*b9411a12SAndroid Build Coastguard Workeror indirect, to cause the direction or management of such entity, whether
26*b9411a12SAndroid Build Coastguard Workerby contract or otherwise, or (ii) ownership of fifty percent (50%) or more
27*b9411a12SAndroid Build Coastguard Workerof the outstanding shares, or (iii) beneficial ownership of such entity.
28*b9411a12SAndroid Build Coastguard Worker
29*b9411a12SAndroid Build Coastguard Worker
30*b9411a12SAndroid Build Coastguard Worker
31*b9411a12SAndroid Build Coastguard Worker"You" (or "Your") shall mean an individual or Legal Entity exercising permissions
32*b9411a12SAndroid Build Coastguard Workergranted by this License.
33*b9411a12SAndroid Build Coastguard Worker
34*b9411a12SAndroid Build Coastguard Worker
35*b9411a12SAndroid Build Coastguard Worker
36*b9411a12SAndroid Build Coastguard Worker"Source" form shall mean the preferred form for making modifications, including
37*b9411a12SAndroid Build Coastguard Workerbut not limited to software source code, documentation source, and configuration
38*b9411a12SAndroid Build Coastguard Workerfiles.
39*b9411a12SAndroid Build Coastguard Worker
40*b9411a12SAndroid Build Coastguard Worker
41*b9411a12SAndroid Build Coastguard Worker
42*b9411a12SAndroid Build Coastguard Worker"Object" form shall mean any form resulting from mechanical transformation
43*b9411a12SAndroid Build Coastguard Workeror translation of a Source form, including but not limited to compiled object
44*b9411a12SAndroid Build Coastguard Workercode, generated documentation, and conversions to other media types.
45*b9411a12SAndroid Build Coastguard Worker
46*b9411a12SAndroid Build Coastguard Worker
47*b9411a12SAndroid Build Coastguard Worker
48*b9411a12SAndroid Build Coastguard Worker"Work" shall mean the work of authorship, whether in Source or Object form,
49*b9411a12SAndroid Build Coastguard Workermade available under the License, as indicated by a copyright notice that
50*b9411a12SAndroid Build Coastguard Workeris included in or attached to the work (an example is provided in the Appendix
51*b9411a12SAndroid Build Coastguard Workerbelow).
52*b9411a12SAndroid Build Coastguard Worker
53*b9411a12SAndroid Build Coastguard Worker
54*b9411a12SAndroid Build Coastguard Worker
55*b9411a12SAndroid Build Coastguard Worker"Derivative Works" shall mean any work, whether in Source or Object form,
56*b9411a12SAndroid Build Coastguard Workerthat is based on (or derived from) the Work and for which the editorial revisions,
57*b9411a12SAndroid Build Coastguard Workerannotations, elaborations, or other modifications represent, as a whole, an
58*b9411a12SAndroid Build Coastguard Workeroriginal work of authorship. For the purposes of this License, Derivative
59*b9411a12SAndroid Build Coastguard WorkerWorks shall not include works that remain separable from, or merely link (or
60*b9411a12SAndroid Build Coastguard Workerbind by name) to the interfaces of, the Work and Derivative Works thereof.
61*b9411a12SAndroid Build Coastguard Worker
62*b9411a12SAndroid Build Coastguard Worker
63*b9411a12SAndroid Build Coastguard Worker
64*b9411a12SAndroid Build Coastguard Worker"Contribution" shall mean any work of authorship, including the original version
65*b9411a12SAndroid Build Coastguard Workerof the Work and any modifications or additions to that Work or Derivative
66*b9411a12SAndroid Build Coastguard WorkerWorks thereof, that is intentionally submitted to Licensor for inclusion in
67*b9411a12SAndroid Build Coastguard Workerthe Work by the copyright owner or by an individual or Legal Entity authorized
68*b9411a12SAndroid Build Coastguard Workerto submit on behalf of the copyright owner. For the purposes of this definition,
69*b9411a12SAndroid Build Coastguard Worker"submitted" means any form of electronic, verbal, or written communication
70*b9411a12SAndroid Build Coastguard Workersent to the Licensor or its representatives, including but not limited to
71*b9411a12SAndroid Build Coastguard Workercommunication on electronic mailing lists, source code control systems, and
72*b9411a12SAndroid Build Coastguard Workerissue tracking systems that are managed by, or on behalf of, the Licensor
73*b9411a12SAndroid Build Coastguard Workerfor the purpose of discussing and improving the Work, but excluding communication
74*b9411a12SAndroid Build Coastguard Workerthat is conspicuously marked or otherwise designated in writing by the copyright
75*b9411a12SAndroid Build Coastguard Workerowner as "Not a Contribution."
76*b9411a12SAndroid Build Coastguard Worker
77*b9411a12SAndroid Build Coastguard Worker
78*b9411a12SAndroid Build Coastguard Worker
79*b9411a12SAndroid Build Coastguard Worker"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
80*b9411a12SAndroid Build Coastguard Workerof whom a Contribution has been received by Licensor and subsequently incorporated
81*b9411a12SAndroid Build Coastguard Workerwithin the Work.
82*b9411a12SAndroid Build Coastguard Worker
83*b9411a12SAndroid Build Coastguard Worker2. Grant of Copyright License. Subject to the terms and conditions of this
84*b9411a12SAndroid Build Coastguard WorkerLicense, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
85*b9411a12SAndroid Build Coastguard Workerno-charge, royalty-free, irrevocable copyright license to reproduce, prepare
86*b9411a12SAndroid Build Coastguard WorkerDerivative Works of, publicly display, publicly perform, sublicense, and distribute
87*b9411a12SAndroid Build Coastguard Workerthe Work and such Derivative Works in Source or Object form.
88*b9411a12SAndroid Build Coastguard Worker
89*b9411a12SAndroid Build Coastguard Worker3. Grant of Patent License. Subject to the terms and conditions of this License,
90*b9411a12SAndroid Build Coastguard Workereach Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
91*b9411a12SAndroid Build Coastguard Workerno-charge, royalty-free, irrevocable (except as stated in this section) patent
92*b9411a12SAndroid Build Coastguard Workerlicense to make, have made, use, offer to sell, sell, import, and otherwise
93*b9411a12SAndroid Build Coastguard Workertransfer the Work, where such license applies only to those patent claims
94*b9411a12SAndroid Build Coastguard Workerlicensable by such Contributor that are necessarily infringed by their Contribution(s)
95*b9411a12SAndroid Build Coastguard Workeralone or by combination of their Contribution(s) with the Work to which such
96*b9411a12SAndroid Build Coastguard WorkerContribution(s) was submitted. If You institute patent litigation against
97*b9411a12SAndroid Build Coastguard Workerany entity (including a cross-claim or counterclaim in a lawsuit) alleging
98*b9411a12SAndroid Build Coastguard Workerthat the Work or a Contribution incorporated within the Work constitutes direct
99*b9411a12SAndroid Build Coastguard Workeror contributory patent infringement, then any patent licenses granted to You
100*b9411a12SAndroid Build Coastguard Workerunder this License for that Work shall terminate as of the date such litigation
101*b9411a12SAndroid Build Coastguard Workeris filed.
102*b9411a12SAndroid Build Coastguard Worker
103*b9411a12SAndroid Build Coastguard Worker4. Redistribution. You may reproduce and distribute copies of the Work or
104*b9411a12SAndroid Build Coastguard WorkerDerivative Works thereof in any medium, with or without modifications, and
105*b9411a12SAndroid Build Coastguard Workerin Source or Object form, provided that You meet the following conditions:
106*b9411a12SAndroid Build Coastguard Worker
107*b9411a12SAndroid Build Coastguard Worker(a) You must give any other recipients of the Work or Derivative Works a copy
108*b9411a12SAndroid Build Coastguard Workerof this License; and
109*b9411a12SAndroid Build Coastguard Worker
110*b9411a12SAndroid Build Coastguard Worker(b) You must cause any modified files to carry prominent notices stating that
111*b9411a12SAndroid Build Coastguard WorkerYou changed the files; and
112*b9411a12SAndroid Build Coastguard Worker
113*b9411a12SAndroid Build Coastguard Worker(c) You must retain, in the Source form of any Derivative Works that You distribute,
114*b9411a12SAndroid Build Coastguard Workerall copyright, patent, trademark, and attribution notices from the Source
115*b9411a12SAndroid Build Coastguard Workerform of the Work, excluding those notices that do not pertain to any part
116*b9411a12SAndroid Build Coastguard Workerof the Derivative Works; and
117*b9411a12SAndroid Build Coastguard Worker
118*b9411a12SAndroid Build Coastguard Worker(d) If the Work includes a "NOTICE" text file as part of its distribution,
119*b9411a12SAndroid Build Coastguard Workerthen any Derivative Works that You distribute must include a readable copy
120*b9411a12SAndroid Build Coastguard Workerof the attribution notices contained within such NOTICE file, excluding those
121*b9411a12SAndroid Build Coastguard Workernotices that do not pertain to any part of the Derivative Works, in at least
122*b9411a12SAndroid Build Coastguard Workerone of the following places: within a NOTICE text file distributed as part
123*b9411a12SAndroid Build Coastguard Workerof the Derivative Works; within the Source form or documentation, if provided
124*b9411a12SAndroid Build Coastguard Workeralong with the Derivative Works; or, within a display generated by the Derivative
125*b9411a12SAndroid Build Coastguard WorkerWorks, if and wherever such third-party notices normally appear. The contents
126*b9411a12SAndroid Build Coastguard Workerof the NOTICE file are for informational purposes only and do not modify the
127*b9411a12SAndroid Build Coastguard WorkerLicense. You may add Your own attribution notices within Derivative Works
128*b9411a12SAndroid Build Coastguard Workerthat You distribute, alongside or as an addendum to the NOTICE text from the
129*b9411a12SAndroid Build Coastguard WorkerWork, provided that such additional attribution notices cannot be construed
130*b9411a12SAndroid Build Coastguard Workeras modifying the License.
131*b9411a12SAndroid Build Coastguard Worker
132*b9411a12SAndroid Build Coastguard WorkerYou may add Your own copyright statement to Your modifications and may provide
133*b9411a12SAndroid Build Coastguard Workeradditional or different license terms and conditions for use, reproduction,
134*b9411a12SAndroid Build Coastguard Workeror distribution of Your modifications, or for any such Derivative Works as
135*b9411a12SAndroid Build Coastguard Workera whole, provided Your use, reproduction, and distribution of the Work otherwise
136*b9411a12SAndroid Build Coastguard Workercomplies with the conditions stated in this License.
137*b9411a12SAndroid Build Coastguard Worker
138*b9411a12SAndroid Build Coastguard Worker5. Submission of Contributions. Unless You explicitly state otherwise, any
139*b9411a12SAndroid Build Coastguard WorkerContribution intentionally submitted for inclusion in the Work by You to the
140*b9411a12SAndroid Build Coastguard WorkerLicensor shall be under the terms and conditions of this License, without
141*b9411a12SAndroid Build Coastguard Workerany additional terms or conditions. Notwithstanding the above, nothing herein
142*b9411a12SAndroid Build Coastguard Workershall supersede or modify the terms of any separate license agreement you
143*b9411a12SAndroid Build Coastguard Workermay have executed with Licensor regarding such Contributions.
144*b9411a12SAndroid Build Coastguard Worker
145*b9411a12SAndroid Build Coastguard Worker6. Trademarks. This License does not grant permission to use the trade names,
146*b9411a12SAndroid Build Coastguard Workertrademarks, service marks, or product names of the Licensor, except as required
147*b9411a12SAndroid Build Coastguard Workerfor reasonable and customary use in describing the origin of the Work and
148*b9411a12SAndroid Build Coastguard Workerreproducing the content of the NOTICE file.
149*b9411a12SAndroid Build Coastguard Worker
150*b9411a12SAndroid Build Coastguard Worker7. Disclaimer of Warranty. Unless required by applicable law or agreed to
151*b9411a12SAndroid Build Coastguard Workerin writing, Licensor provides the Work (and each Contributor provides its
152*b9411a12SAndroid Build Coastguard WorkerContributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
153*b9411a12SAndroid Build Coastguard WorkerKIND, either express or implied, including, without limitation, any warranties
154*b9411a12SAndroid Build Coastguard Workeror conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR
155*b9411a12SAndroid Build Coastguard WorkerA PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness
156*b9411a12SAndroid Build Coastguard Workerof using or redistributing the Work and assume any risks associated with Your
157*b9411a12SAndroid Build Coastguard Workerexercise of permissions under this License.
158*b9411a12SAndroid Build Coastguard Worker
159*b9411a12SAndroid Build Coastguard Worker8. Limitation of Liability. In no event and under no legal theory, whether
160*b9411a12SAndroid Build Coastguard Workerin tort (including negligence), contract, or otherwise, unless required by
161*b9411a12SAndroid Build Coastguard Workerapplicable law (such as deliberate and grossly negligent acts) or agreed to
162*b9411a12SAndroid Build Coastguard Workerin writing, shall any Contributor be liable to You for damages, including
163*b9411a12SAndroid Build Coastguard Workerany direct, indirect, special, incidental, or consequential damages of any
164*b9411a12SAndroid Build Coastguard Workercharacter arising as a result of this License or out of the use or inability
165*b9411a12SAndroid Build Coastguard Workerto use the Work (including but not limited to damages for loss of goodwill,
166*b9411a12SAndroid Build Coastguard Workerwork stoppage, computer failure or malfunction, or any and all other commercial
167*b9411a12SAndroid Build Coastguard Workerdamages or losses), even if such Contributor has been advised of the possibility
168*b9411a12SAndroid Build Coastguard Workerof such damages.
169*b9411a12SAndroid Build Coastguard Worker
170*b9411a12SAndroid Build Coastguard Worker9. Accepting Warranty or Additional Liability. While redistributing the Work
171*b9411a12SAndroid Build Coastguard Workeror Derivative Works thereof, You may choose to offer, and charge a fee for,
172*b9411a12SAndroid Build Coastguard Workeracceptance of support, warranty, indemnity, or other liability obligations
173*b9411a12SAndroid Build Coastguard Workerand/or rights consistent with this License. However, in accepting such obligations,
174*b9411a12SAndroid Build Coastguard WorkerYou may act only on Your own behalf and on Your sole responsibility, not on
175*b9411a12SAndroid Build Coastguard Workerbehalf of any other Contributor, and only if You agree to indemnify, defend,
176*b9411a12SAndroid Build Coastguard Workerand hold each Contributor harmless for any liability incurred by, or claims
177*b9411a12SAndroid Build Coastguard Workerasserted against, such Contributor by reason of your accepting any such warranty
178*b9411a12SAndroid Build Coastguard Workeror additional liability. END OF TERMS AND CONDITIONS
179*b9411a12SAndroid Build Coastguard Worker
180*b9411a12SAndroid Build Coastguard WorkerAPPENDIX: How to apply the Apache License to your work.
181*b9411a12SAndroid Build Coastguard Worker
182*b9411a12SAndroid Build Coastguard WorkerTo apply the Apache License to your work, attach the following boilerplate
183*b9411a12SAndroid Build Coastguard Workernotice, with the fields enclosed by brackets "[]" replaced with your own identifying
184*b9411a12SAndroid Build Coastguard Workerinformation. (Don't include the brackets!) The text should be enclosed in
185*b9411a12SAndroid Build Coastguard Workerthe appropriate comment syntax for the file format. We also recommend that
186*b9411a12SAndroid Build Coastguard Workera file or class name and description of purpose be included on the same "printed
187*b9411a12SAndroid Build Coastguard Workerpage" as the copyright notice for easier identification within third-party
188*b9411a12SAndroid Build Coastguard Workerarchives.
189*b9411a12SAndroid Build Coastguard Worker
190*b9411a12SAndroid Build Coastguard WorkerCopyright [yyyy] [name of copyright owner]
191*b9411a12SAndroid Build Coastguard Worker
192*b9411a12SAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the "License");
193*b9411a12SAndroid Build Coastguard Worker
194*b9411a12SAndroid Build Coastguard Workeryou may not use this file except in compliance with the License.
195*b9411a12SAndroid Build Coastguard Worker
196*b9411a12SAndroid Build Coastguard WorkerYou may obtain a copy of the License at
197*b9411a12SAndroid Build Coastguard Worker
198*b9411a12SAndroid Build Coastguard Workerhttp://www.apache.org/licenses/LICENSE-2.0
199*b9411a12SAndroid Build Coastguard Worker
200*b9411a12SAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software
201*b9411a12SAndroid Build Coastguard Worker
202*b9411a12SAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS,
203*b9411a12SAndroid Build Coastguard Worker
204*b9411a12SAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205*b9411a12SAndroid Build Coastguard Worker
206*b9411a12SAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
207*b9411a12SAndroid Build Coastguard Worker
208*b9411a12SAndroid Build Coastguard Workerlimitations under the License.
209