mainboard/kontron: Use C89 comments style & remove commented code
[coreboot.git] / payloads / Kconfig
blob77006311d10daae7f844d752f733dea74c53d0f6
1 menu "Payload"
3 choice
4         prompt "Add a payload"
5         default PAYLOAD_NONE if !ARCH_X86
6         default PAYLOAD_SEABIOS if ARCH_X86
8 config 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.
15           For such an image to be useful, you have to use 'cbfstool'
16           to add a payload to the ROM image later.
18 config 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.
25           You will be able to specify the location and file name of the
26           payload image later.
28 config PAYLOAD_BAYOU
29         bool "Bayou"
30         help
31           Select this option if you want to set bayou as your primary
32           payload.
34 source "payloads/external/*/Kconfig.name"
36 endchoice
38 source "payloads/external/*/Kconfig"
40 source "payloads/bayou/Kconfig"
42 config 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.
49 # TODO: Defined if no payload? Breaks build?
50 config 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.
58 config PAYLOAD_OPTIONS
59         string
60         default ""
61         help
62           Additional cbfstool options for the payload
64 config 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
70 menu "Secondary Payloads"
72 config 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.
80 config MEMTEST_SECONDARY_PAYLOAD
81         bool "Load Memtest86+ as a secondary payload"
82         default n
83         depends on ARCH_X86
84         help
85           Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
86           or any other payload that can load additional payloads.
88 choice
89         prompt "Memtest86+ version"
90         default MEMTEST_STABLE
91         depends on MEMTEST_SECONDARY_PAYLOAD
93 config MEMTEST_STABLE
94         bool "Stable"
95         help
96           Stable Memtest86+ version.
98           For reproducible builds, this option must be selected.
99 config MEMTEST_MASTER
100         bool "Master"
101         help
102           Newest Memtest86+ version.
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.
107 endchoice
109 config 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.
117 config 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.
125 endmenu # "Secondary Payloads"
126 endmenu