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>
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index ed838a5..64fe915 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 0b50165..3a682a8e 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 6d5fb9e..b7110cf 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 588e8ce..9b89c37 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 c767b06..f53c16d 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 44dbb1d..25a0f50 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 e466804..971dda3 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 84eb9f9..30b2862 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 a94872a..2770f64 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 0369ebd..37cd3a54 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 db1af75..6484800 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 7ab3f55..dea252f 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 43b360b..0bbaf02 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 faf13e7..398c06a 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 51b8ccb..dbd3cf9 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 9ea867e..a14a1f7 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 5bcdd98..b66a4aa 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 4640c16..25894e8 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 a710e67..0b5434b 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 85f6288..0a68a31 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 c37cc3b..15a160a 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 649ef4e..bdca12c 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 6d41d94..e29cfaf 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 26a303b..2fe974d 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 14274a3..15fc873 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 c7d54c5..2bf5f90 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 4999726..d1865f6 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 e05cf89..16d14b5 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 b33bf03..e05ba6f 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 ca76929..229ddb0 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 a77a14c..a7332e0 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 381b72b..b5bbc2d 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 9197faa..19637c3 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 95099c5..4f8ecfd 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 870fd78..e192d22 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 2e6d432..62402a1 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 92a0b43..81faca7 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 90bfdc9..9d64b78 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 5432c28..a532788 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 6c784b4..ec1fa13 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 ddcb119..d32aea6 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