summaryrefslogtreecommitdiff
path: root/src/include/device
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/device
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/device')
-rw-r--r--src/include/device/cardbus.h2
-rw-r--r--src/include/device/device.h2
-rw-r--r--src/include/device/path.h2
-rw-r--r--src/include/device/pci.h2
-rw-r--r--src/include/device/pci_def.h2
-rw-r--r--src/include/device/pci_rom.h2
-rw-r--r--src/include/device/pciexp.h2
-rw-r--r--src/include/device/pcix.h2
-rw-r--r--src/include/device/pnp_def.h2
-rw-r--r--src/include/device/resource.h2
-rw-r--r--src/include/device/smbus.h2
-rw-r--r--src/include/device/smbus_def.h2
12 files changed, 24 insertions, 0 deletions
diff --git a/src/include/device/cardbus.h b/src/include/device/cardbus.h
index 4443c155db..056e6acf36 100644
--- a/src/include/device/cardbus.h
+++ b/src/include/device/cardbus.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
/* (c) 2005 Linux Networx GPL see COPYING for details */
#ifndef DEVICE_CARDBUS_H
diff --git a/src/include/device/device.h b/src/include/device/device.h
index d2dcb5bdf9..43ac66dc0f 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_H
#define DEVICE_H
diff --git a/src/include/device/path.h b/src/include/device/path.h
index 934d3b354d..1be7e7299f 100644
--- a/src/include/device/path.h
+++ b/src/include/device/path.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_PATH_H
#define DEVICE_PATH_H
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index db7cc69c8d..f2e250631e 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
/*
* PCI defines and function prototypes
* Copyright 1994, Drew Eckhardt
diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h
index 1c4a3e76ef..fa520674a8 100644
--- a/src/include/device/pci_def.h
+++ b/src/include/device/pci_def.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef PCI_DEF_H
#define PCI_DEF_H
diff --git a/src/include/device/pci_rom.h b/src/include/device/pci_rom.h
index 25bca4003a..efda282b88 100644
--- a/src/include/device/pci_rom.h
+++ b/src/include/device/pci_rom.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef PCI_ROM_H
#define PCI_ROM_H
diff --git a/src/include/device/pciexp.h b/src/include/device/pciexp.h
index 30c2a54620..13776dfa72 100644
--- a/src/include/device/pciexp.h
+++ b/src/include/device/pciexp.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_PCIEXP_H
#define DEVICE_PCIEXP_H
/* (c) 2005 Linux Networx GPL see COPYING for details */
diff --git a/src/include/device/pcix.h b/src/include/device/pcix.h
index def7f6cca2..4c1d112504 100644
--- a/src/include/device/pcix.h
+++ b/src/include/device/pcix.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_PCIX_H
#define DEVICE_PCIX_H
/* (c) 2005 Linux Networx GPL see COPYING for details */
diff --git a/src/include/device/pnp_def.h b/src/include/device/pnp_def.h
index 712357bb7c..a5f2260953 100644
--- a/src/include/device/pnp_def.h
+++ b/src/include/device/pnp_def.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_PNP_DEF_H
#define DEVICE_PNP_DEF_H
diff --git a/src/include/device/resource.h b/src/include/device/resource.h
index 6f16c03818..96241358a4 100644
--- a/src/include/device/resource.h
+++ b/src/include/device/resource.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_RESOURCE_H
#define DEVICE_RESOURCE_H
diff --git a/src/include/device/smbus.h b/src/include/device/smbus.h
index 5782d5e620..171e304472 100644
--- a/src/include/device/smbus.h
+++ b/src/include/device/smbus.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_SMBUS_H
#define DEVICE_SMBUS_H
diff --git a/src/include/device/smbus_def.h b/src/include/device/smbus_def.h
index 61d786107b..0e502fef99 100644
--- a/src/include/device/smbus_def.h
+++ b/src/include/device/smbus_def.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DEVICE_SMBUS_DEF_H
#define DEVICE_SMBUS_DEF_H