From 969b7008b2ee14b6dac9029e6a4586f770067c3c Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 16 Feb 2024 10:29:01 -0700 Subject: [PATCH] payloads: Add SPDX headers to Kconfig Change-Id: Iea569fd457b3cd1f4746fbc6a96319eb42733a6b Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/80586 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- payloads/Kconfig | 2 ++ payloads/external/BOOTBOOT/Kconfig | 2 ++ payloads/external/BOOTBOOT/Kconfig.name | 2 ++ payloads/external/FILO/Kconfig | 2 ++ payloads/external/FILO/Kconfig.name | 2 ++ payloads/external/GRUB2/Kconfig | 2 ++ payloads/external/GRUB2/Kconfig.name | 2 ++ payloads/external/Memtest86Plus/Kconfig.secondary | 2 ++ payloads/external/SeaBIOS/Kconfig | 2 ++ payloads/external/SeaBIOS/Kconfig.name | 2 ++ payloads/external/U-Boot/Kconfig | 2 ++ payloads/external/U-Boot/Kconfig.name | 2 ++ payloads/external/coreDOOM/Kconfig.secondary | 2 ++ payloads/external/depthcharge/Kconfig | 2 ++ payloads/external/depthcharge/Kconfig.name | 2 ++ payloads/external/edk2/Kconfig | 2 ++ payloads/external/edk2/Kconfig.name | 2 ++ payloads/external/linux/Kconfig | 2 ++ payloads/external/linux/Kconfig.name | 2 ++ payloads/libpayload/Kconfig | 2 ++ payloads/libpayload/arch/arm/Kconfig | 2 ++ payloads/libpayload/arch/arm64/Kconfig | 2 ++ payloads/libpayload/arch/x86/Kconfig | 2 ++ 23 files changed, 46 insertions(+) diff --git a/payloads/Kconfig b/payloads/Kconfig index 9304629884..dc11310829 100644 --- a/payloads/Kconfig +++ b/payloads/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + menu "Payload" config PAYLOAD_NONE diff --git a/payloads/external/BOOTBOOT/Kconfig b/payloads/external/BOOTBOOT/Kconfig index c9d7133b71..2fe124b103 100644 --- a/payloads/external/BOOTBOOT/Kconfig +++ b/payloads/external/BOOTBOOT/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if PAYLOAD_BOOTBOOT config PAYLOAD_FILE diff --git a/payloads/external/BOOTBOOT/Kconfig.name b/payloads/external/BOOTBOOT/Kconfig.name index 082a9b1ec2..83a523abb7 100644 --- a/payloads/external/BOOTBOOT/Kconfig.name +++ b/payloads/external/BOOTBOOT/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_BOOTBOOT bool "BOOTBOOT" depends on ARCH_X86 || ARCH_ARM64 diff --git a/payloads/external/FILO/Kconfig b/payloads/external/FILO/Kconfig index dae8715eed..1ba0ed20ad 100644 --- a/payloads/external/FILO/Kconfig +++ b/payloads/external/FILO/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if PAYLOAD_FILO choice diff --git a/payloads/external/FILO/Kconfig.name b/payloads/external/FILO/Kconfig.name index 37b1f2c28a..07982b6ac0 100644 --- a/payloads/external/FILO/Kconfig.name +++ b/payloads/external/FILO/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_FILO bool "FILO" depends on ARCH_X86 diff --git a/payloads/external/GRUB2/Kconfig b/payloads/external/GRUB2/Kconfig index 7adbdd08a3..1fde6cadaf 100644 --- a/payloads/external/GRUB2/Kconfig +++ b/payloads/external/GRUB2/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_BUILD_GRUB2 bool diff --git a/payloads/external/GRUB2/Kconfig.name b/payloads/external/GRUB2/Kconfig.name index bfa4af41e4..c90c036232 100644 --- a/payloads/external/GRUB2/Kconfig.name +++ b/payloads/external/GRUB2/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_GRUB2 bool "GRUB2" depends on ARCH_X86 || ARCH_ARM diff --git a/payloads/external/Memtest86Plus/Kconfig.secondary b/payloads/external/Memtest86Plus/Kconfig.secondary index d357399f09..991e089ffd 100644 --- a/payloads/external/Memtest86Plus/Kconfig.secondary +++ b/payloads/external/Memtest86Plus/Kconfig.secondary @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if MEMTEST_SECONDARY_PAYLOAD comment "Memtest86+" diff --git a/payloads/external/SeaBIOS/Kconfig b/payloads/external/SeaBIOS/Kconfig index 31b9989e5b..b12af46a14 100644 --- a/payloads/external/SeaBIOS/Kconfig +++ b/payloads/external/SeaBIOS/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_BUILD_SEABIOS bool diff --git a/payloads/external/SeaBIOS/Kconfig.name b/payloads/external/SeaBIOS/Kconfig.name index d452b387cf..e4f687a6c1 100644 --- a/payloads/external/SeaBIOS/Kconfig.name +++ b/payloads/external/SeaBIOS/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_SEABIOS bool "SeaBIOS" depends on ARCH_X86 diff --git a/payloads/external/U-Boot/Kconfig b/payloads/external/U-Boot/Kconfig index ccd8006e60..c7c44e2231 100644 --- a/payloads/external/U-Boot/Kconfig +++ b/payloads/external/U-Boot/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if PAYLOAD_UBOOT config PAYLOAD_SPECIFIC_OPTIONS diff --git a/payloads/external/U-Boot/Kconfig.name b/payloads/external/U-Boot/Kconfig.name index 5f24280701..897f1a345b 100644 --- a/payloads/external/U-Boot/Kconfig.name +++ b/payloads/external/U-Boot/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_UBOOT bool "U-Boot" depends on ARCH_X86 diff --git a/payloads/external/coreDOOM/Kconfig.secondary b/payloads/external/coreDOOM/Kconfig.secondary index 9f13cfe98c..522134c5da 100644 --- a/payloads/external/coreDOOM/Kconfig.secondary +++ b/payloads/external/coreDOOM/Kconfig.secondary @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if COREDOOM_SECONDARY_PAYLOAD config COREDOOM_WAD_FILE diff --git a/payloads/external/depthcharge/Kconfig b/payloads/external/depthcharge/Kconfig index 89c81ef70e..c531aa05b8 100644 --- a/payloads/external/depthcharge/Kconfig +++ b/payloads/external/depthcharge/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if PAYLOAD_DEPTHCHARGE choice diff --git a/payloads/external/depthcharge/Kconfig.name b/payloads/external/depthcharge/Kconfig.name index fc080aaf12..45da10b3ca 100644 --- a/payloads/external/depthcharge/Kconfig.name +++ b/payloads/external/depthcharge/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_DEPTHCHARGE bool "Depthcharge" depends on CHROMEOS diff --git a/payloads/external/edk2/Kconfig b/payloads/external/edk2/Kconfig index 554b786f66..e2cfb4836e 100644 --- a/payloads/external/edk2/Kconfig +++ b/payloads/external/edk2/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if PAYLOAD_EDK2 config PAYLOAD_FILE diff --git a/payloads/external/edk2/Kconfig.name b/payloads/external/edk2/Kconfig.name index 4afa551409..3e2bf7e570 100644 --- a/payloads/external/edk2/Kconfig.name +++ b/payloads/external/edk2/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_EDK2 bool "edk2 payload" depends on ARCH_X86 || ARCH_ARM64 diff --git a/payloads/external/linux/Kconfig b/payloads/external/linux/Kconfig index 8b15f99cdc..5cb46d1f04 100644 --- a/payloads/external/linux/Kconfig +++ b/payloads/external/linux/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + if PAYLOAD_LINUX config PAYLOAD_FILE diff --git a/payloads/external/linux/Kconfig.name b/payloads/external/linux/Kconfig.name index 493eb982ef..1d8fcd08f6 100644 --- a/payloads/external/linux/Kconfig.name +++ b/payloads/external/linux/Kconfig.name @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + config PAYLOAD_LINUX bool "A Linux payload" depends on ARCH_X86 || ARCH_ARM || ARCH_RISCV diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index 128c7daf0b..39d316b1ab 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ## ## ## Copyright (C) 2008 Advanced Micro Devices, Inc. diff --git a/payloads/libpayload/arch/arm/Kconfig b/payloads/libpayload/arch/arm/Kconfig index 8e2f41ade3..4b88b18ce2 100644 --- a/payloads/libpayload/arch/arm/Kconfig +++ b/payloads/libpayload/arch/arm/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ## ## ## Copyright (c) 2012 Google Inc. diff --git a/payloads/libpayload/arch/arm64/Kconfig b/payloads/libpayload/arch/arm64/Kconfig index e354d884ea..60beb0bd5a 100644 --- a/payloads/libpayload/arch/arm64/Kconfig +++ b/payloads/libpayload/arch/arm64/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ## ## ## Copyright (c) 2012 Google Inc. diff --git a/payloads/libpayload/arch/x86/Kconfig b/payloads/libpayload/arch/x86/Kconfig index 37a5a696c0..e59bd7ef6a 100644 --- a/payloads/libpayload/arch/x86/Kconfig +++ b/payloads/libpayload/arch/x86/Kconfig @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ## ## ## Copyright (c) 2012 Google Inc.