blob: 394dbb6afb4031b561f7619e945a19ce4e69d23c [file] [log] [blame]
Martin Roth21c06502016-02-04 19:52:27 -07001menu "Payload"
2
Nico Huber9121a362017-05-20 21:04:15 +02003config NO_DEFAULT_PAYLOAD
4 bool
5
Martin Roth21c06502016-02-04 19:52:27 -07006choice
7 prompt "Add a payload"
Nico Huber9121a362017-05-20 21:04:15 +02008 default PAYLOAD_NONE if NO_DEFAULT_PAYLOAD || !ARCH_X86
Martin Roth21c06502016-02-04 19:52:27 -07009 default PAYLOAD_SEABIOS if ARCH_X86
10
11config 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.
17
18 For such an image to be useful, you have to use 'cbfstool'
19 to add a payload to the ROM image later.
20
21config 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.
27
28 You will be able to specify the location and file name of the
29 payload image later.
30
Antonello Dettori3d609322016-07-25 14:23:46 +020031config PAYLOAD_BAYOU
32 bool "Bayou"
33 help
34 Select this option if you want to set bayou as your primary
35 payload.
36
Martin Roth21c06502016-02-04 19:52:27 -070037source "payloads/external/*/Kconfig.name"
38
39endchoice
40
41source "payloads/external/*/Kconfig"
42
Antonello Dettori3d609322016-07-25 14:23:46 +020043source "payloads/bayou/Kconfig"
44
Martin Roth21c06502016-02-04 19:52:27 -070045config 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.
51
Antonello Dettorifbcfdaf2016-07-23 17:11:44 +020052choice
53 prompt "Payload compression algorithm"
54 default COMPRESSED_PAYLOAD_LZ4
55 depends on !PAYLOAD_NONE && !PAYLOAD_LINUX
56 help
57 Choose the compression algorithm for the chosen payloads.
58 You can choose between LZMA and LZ4.
59
Martin Roth21c06502016-02-04 19:52:27 -070060config COMPRESSED_PAYLOAD_LZMA
61 bool "Use LZMA compression for payloads"
Martin Roth21c06502016-02-04 19:52:27 -070062 help
63 In order to reduce the size payloads take up in the ROM chip
64 coreboot can compress them using the LZMA algorithm.
65
Antonello Dettorifbcfdaf2016-07-23 17:11:44 +020066config COMPRESSED_PAYLOAD_LZ4
67 bool "Use LZ4 compression for payloads"
68 help
69 In order to reduce the size payloads take up in the ROM chip
70 coreboot can compress them using the LZ4 algorithm.
71endchoice
72
Martin Rothdbae4d02015-12-11 12:24:33 -070073config PAYLOAD_OPTIONS
74 string
75 default ""
76 help
77 Additional cbfstool options for the payload
78
79config PAYLOAD_IS_FLAT_BINARY
80 def_bool n
81 help
82 Add the payload to cbfs as a flat binary type instead of as an
83 elf payload
84
Martin Roth5ad9aca2016-03-07 19:21:45 -070085menu "Secondary Payloads"
86
Martin Roth4351ace2016-02-16 19:40:47 -070087config COREINFO_SECONDARY_PAYLOAD
88 bool "Load coreinfo as a secondary payload"
89 default n
90 depends on ARCH_X86
91 help
92 coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
93 or any other payload that can load additional payloads.
Martin Roth21c06502016-02-04 19:52:27 -070094
Martin Rothbe63a242016-02-28 15:56:27 -080095config MEMTEST_SECONDARY_PAYLOAD
96 bool "Load Memtest86+ as a secondary payload"
97 default n
Martin Roth5ad9aca2016-03-07 19:21:45 -070098 depends on ARCH_X86
Martin Rothbe63a242016-02-28 15:56:27 -080099 help
100 Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
101 or any other payload that can load additional payloads.
102
Martin Roth4005d9b2016-04-26 09:51:41 -0600103choice
104 prompt "Memtest86+ version"
105 default MEMTEST_STABLE
106 depends on MEMTEST_SECONDARY_PAYLOAD
107
108config MEMTEST_STABLE
109 bool "Stable"
110 help
111 Stable Memtest86+ version.
112
113 For reproducible builds, this option must be selected.
114config MEMTEST_MASTER
115 bool "Master"
116 help
117 Newest Memtest86+ version.
118
119 This option will fetch the newest version of the Memtest86+ code,
120 updating as new changes are committed. This makes the build
121 non-reproducible, as it can fetch different code each time.
122endchoice
123
Iru Cai736aa742016-04-15 15:48:14 +0800124config NVRAMCUI_SECONDARY_PAYLOAD
125 bool "Load nvramcui as a secondary payload"
126 default n
127 depends on ARCH_X86
128 help
129 nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
130 or any other payload that can load additional payloads.
131
Antonello Dettori4f7d3292016-05-27 23:44:47 +0200132config TINT_SECONDARY_PAYLOAD
133 bool "Load tint as a secondary payload"
134 default n
135 depends on ARCH_X86
136 help
137 tint can be loaded as a secondary payload under SeaBIOS, GRUB,
138 or any other payload that can load additional payloads.
139
Martin Roth5ad9aca2016-03-07 19:21:45 -0700140endmenu # "Secondary Payloads"
Martin Roth4351ace2016-02-16 19:40:47 -0700141endmenu