From 239b5df2687e30636688354c852cdca1bafbc80b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 26 Jul 2022 22:18:26 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66284 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Arthur Heymans Reviewed-by: Felix Singer --- src/include/cpu/x86/lapic.h | 2 ++ src/include/cpu/x86/lapic_def.h | 2 ++ src/include/cpu/x86/msr.h | 2 ++ src/include/cpu/x86/mtrr.h | 2 ++ src/include/cpu/x86/post_code.h | 2 ++ src/include/cpu/x86/tsc.h | 2 ++ 6 files changed, 12 insertions(+) (limited to 'src/include/cpu/x86') 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 -- cgit v1.2.3