3 config NO_DEFAULT_PAYLOAD
8 default PAYLOAD_NONE if NO_DEFAULT_PAYLOAD || !ARCH_X86
9 default PAYLOAD_SEABIOS if ARCH_X86
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.
22 bool "An ELF executable payload"
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
33 depends on ARCH_ARM64 || ARCH_RISCV || ARCH_ARM
34 select PAYLOAD_FIT_SUPPORT
36 Select this option if you have a payload image (a FIT file) which
37 coreboot should run as soon as the basic hardware initialization
40 You will be able to specify the location and file name of the
43 source "payloads/external/*/Kconfig.name"
47 source "payloads/external/*/Kconfig"
50 string "Payload path and filename"
51 depends on PAYLOAD_ELF || PAYLOAD_FIT
52 default "payload.elf" if PAYLOAD_ELF
53 default "uImage" if PAYLOAD_FIT
55 The path and filename of the ELF executable file to use as payload.
58 prompt "Payload compression algorithm"
59 default COMPRESSED_PAYLOAD_LZMA
60 default COMPRESSED_PAYLOAD_NONE if PAYLOAD_LINUX || PAYLOAD_LINUXBOOT || PAYLOAD_FIT
61 depends on !PAYLOAD_NONE && !PAYLOAD_LINUX && !PAYLOAD_LINUXBOOT && !PAYLOAD_FIT
63 Choose the compression algorithm for the chosen payloads.
64 You can choose between None, LZMA, or LZ4.
66 config COMPRESSED_PAYLOAD_NONE
67 bool "Use no compression for payloads"
69 Do not compress the payload.
71 config COMPRESSED_PAYLOAD_LZMA
72 bool "Use LZMA compression for payloads"
74 In order to reduce the size payloads take up in the ROM chip
75 coreboot can compress them using the LZMA algorithm.
77 config COMPRESSED_PAYLOAD_LZ4
78 bool "Use LZ4 compression for payloads"
80 In order to reduce the size payloads take up in the ROM chip
81 coreboot can compress them using the LZ4 algorithm.
84 config PAYLOAD_OPTIONS
88 Additional cbfstool options for the payload
90 config PAYLOAD_IS_FLAT_BINARY
93 Add the payload to cbfs as a flat binary type instead of as an
96 config PAYLOAD_FIT_SUPPORT
99 default y if PAYLOAD_LINUX && (ARCH_ARM || ARCH_ARM64 || ARCH_RISCV)
100 depends on ARCH_ARM64 || ARCH_RISCV || ARCH_ARM
101 select FLATTENED_DEVICE_TREE
103 Select this option if your payload is of type FIT.
104 Enables FIT parser and devicetree patching. The FIT is non
105 self-extracting and needs to have a compatible compression format.
107 config COMPRESS_SECONDARY_PAYLOAD
108 bool "Use LZMA compression for secondary payloads"
111 In order to reduce the size secondary payloads take up in the
112 ROM chip they can be compressed using the LZMA algorithm.
114 menu "Secondary Payloads"
116 config COREINFO_SECONDARY_PAYLOAD
117 bool "Load coreinfo as a secondary payload"
121 coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
122 or any other payload that can load additional payloads.
124 config MEMTEST_SECONDARY_PAYLOAD
125 bool "Load Memtest86+ as a secondary payload"
129 Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
130 or any other payload that can load additional payloads.
132 config NVRAMCUI_SECONDARY_PAYLOAD
133 bool "Load nvramcui as a secondary payload"
135 depends on ARCH_X86 && HAVE_OPTION_TABLE
136 select USE_OPTION_TABLE
138 nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
139 or any other payload that can load additional payloads.
141 config TINT_SECONDARY_PAYLOAD
142 bool "Load tint as a secondary payload"
146 tint can be loaded as a secondary payload under SeaBIOS, GRUB,
147 or any other payload that can load additional payloads.
149 source "payloads/external/*/Kconfig.secondary"
151 endmenu # "Secondary Payloads"