/ payloads / coreinfo / Kconfig
Kconfig
 1  ## SPDX-License-Identifier: GPL-2.0-only
 2  
 3  # For a description of the syntax of this configuration file,
 4  # see http://lxr.linux.no/source/Documentation/kbuild/kconfig-language.txt.
 5  #
 6  
 7  mainmenu "coreinfo Configuration"
 8  
 9  menu "General settings"
10  
11  # TODO: Needs changes in coreinfo, won't update without keypress currently.
12  config SHOW_DATE_TIME
13  	bool "Show current date/time in the menu"
14  	default y
15  	help
16  	  Show the current date and time in the lower-right corner of
17  	  the coreinfo menu.
18  
19  	  This option will increase the ELF file size by ca. 250 bytes.
20  
21  config COREINFO_NAME
22  	string "Payload name"
23  	default "coreinfo"
24  	help
25  	  The name of this payload for use in (e.g.) Bayou.
26  
27  config COREINFO_VERSION
28  	string "Payload version"
29  	default "0.1"
30  	help
31  	  The version number of this payload.
32  
33  config LTO
34  	bool "Use link time optimization (LTO)"
35  	default n
36  	help
37  	  Compile with link time optimization. This can often decrease the
38  	  final binary size, but may increase compilation time. This option
39  	  is most effective when LTO is also enabled in libpayload, which
40  	  is done separately.
41  
42  endmenu
43  
44  menu "Modules"
45  
46  config MODULE_COREBOOT
47  	bool "Enable the coreboot module"
48  	default y
49  	help
50  	  This option will increase the ELF file size by ca. 2250 bytes.
51  
52  config MODULE_MULTIBOOT
53  	bool "Enable the multiboot module"
54  	default y
55  	help
56  	  This option will increase the ELF file size by ca. 1790 bytes.
57  
58  config MODULE_CPUINFO
59  	bool "Enable the cpuinfo module"
60  	default y
61  	help
62  	  This option will increase the ELF file size by ca. 2650 bytes.
63  
64  config MODULE_PCI
65  	bool "Enable the PCI info module"
66  	default y
67  	help
68  	  This option will increase the ELF file size by ca. 1750 bytes.
69  
70  config MODULE_NVRAM
71  	bool "Enable the NVRAM dump module"
72  	default y
73  	help
74  	  This option will increase the ELF file size by ca. 350 bytes.
75  
76  config MODULE_BOOTLOG
77  	bool "Enable the coreboot bootlog module"
78  	default y
79  
80  config MODULE_RAMDUMP
81  	bool "Enable the RAM dump module"
82  	default y
83  
84  config MODULE_CBFS
85  	bool "Enable the coreboot CBFS module"
86  	default y
87  	help
88  	  This option will increase the ELF file size by ca. 1440 bytes.
89  
90  config MODULE_TIMESTAMPS
91  	bool "Enable the coreboot timestamps module"
92  	default y
93  	help
94  	  This option will increase the ELF file size by ca. 4200 bytes.
95  
96  endmenu