summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@amd.corp-partner.google.com>2022-07-26 22:18:26 -0600
committerFelix Singer <felixsinger@posteo.net>2022-08-01 13:59:11 +0000
commit239b5df2687e30636688354c852cdca1bafbc80b (patch)
treed3d6b19e1e74108e56b90cb6d74c4ef09ab3d37a /src/include/cpu/x86
parent6e3d40f2d1f78ddb599073dbcb22c887228ba4c3 (diff)
include: Add SPDX-License-Identifiers to files missing them
This adds SPDX-License-Identifiers to all of the files in src/include that are missing them or have unrecognized identifiers. Files that were written specifically for coreboot and don't have license information are licensed GPL-2.0-only, which is the license for the overall coreboot project. Files that were sourced from Linux are similarly GPL-2.0-only. The cpu/power files were committed with source that was licensed as GPL-2.0-or-later, so presumably that's the license for that entire commit. The final file, vbe.h gives a pointer to the BSD-2-Clause license at opensource.org. Change-Id: I3f8fd7848ce11c1a0060e05903fb17a7583b4725 Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66284 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/include/cpu/x86')
-rw-r--r--src/include/cpu/x86/lapic.h2
-rw-r--r--src/include/cpu/x86/lapic_def.h2
-rw-r--r--src/include/cpu/x86/msr.h2
-rw-r--r--src/include/cpu/x86/mtrr.h2
-rw-r--r--src/include/cpu/x86/post_code.h2
-rw-r--r--src/include/cpu/x86/tsc.h2
6 files changed, 12 insertions, 0 deletions
diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h
index 400199b029..5fa5608db9 100644
--- a/src/include/cpu/x86/lapic.h
+++ b/src/include/cpu/x86/lapic.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_X86_LAPIC_H
#define CPU_X86_LAPIC_H
diff --git a/src/include/cpu/x86/lapic_def.h b/src/include/cpu/x86/lapic_def.h
index 84a3413ac3..e118b6b427 100644
--- a/src/include/cpu/x86/lapic_def.h
+++ b/src/include/cpu/x86/lapic_def.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_X86_LAPIC_DEF_H
#define CPU_X86_LAPIC_DEF_H
diff --git a/src/include/cpu/x86/msr.h b/src/include/cpu/x86/msr.h
index 9f30c057ed..ca2a37fe95 100644
--- a/src/include/cpu/x86/msr.h
+++ b/src/include/cpu/x86/msr.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_X86_MSR_H
#define CPU_X86_MSR_H
diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index b2bc2c86b1..ed55c04020 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_X86_MTRR_H
#define CPU_X86_MTRR_H
diff --git a/src/include/cpu/x86/post_code.h b/src/include/cpu/x86/post_code.h
index 200d93ec99..db8f90dacf 100644
--- a/src/include/cpu/x86/post_code.h
+++ b/src/include/cpu/x86/post_code.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef __X86_POST_CODE_H__
#define __X86_POST_CODE_H__
diff --git a/src/include/cpu/x86/tsc.h b/src/include/cpu/x86/tsc.h
index ddce96bb39..5d173da66e 100644
--- a/src/include/cpu/x86/tsc.h
+++ b/src/include/cpu/x86/tsc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_X86_TSC_H
#define CPU_X86_TSC_H