soc/intel/denverton_ns: Get rid of device_t
[coreboot.git] / payloads / Kconfig
blob2a329ac08f3012388d0a54447b76e2bdb49c72d3
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 choice
53         prompt "Payload compression algorithm"
54         default COMPRESSED_PAYLOAD_LZMA
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.
60 config COMPRESSED_PAYLOAD_LZMA
61         bool "Use LZMA compression for payloads"
62         help
63           In order to reduce the size payloads take up in the ROM chip
64           coreboot can compress them using the LZMA algorithm.
66 config 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.
71 endchoice
73 config PAYLOAD_OPTIONS
74         string
75         default ""
76         help
77           Additional cbfstool options for the payload
79 config 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
85 config COMPRESS_SECONDARY_PAYLOAD
86         bool "Use LZMA compression for secondary payloads"
87         default y
88         help
89           In order to reduce the size secondary payloads take up in the
90           ROM chip they can be compressed using the LZMA algorithm.
92 menu "Secondary Payloads"
94 config COREINFO_SECONDARY_PAYLOAD
95         bool "Load coreinfo as a secondary payload"
96         default n
97         depends on ARCH_X86
98         help
99           coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
100           or any other payload that can load additional payloads.
102 config MEMTEST_SECONDARY_PAYLOAD
103         bool "Load Memtest86+ as a secondary payload"
104         default n
105         depends on ARCH_X86
106         help
107           Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
108           or any other payload that can load additional payloads.
110 choice
111         prompt "Memtest86+ version"
112         default MEMTEST_STABLE
113         depends on MEMTEST_SECONDARY_PAYLOAD
115 config MEMTEST_STABLE
116         bool "Stable"
117         help
118           Stable Memtest86+ version.
120           For reproducible builds, this option must be selected.
121 config MEMTEST_MASTER
122         bool "Master"
123         help
124           Newest Memtest86+ version.
126           This option will fetch the newest version of the Memtest86+ code,
127           updating as new changes are committed.  This makes the build
128           non-reproducible, as it can fetch different code each time.
129 endchoice
131 config NVRAMCUI_SECONDARY_PAYLOAD
132         bool "Load nvramcui as a secondary payload"
133         default n
134         depends on ARCH_X86
135         help
136           nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
137           or any other payload that can load additional payloads.
139 config TINT_SECONDARY_PAYLOAD
140         bool "Load tint as a secondary payload"
141         default n
142         depends on ARCH_X86
143         help
144           tint can be loaded as a secondary payload under SeaBIOS, GRUB,
145           or any other payload that can load additional payloads.
147 endmenu # "Secondary Payloads"
148 endmenu