payloads: Replace GPL boilerplate with SPDX headers
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
Change-Id: I9f74ed19257bc4234465b8f912deff1b485173f9
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41179
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-08 22:50:46 +02:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-only
|
2008-03-24 16:47:49 +01:00
|
|
|
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see http://lxr.linux.no/source/Documentation/kbuild/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
mainmenu "coreinfo Configuration"
|
|
|
|
|
2008-03-31 22:30:18 +02:00
|
|
|
menu "General settings"
|
|
|
|
|
|
|
|
# TODO: Needs changes in coreinfo, won't update without keypress currently.
|
|
|
|
config SHOW_DATE_TIME
|
|
|
|
bool "Show current date/time in the menu"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Show the current date and time in the lower-right corner of
|
|
|
|
the coreinfo menu.
|
|
|
|
|
2009-07-07 17:10:13 +02:00
|
|
|
This option will increase the ELF file size by ca. 250 bytes.
|
2008-04-04 15:28:10 +02:00
|
|
|
|
2008-08-05 16:36:20 +02:00
|
|
|
config PAYLOAD_INFO_NAME
|
|
|
|
string "Payload name"
|
|
|
|
default "coreinfo"
|
|
|
|
help
|
|
|
|
The name of this payload for use in (e.g.) Bayou.
|
|
|
|
|
|
|
|
config PAYLOAD_INFO_LISTNAME
|
|
|
|
string "Payload menu entry name"
|
|
|
|
default "System Information"
|
|
|
|
help
|
|
|
|
The name of this payload's menu entry for use in (e.g.) Bayou.
|
|
|
|
|
|
|
|
config PAYLOAD_INFO_DESC
|
|
|
|
string "Payload description"
|
|
|
|
default "Display information about the system"
|
|
|
|
help
|
|
|
|
The description of this payload for use in (e.g.) Bayou.
|
|
|
|
|
|
|
|
config PAYLOAD_INFO_VERSION
|
|
|
|
string "Payload version"
|
|
|
|
default "0.1"
|
|
|
|
help
|
|
|
|
The version number of this payload.
|
|
|
|
|
2008-03-31 22:30:18 +02:00
|
|
|
endmenu
|
2008-03-24 16:47:49 +01:00
|
|
|
|
2008-03-31 22:30:18 +02:00
|
|
|
menu "Modules"
|
2008-03-24 16:47:49 +01:00
|
|
|
|
|
|
|
config MODULE_COREBOOT
|
|
|
|
bool "Enable the coreboot module"
|
|
|
|
default y
|
2008-04-04 15:28:10 +02:00
|
|
|
help
|
|
|
|
This option will increase the ELF file size by ca. 2250 bytes.
|
2008-03-24 16:47:49 +01:00
|
|
|
|
2008-11-11 20:53:42 +01:00
|
|
|
config MODULE_MULTIBOOT
|
|
|
|
bool "Enable the multiboot module"
|
|
|
|
default y
|
|
|
|
help
|
2009-07-07 17:10:13 +02:00
|
|
|
This option will increase the ELF file size by ca. 1790 bytes.
|
2008-11-11 20:53:42 +01:00
|
|
|
|
2008-03-24 16:47:49 +01:00
|
|
|
config MODULE_CPUINFO
|
|
|
|
bool "Enable the cpuinfo module"
|
|
|
|
default y
|
2008-04-04 15:28:10 +02:00
|
|
|
help
|
|
|
|
This option will increase the ELF file size by ca. 2650 bytes.
|
2008-03-24 16:47:49 +01:00
|
|
|
|
|
|
|
config MODULE_PCI
|
|
|
|
bool "Enable the PCI info module"
|
|
|
|
default y
|
2008-04-04 15:28:10 +02:00
|
|
|
help
|
|
|
|
This option will increase the ELF file size by ca. 1750 bytes.
|
2008-03-24 16:47:49 +01:00
|
|
|
|
2008-03-31 22:30:18 +02:00
|
|
|
config MODULE_NVRAM
|
|
|
|
bool "Enable the NVRAM dump module"
|
|
|
|
default y
|
2008-04-04 15:28:10 +02:00
|
|
|
help
|
2008-04-22 18:56:21 +02:00
|
|
|
This option will increase the ELF file size by ca. 350 bytes.
|
2008-03-31 22:30:18 +02:00
|
|
|
|
2008-04-22 22:19:53 +02:00
|
|
|
config MODULE_BOOTLOG
|
|
|
|
bool "Enable the coreboot bootlog module"
|
|
|
|
default y
|
|
|
|
|
2008-07-08 18:18:38 +02:00
|
|
|
config MODULE_RAMDUMP
|
|
|
|
bool "Enable the RAM dump module"
|
|
|
|
default y
|
|
|
|
|
2009-07-07 17:10:13 +02:00
|
|
|
config MODULE_CBFS
|
|
|
|
bool "Enable the coreboot CBFS module"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option will increase the ELF file size by ca. 1440 bytes.
|
|
|
|
|
2016-07-08 11:14:40 +02:00
|
|
|
config MODULE_TIMESTAMPS
|
|
|
|
bool "Enable the coreboot timestamps module"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option will increase the ELF file size by ca. 4200 bytes.
|
|
|
|
|
2008-03-24 16:47:49 +01:00
|
|
|
endmenu
|