summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/asan.h2
-rw-r--r--src/include/boot/coreboot_tables.h2
-rw-r--r--src/include/boot/tables.h2
-rw-r--r--src/include/console/qemu_debugcon.h2
-rw-r--r--src/include/console/spkmodem.h2
-rw-r--r--src/include/console/system76_ec.h2
-rw-r--r--src/include/cpu/amd/microcode.h2
-rw-r--r--src/include/cpu/amd/mtrr.h2
-rw-r--r--src/include/cpu/cpu.h2
-rw-r--r--src/include/cpu/intel/hyperthreading.h2
-rw-r--r--src/include/cpu/power/scom.h2
-rw-r--r--src/include/cpu/power/spr.h2
-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
-rw-r--r--src/include/ctype.h2
-rw-r--r--src/include/delay.h2
-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
-rw-r--r--src/include/fallback.h2
-rw-r--r--src/include/imd_private.h2
-rw-r--r--src/include/ip_checksum.h2
-rw-r--r--src/include/limits.h2
-rw-r--r--src/include/main_decl.h2
-rw-r--r--src/include/pc80/isa-dma.h2
-rw-r--r--src/include/pc80/keyboard.h2
-rw-r--r--src/include/reset.h2
-rw-r--r--src/include/smp/atomic.h2
-rw-r--r--src/include/smp/node.h2
-rw-r--r--src/include/smp/spinlock.h2
-rw-r--r--src/include/stddef.h2
-rw-r--r--src/include/stdlib.h2
-rw-r--r--src/include/swab.h2
-rw-r--r--src/include/sys/types.h2
-rw-r--r--src/include/vbe.h2
-rw-r--r--src/include/version.h2
-rw-r--r--src/include/watchdog.h2
50 files changed, 98 insertions, 2 deletions
diff --git a/src/include/asan.h b/src/include/asan.h
index 103fcc92d2..c63b5b73f5 100644
--- a/src/include/asan.h
+++ b/src/include/asan.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ASAN_H
#define __ASAN_H
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h
index 7525fda48f..6188ce0984 100644
--- a/src/include/boot/coreboot_tables.h
+++ b/src/include/boot/coreboot_tables.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef COREBOOT_TABLES_H
#define COREBOOT_TABLES_H
diff --git a/src/include/boot/tables.h b/src/include/boot/tables.h
index b440c8bbc4..74cc4e1de1 100644
--- a/src/include/boot/tables.h
+++ b/src/include/boot/tables.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef BOOT_TABLES_H
#define BOOT_TABLES_H
diff --git a/src/include/console/qemu_debugcon.h b/src/include/console/qemu_debugcon.h
index f0252ee210..155bfdaf29 100644
--- a/src/include/console/qemu_debugcon.h
+++ b/src/include/console/qemu_debugcon.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef _QEMU_DEBUGCON_H_
#define _QEMU_DEBUGCON_H_
diff --git a/src/include/console/spkmodem.h b/src/include/console/spkmodem.h
index c8c142f380..fe4181c51b 100644
--- a/src/include/console/spkmodem.h
+++ b/src/include/console/spkmodem.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef SPKMODEM_H
#define SPKMODEM_H 1
diff --git a/src/include/console/system76_ec.h b/src/include/console/system76_ec.h
index 616e46f4a2..2aa265a1ff 100644
--- a/src/include/console/system76_ec.h
+++ b/src/include/console/system76_ec.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CONSOLE_SYSTEM76_EC_H
#define CONSOLE_SYSTEM76_EC_H 1
diff --git a/src/include/cpu/amd/microcode.h b/src/include/cpu/amd/microcode.h
index 74075944bb..9e889364e0 100644
--- a/src/include/cpu/amd/microcode.h
+++ b/src/include/cpu/amd/microcode.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_AMD_MICROCODE_H
#define CPU_AMD_MICROCODE_H
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index 6fe1628bc0..bc3f313f42 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_AMD_MTRR_H
#define CPU_AMD_MTRR_H
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index 99249ba629..66103684ba 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_CPU_H
#define CPU_CPU_H
diff --git a/src/include/cpu/intel/hyperthreading.h b/src/include/cpu/intel/hyperthreading.h
index 0a1461ceb5..0613aa114f 100644
--- a/src/include/cpu/intel/hyperthreading.h
+++ b/src/include/cpu/intel/hyperthreading.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CPU_INTEL_HYPERTHREADING_H
#define CPU_INTEL_HYPERTHREADING_H
diff --git a/src/include/cpu/power/scom.h b/src/include/cpu/power/scom.h
index ef5796c4e1..f5354c8314 100644
--- a/src/include/cpu/power/scom.h
+++ b/src/include/cpu/power/scom.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
#ifndef CPU_PPC64_SCOM_H
#define CPU_PPC64_SCOM_H
diff --git a/src/include/cpu/power/spr.h b/src/include/cpu/power/spr.h
index 3b229f73a3..300147d7dd 100644
--- a/src/include/cpu/power/spr.h
+++ b/src/include/cpu/power/spr.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
#ifndef CPU_PPC64_SPR_H
#define CPU_PPC64_SPR_H
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
diff --git a/src/include/ctype.h b/src/include/ctype.h
index b4684af768..7939c6217a 100644
--- a/src/include/ctype.h
+++ b/src/include/ctype.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef CTYPE_H
#define CTYPE_H
diff --git a/src/include/delay.h b/src/include/delay.h
index 1c481be917..327ad4df1b 100644
--- a/src/include/delay.h
+++ b/src/include/delay.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef DELAY_H
#define DELAY_H
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
diff --git a/src/include/fallback.h b/src/include/fallback.h
index 1cf183ff77..dda2c305ed 100644
--- a/src/include/fallback.h
+++ b/src/include/fallback.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef FALLBACK_H
#define FALLBACK_H
diff --git a/src/include/imd_private.h b/src/include/imd_private.h
index fea7315de1..7b9a2778ab 100644
--- a/src/include/imd_private.h
+++ b/src/include/imd_private.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef _IMD_PRIVATE_H_
#define _IMD_PRIVATE_H_
diff --git a/src/include/ip_checksum.h b/src/include/ip_checksum.h
index f2632e7cae..74a2f48a57 100644
--- a/src/include/ip_checksum.h
+++ b/src/include/ip_checksum.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef IP_CHECKSUM_H
#define IP_CHECKSUM_H
unsigned long compute_ip_checksum(const void *addr, unsigned long length);
diff --git a/src/include/limits.h b/src/include/limits.h
index a21716c30f..938eeed6f3 100644
--- a/src/include/limits.h
+++ b/src/include/limits.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LIMITS_H
#define LIMITS_H
diff --git a/src/include/main_decl.h b/src/include/main_decl.h
index 90c17161ed..4198d64516 100644
--- a/src/include/main_decl.h
+++ b/src/include/main_decl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef _MAIN_DECL_H_
#define _MAIN_DECL_H_
diff --git a/src/include/pc80/isa-dma.h b/src/include/pc80/isa-dma.h
index 205a1b4d70..7c391e99d2 100644
--- a/src/include/pc80/isa-dma.h
+++ b/src/include/pc80/isa-dma.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef PC80_ISA_DMA_H
#define PC80_ISA_DMA_H
diff --git a/src/include/pc80/keyboard.h b/src/include/pc80/keyboard.h
index d2d66b0695..6664980c77 100644
--- a/src/include/pc80/keyboard.h
+++ b/src/include/pc80/keyboard.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef PC80_KEYBOARD_H
#define PC80_KEYBOARD_H
diff --git a/src/include/reset.h b/src/include/reset.h
index 5b5e1d30cc..95fe0660ad 100644
--- a/src/include/reset.h
+++ b/src/include/reset.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef RESET_H
#define RESET_H
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
diff --git a/src/include/stddef.h b/src/include/stddef.h
index 100368eddb..e30b05f672 100644
--- a/src/include/stddef.h
+++ b/src/include/stddef.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef STDDEF_H
#define STDDEF_H
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index 8636ea45c9..8fa5d20ab6 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef STDLIB_H
#define STDLIB_H
diff --git a/src/include/swab.h b/src/include/swab.h
index 6a33b3969f..eadf293745 100644
--- a/src/include/swab.h
+++ b/src/include/swab.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
/*
* linux/byteorder/swab.h
* Byte-swapping, independently from CPU endianness
diff --git a/src/include/sys/types.h b/src/include/sys/types.h
index 69968dd3ed..d5c7d6ede5 100644
--- a/src/include/sys/types.h
+++ b/src/include/sys/types.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef __SYS_TYPES_H__
#define __SYS_TYPES_H__
diff --git a/src/include/vbe.h b/src/include/vbe.h
index 9497ec68ae..afb48ffd0f 100644
--- a/src/include/vbe.h
+++ b/src/include/vbe.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
/******************************************************************************
* Copyright (c) 2004, 2008 IBM Corporation
* Copyright (c) 2009 Pattrick Hueper <phueper@hueper.net>
diff --git a/src/include/version.h b/src/include/version.h
index 6b0d53df0f..84bb34a7b5 100644
--- a/src/include/version.h
+++ b/src/include/version.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef VERSION_H
#define VERSION_H
diff --git a/src/include/watchdog.h b/src/include/watchdog.h
index e54f3fbf73..b4f591721d 100644
--- a/src/include/watchdog.h
+++ b/src/include/watchdog.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef WATCHDOG_H
#define WATCHDOG_H