Use convenience function to checksum
[coreboot.git] / payloads / coreinfo / Kconfig
1 ##
2 ## This file is part of the coreinfo project.
3 ##
4 ## Copyright (C) 2008 Uwe Hermann <uwe@hermann-uwe.de>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18 ##
19
20 #
21 # For a description of the syntax of this configuration file,
22 # see http://lxr.linux.no/source/Documentation/kbuild/kconfig-language.txt.
23 #
24
25 mainmenu "coreinfo Configuration"
26
27 menu "General settings"
28
29 # TODO: Needs changes in coreinfo, won't update without keypress currently.
30 config SHOW_DATE_TIME
31         bool "Show current date/time in the menu"
32         default y
33         help
34           Show the current date and time in the lower-right corner of
35           the coreinfo menu.
36
37           This option will increase the ELF file size by ca. 250 bytes.
38
39 config PAYLOAD_INFO_NAME
40         string "Payload name"
41         default "coreinfo"
42         help
43           The name of this payload for use in (e.g.) Bayou.
44
45 config PAYLOAD_INFO_LISTNAME
46         string "Payload menu entry name"
47         default "System Information"
48         help
49           The name of this payload's menu entry for use in (e.g.) Bayou.
50
51 config PAYLOAD_INFO_DESC
52         string "Payload description"
53         default "Display information about the system"
54         help
55           The description of this payload for use in (e.g.) Bayou.
56
57 config PAYLOAD_INFO_VERSION
58         string "Payload version"
59         default "0.1"
60         help
61           The version number of this payload.
62
63 endmenu
64
65 menu "Modules"
66
67 config MODULE_COREBOOT
68         bool "Enable the coreboot module"
69         default y
70         help
71           This option will increase the ELF file size by ca. 2250 bytes.
72
73 config MODULE_MULTIBOOT
74         bool "Enable the multiboot module"
75         default y
76         help
77           This option will increase the ELF file size by ca. 1790 bytes.
78
79 config MODULE_CPUINFO
80         bool "Enable the cpuinfo module"
81         default y
82         help
83           This option will increase the ELF file size by ca. 2650 bytes.
84
85 config MODULE_PCI
86         bool "Enable the PCI info module"
87         default y
88         help
89           This option will increase the ELF file size by ca. 1750 bytes.
90
91 config MODULE_NVRAM
92         bool "Enable the NVRAM dump module"
93         default y
94         help
95           This option will increase the ELF file size by ca. 350 bytes.
96
97 config MODULE_BOOTLOG
98         bool "Enable the coreboot bootlog module"
99         default y
100
101 config MODULE_RAMDUMP
102         bool "Enable the RAM dump module"
103         default y
104
105 config MODULE_LAR
106         bool "Enable the coreboot v3 LAR module"
107         help
108           LAR support must also be enabled in libpayload.
109         default n
110
111 config MODULE_CBFS
112         bool "Enable the coreboot CBFS module"
113         default y
114         help
115           This option will increase the ELF file size by ca. 1440 bytes.
116
117 endmenu
118