blob: 77006311d10daae7f844d752f733dea74c53d0f6 [file] [log] [blame]
Martin Roth21c06502016-02-04 19:52:27 -07001menu "Payload"
2
3choice
4 prompt "Add a payload"
5 default PAYLOAD_NONE if !ARCH_X86
6 default PAYLOAD_SEABIOS if ARCH_X86
7
8config PAYLOAD_NONE
9 bool "None"
10 help
11 Select this option if you want to create an "empty" coreboot
12 ROM image for a certain mainboard, i.e. a coreboot ROM image
13 which does not yet contain a payload.
14
15 For such an image to be useful, you have to use 'cbfstool'
16 to add a payload to the ROM image later.
17
18config PAYLOAD_ELF
19 bool "An ELF executable payload"
20 help
21 Select this option if you have a payload image (an ELF file)
22 which coreboot should run as soon as the basic hardware
23 initialization is completed.
24
25 You will be able to specify the location and file name of the
26 payload image later.
27
Antonello Dettori3d609322016-07-25 14:23:46 +020028config PAYLOAD_BAYOU
29 bool "Bayou"
30 help
31 Select this option if you want to set bayou as your primary
32 payload.
33
Martin Roth21c06502016-02-04 19:52:27 -070034source "payloads/external/*/Kconfig.name"
35
36endchoice
37
38source "payloads/external/*/Kconfig"
39
Antonello Dettori3d609322016-07-25 14:23:46 +020040source "payloads/bayou/Kconfig"
41
Martin Roth21c06502016-02-04 19:52:27 -070042config PAYLOAD_FILE
43 string "Payload path and filename"
44 depends on PAYLOAD_ELF
45 default "payload.elf"
46 help
47 The path and filename of the ELF executable file to use as payload.
48
49# TODO: Defined if no payload? Breaks build?
50config COMPRESSED_PAYLOAD_LZMA
51 bool "Use LZMA compression for payloads"
52 default y
53 depends on !PAYLOAD_NONE && !PAYLOAD_LINUX
54 help
55 In order to reduce the size payloads take up in the ROM chip
56 coreboot can compress them using the LZMA algorithm.
57
Martin Rothdbae4d02015-12-11 12:24:33 -070058config PAYLOAD_OPTIONS
59 string
60 default ""
61 help
62 Additional cbfstool options for the payload
63
64config PAYLOAD_IS_FLAT_BINARY
65 def_bool n
66 help
67 Add the payload to cbfs as a flat binary type instead of as an
68 elf payload
69
Martin Roth5ad9aca2016-03-07 19:21:45 -070070menu "Secondary Payloads"
71
Martin Roth4351ace2016-02-16 19:40:47 -070072config COREINFO_SECONDARY_PAYLOAD
73 bool "Load coreinfo as a secondary payload"
74 default n
75 depends on ARCH_X86
76 help
77 coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
78 or any other payload that can load additional payloads.
Martin Roth21c06502016-02-04 19:52:27 -070079
Martin Rothbe63a242016-02-28 15:56:27 -080080config MEMTEST_SECONDARY_PAYLOAD
81 bool "Load Memtest86+ as a secondary payload"
82 default n
Martin Roth5ad9aca2016-03-07 19:21:45 -070083 depends on ARCH_X86
Martin Rothbe63a242016-02-28 15:56:27 -080084 help
85 Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
86 or any other payload that can load additional payloads.
87
Martin Roth4005d9b2016-04-26 09:51:41 -060088choice
89 prompt "Memtest86+ version"
90 default MEMTEST_STABLE
91 depends on MEMTEST_SECONDARY_PAYLOAD
92
93config MEMTEST_STABLE
94 bool "Stable"
95 help
96 Stable Memtest86+ version.
97
98 For reproducible builds, this option must be selected.
99config MEMTEST_MASTER
100 bool "Master"
101 help
102 Newest Memtest86+ version.
103
104 This option will fetch the newest version of the Memtest86+ code,
105 updating as new changes are committed. This makes the build
106 non-reproducible, as it can fetch different code each time.
107endchoice
108
Iru Cai736aa742016-04-15 15:48:14 +0800109config NVRAMCUI_SECONDARY_PAYLOAD
110 bool "Load nvramcui as a secondary payload"
111 default n
112 depends on ARCH_X86
113 help
114 nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
115 or any other payload that can load additional payloads.
116
Antonello Dettori4f7d3292016-05-27 23:44:47 +0200117config TINT_SECONDARY_PAYLOAD
118 bool "Load tint as a secondary payload"
119 default n
120 depends on ARCH_X86
121 help
122 tint can be loaded as a secondary payload under SeaBIOS, GRUB,
123 or any other payload that can load additional payloads.
124
Martin Roth5ad9aca2016-03-07 19:21:45 -0700125endmenu # "Secondary Payloads"
Martin Roth4351ace2016-02-16 19:40:47 -0700126endmenu