summaryrefslogtreecommitdiffstats
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)
downloadcoreboot-19081108390aa6a316ad5af52fd6465030cc9fe2.tar.gz
coreboot-19081108390aa6a316ad5af52fd6465030cc9fe2.tar.bz2
coreboot-19081108390aa6a316ad5af52fd6465030cc9fe2.zip
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 ed838a5b2ba2..64fe915c4b31 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 0b501657a4ab..3a682a8e0d25 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 6d5fb9ee715b..b7110cf2eec8 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 588e8cea6d4b..9b89c37c1094 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 c767b06ed07c..f53c16d1568c 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 44dbb1d77801..25a0f500ef3a 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 e4668049f589..971dda3160dc 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 84eb9f971d6c..30b286205d24 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 a94872a6f6a5..2770f648b49a 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 0369ebd729a5..37cd3a543fcd 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 db1af75f3300..648480007857 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 7ab3f555495c..dea252f6a6dd 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 43b360bfc488..0bbaf02182e3 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 faf13e704d63..398c06af1484 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 51b8ccb83fd5..dbd3cf9737cb 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 9ea867e57918..a14a1f798f1f 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 5bcdd98ce983..b66a4aa9ee84 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 4640c16991e1..25894e8be0b4 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 a710e67acd19..0b5434b41c27 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 85f6288719bf..0a68a31cdf9f 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 c37cc3b2415f..15a160a7a2d2 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 649ef4ee002a..bdca12cddc37 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 6d41d94f57d1..e29cfaf70a08 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 26a303be017d..2fe974d3284a 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 14274a32367c..15fc873d238d 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 c7d54c5f8c30..2bf5f903d04d 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 499972600a2a..d1865f696ed0 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 e05cf895173b..16d14b57a122 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 b33bf0357108..e05ba6f6fb5a 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 ca76929dc5e3..229ddb0b9626 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 a77a14c72feb..a7332e0a3faa 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 381b72b3a892..b5bbc2de5095 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 9197faae9eb1..19637c301274 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 95099c58c691..4f8ecfdf1bc8 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 870fd78ea0f3..e192d2288565 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 2e6d43271886..62402a1bf518 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 92a0b43e0f41..81faca7cb5c3 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 90bfdc99da8c..9d64b78753dc 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 5432c28eb3e9..a53278841546 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 6c784b4c5dad..ec1fa1305af6 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 ddcb119ebe84..d32aea6d2512 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