lib/reg_script.c: Remove unused assignment
[coreboot.git] / payloads / Kconfig
blobbb9348b7d7363faf9b381de92709cbf8932d679f
1 menu "Payload"
3 config NO_DEFAULT_PAYLOAD
4         bool
6 choice
7         prompt "Add a payload"
8         default PAYLOAD_NONE if NO_DEFAULT_PAYLOAD || !ARCH_X86
9         default PAYLOAD_SEABIOS if ARCH_X86
11 config PAYLOAD_NONE
12         bool "None"
13         help
14           Select this option if you want to create an "empty" coreboot
15           ROM image for a certain mainboard, i.e. a coreboot ROM image
16           which does not yet contain a payload.
18           For such an image to be useful, you have to use 'cbfstool'
19           to add a payload to the ROM image later.
21 config PAYLOAD_ELF
22         bool "An ELF executable payload"
23         help
24           Select this option if you have a payload image (an ELF file)
25           which coreboot should run as soon as the basic hardware
26           initialization is completed.
28           You will be able to specify the location and file name of the
29           payload image later.
31 config PAYLOAD_BAYOU
32         bool "Bayou"
33         help
34           Select this option if you want to set bayou as your primary
35           payload.
37 source "payloads/external/*/Kconfig.name"
39 endchoice
41 source "payloads/external/*/Kconfig"
43 source "payloads/bayou/Kconfig"
45 config PAYLOAD_FILE
46         string "Payload path and filename"
47         depends on PAYLOAD_ELF
48         default "payload.elf"
49         help
50           The path and filename of the ELF executable file to use as payload.
52 # TODO: Defined if no payload? Breaks build?
53 config COMPRESSED_PAYLOAD_LZMA
54         bool "Use LZMA compression for payloads"
55         default y
56         depends on !PAYLOAD_NONE && !PAYLOAD_LINUX
57         help
58           In order to reduce the size payloads take up in the ROM chip
59           coreboot can compress them using the LZMA algorithm.
61 config PAYLOAD_OPTIONS
62         string
63         default ""
64         help
65           Additional cbfstool options for the payload
67 config PAYLOAD_IS_FLAT_BINARY
68         def_bool n
69         help
70           Add the payload to cbfs as a flat binary type instead of as an
71           elf payload
73 menu "Secondary Payloads"
75 config COREINFO_SECONDARY_PAYLOAD
76         bool "Load coreinfo as a secondary payload"
77         default n
78         depends on ARCH_X86
79         help
80           coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
81           or any other payload that can load additional payloads.
83 config MEMTEST_SECONDARY_PAYLOAD
84         bool "Load Memtest86+ as a secondary payload"
85         default n
86         depends on ARCH_X86
87         help
88           Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
89           or any other payload that can load additional payloads.
91 choice
92         prompt "Memtest86+ version"
93         default MEMTEST_STABLE
94         depends on MEMTEST_SECONDARY_PAYLOAD
96 config MEMTEST_STABLE
97         bool "Stable"
98         help
99           Stable Memtest86+ version.
101           For reproducible builds, this option must be selected.
102 config MEMTEST_MASTER
103         bool "Master"
104         help
105           Newest Memtest86+ version.
107           This option will fetch the newest version of the Memtest86+ code,
108           updating as new changes are committed.  This makes the build
109           non-reproducible, as it can fetch different code each time.
110 endchoice
112 config NVRAMCUI_SECONDARY_PAYLOAD
113         bool "Load nvramcui as a secondary payload"
114         default n
115         depends on ARCH_X86
116         help
117           nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
118           or any other payload that can load additional payloads.
120 config TINT_SECONDARY_PAYLOAD
121         bool "Load tint as a secondary payload"
122         default n
123         depends on ARCH_X86
124         help
125           tint can be loaded as a secondary payload under SeaBIOS, GRUB,
126           or any other payload that can load additional payloads.
128 endmenu # "Secondary Payloads"
129 endmenu