summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-02-16 10:31:30 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-02-18 01:58:52 +0000
commit19081108390aa6a316ad5af52fd6465030cc9fe2 (patch)
treecdd5a6f37cc6ffc7f62411e12304788fcc58dfcd
parent969b7008b2ee14b6dac9029e6a4586f770067c3c (diff)
arch to cpu: Add SPDX license headers to Kconfig files
Change-Id: I7dd7b0b7c5fdb63fe32915b88e69313e3440b64a Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80587 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/arch/arm/Kconfig2
-rw-r--r--src/arch/arm/armv4/Kconfig2
-rw-r--r--src/arch/arm/armv7/Kconfig2
-rw-r--r--src/arch/arm64/Kconfig2
-rw-r--r--src/arch/arm64/armv8/Kconfig2
-rw-r--r--src/arch/ppc64/Kconfig2
-rw-r--r--src/arch/riscv/Kconfig2
-rw-r--r--src/console/Kconfig2
-rw-r--r--src/cpu/Kconfig2
-rw-r--r--src/cpu/amd/Kconfig2
-rw-r--r--src/cpu/armltd/Kconfig2
-rw-r--r--src/cpu/armltd/cortex-a9/Kconfig2
-rw-r--r--src/cpu/intel/Kconfig2
-rw-r--r--src/cpu/intel/car/non-evict/Kconfig2
-rw-r--r--src/cpu/intel/common/Kconfig2
-rw-r--r--src/cpu/intel/fit/Kconfig2
-rw-r--r--src/cpu/intel/haswell/Kconfig2
-rw-r--r--src/cpu/intel/microcode/Kconfig2
-rw-r--r--src/cpu/intel/model_1067x/Kconfig2
-rw-r--r--src/cpu/intel/model_106cx/Kconfig2
-rw-r--r--src/cpu/intel/model_2065x/Kconfig2
-rw-r--r--src/cpu/intel/model_206ax/Kconfig2
-rw-r--r--src/cpu/intel/model_65x/Kconfig2
-rw-r--r--src/cpu/intel/model_67x/Kconfig2
-rw-r--r--src/cpu/intel/model_6bx/Kconfig2
-rw-r--r--src/cpu/intel/model_6ex/Kconfig2
-rw-r--r--src/cpu/intel/model_6fx/Kconfig2
-rw-r--r--src/cpu/intel/model_6xx/Kconfig2
-rw-r--r--src/cpu/intel/model_f2x/Kconfig2
-rw-r--r--src/cpu/intel/model_f3x/Kconfig2
-rw-r--r--src/cpu/intel/model_f4x/Kconfig2
-rw-r--r--src/cpu/intel/socket_441/Kconfig2
-rw-r--r--src/cpu/intel/socket_BGA956/Kconfig2
-rw-r--r--src/cpu/intel/socket_FCBGA559/Kconfig2
-rw-r--r--src/cpu/intel/socket_LGA775/Kconfig2
-rw-r--r--src/cpu/intel/socket_m/Kconfig2
-rw-r--r--src/cpu/intel/socket_mPGA604/Kconfig2
-rw-r--r--src/cpu/intel/socket_p/Kconfig2
-rw-r--r--src/cpu/intel/turbo/Kconfig1
-rw-r--r--src/cpu/x86/Kconfig2
-rw-r--r--src/cpu/x86/Kconfig.debug_cpu2
41 files changed, 81 insertions, 0 deletions
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index ed838a5b2b..64fe915c4b 100644
--- a/src/arch/arm/Kconfig
+++ b/src/arch/arm/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_ARM
bool
diff --git a/src/arch/arm/armv4/Kconfig b/src/arch/arm/armv4/Kconfig
index 0b501657a4..3a682a8e0d 100644
--- a/src/arch/arm/armv4/Kconfig
+++ b/src/arch/arm/armv4/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_BOOTBLOCK_ARMV4
bool
select ARCH_BOOTBLOCK_ARM
diff --git a/src/arch/arm/armv7/Kconfig b/src/arch/arm/armv7/Kconfig
index 6d5fb9ee71..b7110cf2ee 100644
--- a/src/arch/arm/armv7/Kconfig
+++ b/src/arch/arm/armv7/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_BOOTBLOCK_ARMV7
bool
select ARCH_BOOTBLOCK_ARM
diff --git a/src/arch/arm64/Kconfig b/src/arch/arm64/Kconfig
index 588e8cea6d..9b89c37c10 100644
--- a/src/arch/arm64/Kconfig
+++ b/src/arch/arm64/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_ARM64
bool
diff --git a/src/arch/arm64/armv8/Kconfig b/src/arch/arm64/armv8/Kconfig
index c767b06ed0..f53c16d156 100644
--- a/src/arch/arm64/armv8/Kconfig
+++ b/src/arch/arm64/armv8/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_BOOTBLOCK_ARMV8_64
bool
select ARCH_BOOTBLOCK_ARM64
diff --git a/src/arch/ppc64/Kconfig b/src/arch/ppc64/Kconfig
index 44dbb1d778..25a0f500ef 100644
--- a/src/arch/ppc64/Kconfig
+++ b/src/arch/ppc64/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_PPC64
bool
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig
index e4668049f5..971dda3160 100644
--- a/src/arch/riscv/Kconfig
+++ b/src/arch/riscv/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_RISCV_RV64
bool
select ARCH_RISCV
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 84eb9f971d..30b286205d 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
menu "Console"
config NO_BOOTBLOCK_CONSOLE
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index a94872a6f6..2770f648b4 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
# Warning: This file is included whether or not the if is here.
# The if controls how the evaluation occurs.
# (See also src/Kconfig)
diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig
index 0369ebd729..37cd3a543f 100644
--- a/src/cpu/amd/Kconfig
+++ b/src/cpu/amd/Kconfig
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
source "src/cpu/amd/pi/Kconfig"
diff --git a/src/cpu/armltd/Kconfig b/src/cpu/armltd/Kconfig
index db1af75f33..6484800078 100644
--- a/src/cpu/armltd/Kconfig
+++ b/src/cpu/armltd/Kconfig
@@ -1 +1,3 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
source "src/cpu/armltd/cortex-a9/Kconfig"
diff --git a/src/cpu/armltd/cortex-a9/Kconfig b/src/cpu/armltd/cortex-a9/Kconfig
index 7ab3f55549..dea252f6a6 100644
--- a/src/cpu/armltd/cortex-a9/Kconfig
+++ b/src/cpu/armltd/cortex-a9/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_ARMLTD_CORTEX_A9
bool
select ARCH_BOOTBLOCK_ARMV7
diff --git a/src/cpu/intel/Kconfig b/src/cpu/intel/Kconfig
index 43b360bfc4..0bbaf02182 100644
--- a/src/cpu/intel/Kconfig
+++ b/src/cpu/intel/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
# CPU models
source "src/cpu/intel/model_6xx/Kconfig"
source "src/cpu/intel/model_65x/Kconfig"
diff --git a/src/cpu/intel/car/non-evict/Kconfig b/src/cpu/intel/car/non-evict/Kconfig
index faf13e704d..398c06af14 100644
--- a/src/cpu/intel/car/non-evict/Kconfig
+++ b/src/cpu/intel/car/non-evict/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_HAS_L2_ENABLE_MSR
bool
help
diff --git a/src/cpu/intel/common/Kconfig b/src/cpu/intel/common/Kconfig
index 51b8ccb83f..dbd3cf9737 100644
--- a/src/cpu/intel/common/Kconfig
+++ b/src/cpu/intel/common/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_COMMON
bool
select RESERVED_PHYSICAL_ADDRESS_BITS_SUPPORT
diff --git a/src/cpu/intel/fit/Kconfig b/src/cpu/intel/fit/Kconfig
index 9ea867e579..a14a1f798f 100644
--- a/src/cpu/intel/fit/Kconfig
+++ b/src/cpu/intel/fit/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_FIRMWARE_INTERFACE_TABLE
def_bool n
help
diff --git a/src/cpu/intel/haswell/Kconfig b/src/cpu/intel/haswell/Kconfig
index 5bcdd98ce9..b66a4aa9ee 100644
--- a/src/cpu/intel/haswell/Kconfig
+++ b/src/cpu/intel/haswell/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_HASWELL
bool
diff --git a/src/cpu/intel/microcode/Kconfig b/src/cpu/intel/microcode/Kconfig
index 4640c16991..25894e8be0 100644
--- a/src/cpu/intel/microcode/Kconfig
+++ b/src/cpu/intel/microcode/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config MICROCODE_UPDATE_PRE_RAM
bool
depends on SUPPORT_CPU_UCODE_IN_CBFS
diff --git a/src/cpu/intel/model_1067x/Kconfig b/src/cpu/intel/model_1067x/Kconfig
index a710e67acd..0b5434b41c 100644
--- a/src/cpu/intel/model_1067x/Kconfig
+++ b/src/cpu/intel/model_1067x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_1067X
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_106cx/Kconfig b/src/cpu/intel/model_106cx/Kconfig
index 85f6288719..0a68a31cdf 100644
--- a/src/cpu/intel/model_106cx/Kconfig
+++ b/src/cpu/intel/model_106cx/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_106CX
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_2065x/Kconfig b/src/cpu/intel/model_2065x/Kconfig
index c37cc3b241..15a160a7a2 100644
--- a/src/cpu/intel/model_2065x/Kconfig
+++ b/src/cpu/intel/model_2065x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_2065X
bool
select HAVE_EXP_X86_64_SUPPORT
diff --git a/src/cpu/intel/model_206ax/Kconfig b/src/cpu/intel/model_206ax/Kconfig
index 649ef4ee00..bdca12cddc 100644
--- a/src/cpu/intel/model_206ax/Kconfig
+++ b/src/cpu/intel/model_206ax/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_206AX
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_65x/Kconfig b/src/cpu/intel/model_65x/Kconfig
index 6d41d94f57..e29cfaf70a 100644
--- a/src/cpu/intel/model_65x/Kconfig
+++ b/src/cpu/intel/model_65x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_65X
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_67x/Kconfig b/src/cpu/intel/model_67x/Kconfig
index 26a303be01..2fe974d328 100644
--- a/src/cpu/intel/model_67x/Kconfig
+++ b/src/cpu/intel/model_67x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_67X
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_6bx/Kconfig b/src/cpu/intel/model_6bx/Kconfig
index 14274a3236..15fc873d23 100644
--- a/src/cpu/intel/model_6bx/Kconfig
+++ b/src/cpu/intel/model_6bx/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_6BX
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_6ex/Kconfig b/src/cpu/intel/model_6ex/Kconfig
index c7d54c5f8c..2bf5f903d0 100644
--- a/src/cpu/intel/model_6ex/Kconfig
+++ b/src/cpu/intel/model_6ex/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_6EX
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_6fx/Kconfig b/src/cpu/intel/model_6fx/Kconfig
index 499972600a..d1865f696e 100644
--- a/src/cpu/intel/model_6fx/Kconfig
+++ b/src/cpu/intel/model_6fx/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_6FX
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_6xx/Kconfig b/src/cpu/intel/model_6xx/Kconfig
index e05cf89517..16d14b57a1 100644
--- a/src/cpu/intel/model_6xx/Kconfig
+++ b/src/cpu/intel/model_6xx/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_6XX
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_f2x/Kconfig b/src/cpu/intel/model_f2x/Kconfig
index b33bf03571..e05ba6f6fb 100644
--- a/src/cpu/intel/model_f2x/Kconfig
+++ b/src/cpu/intel/model_f2x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_F2X
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_f3x/Kconfig b/src/cpu/intel/model_f3x/Kconfig
index ca76929dc5..229ddb0b96 100644
--- a/src/cpu/intel/model_f3x/Kconfig
+++ b/src/cpu/intel/model_f3x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_F3X
bool
select ARCH_X86
diff --git a/src/cpu/intel/model_f4x/Kconfig b/src/cpu/intel/model_f4x/Kconfig
index a77a14c72f..a7332e0a3f 100644
--- a/src/cpu/intel/model_f4x/Kconfig
+++ b/src/cpu/intel/model_f4x/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_MODEL_F4X
bool
select ARCH_X86
diff --git a/src/cpu/intel/socket_441/Kconfig b/src/cpu/intel/socket_441/Kconfig
index 381b72b3a8..b5bbc2de50 100644
--- a/src/cpu/intel/socket_441/Kconfig
+++ b/src/cpu/intel/socket_441/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_441
bool
select CPU_INTEL_MODEL_106CX
diff --git a/src/cpu/intel/socket_BGA956/Kconfig b/src/cpu/intel/socket_BGA956/Kconfig
index 9197faae9e..19637c3012 100644
--- a/src/cpu/intel/socket_BGA956/Kconfig
+++ b/src/cpu/intel/socket_BGA956/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_BGA956
bool
select CPU_INTEL_MODEL_1067X
diff --git a/src/cpu/intel/socket_FCBGA559/Kconfig b/src/cpu/intel/socket_FCBGA559/Kconfig
index 95099c58c6..4f8ecfdf1b 100644
--- a/src/cpu/intel/socket_FCBGA559/Kconfig
+++ b/src/cpu/intel/socket_FCBGA559/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_FCBGA559
bool
select CPU_INTEL_MODEL_106CX
diff --git a/src/cpu/intel/socket_LGA775/Kconfig b/src/cpu/intel/socket_LGA775/Kconfig
index 870fd78ea0..e192d22885 100644
--- a/src/cpu/intel/socket_LGA775/Kconfig
+++ b/src/cpu/intel/socket_LGA775/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_LGA775
bool
select CPU_INTEL_MODEL_6FX
diff --git a/src/cpu/intel/socket_m/Kconfig b/src/cpu/intel/socket_m/Kconfig
index 2e6d432718..62402a1bf5 100644
--- a/src/cpu/intel/socket_m/Kconfig
+++ b/src/cpu/intel/socket_m/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_M
bool
select CPU_INTEL_MODEL_6EX
diff --git a/src/cpu/intel/socket_mPGA604/Kconfig b/src/cpu/intel/socket_mPGA604/Kconfig
index 92a0b43e0f..81faca7cb5 100644
--- a/src/cpu/intel/socket_mPGA604/Kconfig
+++ b/src/cpu/intel/socket_mPGA604/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_MPGA604
bool
select CPU_INTEL_MODEL_F2X
diff --git a/src/cpu/intel/socket_p/Kconfig b/src/cpu/intel/socket_p/Kconfig
index 90bfdc99da..9d64b78753 100644
--- a/src/cpu/intel/socket_p/Kconfig
+++ b/src/cpu/intel/socket_p/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
config CPU_INTEL_SOCKET_P
bool
select CPU_INTEL_MODEL_1067X
diff --git a/src/cpu/intel/turbo/Kconfig b/src/cpu/intel/turbo/Kconfig
index 5432c28eb3..a532788415 100644
--- a/src/cpu/intel/turbo/Kconfig
+++ b/src/cpu/intel/turbo/Kconfig
@@ -1,3 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
config CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
def_bool n
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index 6c784b4c5d..ec1fa1305a 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
if ARCH_X86
config PARALLEL_MP
diff --git a/src/cpu/x86/Kconfig.debug_cpu b/src/cpu/x86/Kconfig.debug_cpu
index ddcb119ebe..d32aea6d25 100644
--- a/src/cpu/x86/Kconfig.debug_cpu
+++ b/src/cpu/x86/Kconfig.debug_cpu
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
if ARCH_X86
config DISPLAY_MTRRS