summaryrefslogtreecommitdiff
path: root/src/include/smp
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/smp
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/smp')
-rw-r--r--src/include/smp/atomic.h2
-rw-r--r--src/include/smp/node.h2
-rw-r--r--src/include/smp/spinlock.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/include/smp/atomic.h b/src/include/smp/atomic.h
index 5e78ae4462..18f83de52b 100644
--- a/src/include/smp/atomic.h
+++ b/src/include/smp/atomic.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef SMP_ATOMIC_H
#define SMP_ATOMIC_H
diff --git a/src/include/smp/node.h b/src/include/smp/node.h
index 4dea175ea3..8f3d14fde1 100644
--- a/src/include/smp/node.h
+++ b/src/include/smp/node.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef _SMP_NODE_H_
#define _SMP_NODE_H_
diff --git a/src/include/smp/spinlock.h b/src/include/smp/spinlock.h
index 0ca391d93c..90eae6bf0e 100644
--- a/src/include/smp/spinlock.h
+++ b/src/include/smp/spinlock.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef SMP_SPINLOCK_H
#define SMP_SPINLOCK_H