Masahiro Yamada | f3e12b7 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | menu "Library routines" |
| 2 | |
Marek Szyprowski | 795dc7d | 2020-06-03 14:43:40 +0200 | [diff] [blame] | 3 | config ADDR_MAP |
| 4 | bool "Enable support for non-identity virtual-physical mappings" |
| 5 | help |
| 6 | Enables helper code for implementing non-identity virtual-physical |
| 7 | memory mappings for 32bit CPUs. |
| 8 | |
Bin Meng | 0a5fee5 | 2021-02-25 17:22:36 +0800 | [diff] [blame] | 9 | This library only works in the post-relocation phase. |
| 10 | |
Marek Szyprowski | 795dc7d | 2020-06-03 14:43:40 +0200 | [diff] [blame] | 11 | config SYS_NUM_ADDR_MAP |
| 12 | int "Size of the address-map table" |
| 13 | depends on ADDR_MAP |
| 14 | default 16 |
| 15 | help |
| 16 | Sets the number of entries in the virtual-physical mapping table. |
| 17 | |
Tom Rini | 1f17363 | 2022-11-16 13:10:38 -0500 | [diff] [blame] | 18 | config SYS_TIMER_COUNTS_DOWN |
Marek Vasut | 88e5a20 | 2023-03-19 04:13:02 +0100 | [diff] [blame] | 19 | bool "System timer counts down rather than up" |
Tom Rini | 1f17363 | 2022-11-16 13:10:38 -0500 | [diff] [blame] | 20 | |
Simon Glass | ef9e762 | 2021-11-24 09:26:42 -0700 | [diff] [blame] | 21 | config PHYSMEM |
| 22 | bool "Access to physical memory region (> 4G)" |
| 23 | help |
| 24 | Some basic support is provided for operations on memory not |
| 25 | normally accessible to 32-bit U-Boot - e.g. some architectures |
| 26 | support access to more than 4G of memory on 32-bit |
| 27 | machines using physical address extension or similar. |
| 28 | Enable this to access this basic support, which only supports clearing |
| 29 | the memory. |
| 30 | |
Adam Ford | 02bf536 | 2017-08-11 09:46:05 -0500 | [diff] [blame] | 31 | config BCH |
| 32 | bool "Enable Software based BCH ECC" |
| 33 | help |
| 34 | Enables software based BCH ECC algorithm present in lib/bch.c |
| 35 | This is used by SoC platforms which do not have built-in ELM |
| 36 | hardware engine required for BCH ECC correction. |
| 37 | |
Simon Glass | dd7fb9b | 2019-12-06 21:41:34 -0700 | [diff] [blame] | 38 | config BINMAN_FDT |
| 39 | bool "Allow access to binman information in the device tree" |
Bin Meng | c5e8b31 | 2021-02-03 21:20:02 +0800 | [diff] [blame] | 40 | depends on BINMAN && DM && OF_CONTROL |
Bin Meng | c9155f1 | 2021-05-10 20:23:36 +0800 | [diff] [blame] | 41 | default y if OF_SEPARATE || OF_EMBED |
Simon Glass | dd7fb9b | 2019-12-06 21:41:34 -0700 | [diff] [blame] | 42 | help |
| 43 | This enables U-Boot to access information about binman entries, |
| 44 | stored in the device tree in a binman node. Typical uses are to |
| 45 | locate entries in the firmware image. See binman.h for the available |
| 46 | functionality. |
| 47 | |
Masahiro Yamada | 3f053fe | 2014-09-16 16:32:59 +0900 | [diff] [blame] | 48 | config CC_OPTIMIZE_LIBS_FOR_SPEED |
| 49 | bool "Optimize libraries for speed" |
| 50 | help |
| 51 | Enabling this option will pass "-O2" to gcc when compiling |
| 52 | under "lib" directory. |
| 53 | |
| 54 | If unsure, say N. |
| 55 | |
Simon Glass | c17db99 | 2021-07-02 12:36:17 -0600 | [diff] [blame] | 56 | config CHARSET |
| 57 | bool |
Simon Glass | c17db99 | 2021-07-02 12:36:17 -0600 | [diff] [blame] | 58 | |
Faiz Abbas | 6199fb1 | 2018-02-06 19:15:58 +0530 | [diff] [blame] | 59 | config DYNAMIC_CRC_TABLE |
| 60 | bool "Enable Dynamic tables for CRC" |
| 61 | help |
| 62 | Enable this option to calculate entries for CRC tables at runtime. |
| 63 | This can be helpful when reducing the size of the build image |
| 64 | |
Bin Meng | b95e9db | 2018-10-15 02:21:15 -0700 | [diff] [blame] | 65 | config HAVE_ARCH_IOMAP |
| 66 | bool |
| 67 | help |
| 68 | Enable this option if architecture provides io{read,write}{8,16,32} |
| 69 | I/O accessor functions. |
| 70 | |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 71 | config HAVE_PRIVATE_LIBGCC |
| 72 | bool |
| 73 | |
Adam Ford | 70c8f05 | 2018-02-06 12:14:28 -0600 | [diff] [blame] | 74 | config LIB_UUID |
| 75 | bool |
Caleb Connolly | 2f4f0be | 2024-08-30 13:34:32 +0100 | [diff] [blame] | 76 | select SHA1 |
Adam Ford | 70c8f05 | 2018-02-06 12:14:28 -0600 | [diff] [blame] | 77 | |
AKASHI Takahiro | d1e3158 | 2023-10-26 14:31:31 -0400 | [diff] [blame] | 78 | config RANDOM_UUID |
| 79 | bool "GPT Random UUID generation" |
| 80 | select LIB_UUID |
| 81 | help |
| 82 | Enable the generation of partitions with random UUIDs if none |
| 83 | are provided. |
| 84 | |
Simon Glass | 8090d8d | 2023-02-22 09:34:11 -0700 | [diff] [blame] | 85 | config SPL_LIB_UUID |
| 86 | depends on SPL |
| 87 | bool |
| 88 | |
Kautuk Consul | a51bb74 | 2022-12-07 17:12:34 +0530 | [diff] [blame] | 89 | config SEMIHOSTING |
| 90 | bool "Support semihosting" |
Kautuk Consul | c86cb4a | 2022-12-07 17:12:35 +0530 | [diff] [blame] | 91 | depends on ARM || RISCV |
Kautuk Consul | a51bb74 | 2022-12-07 17:12:34 +0530 | [diff] [blame] | 92 | help |
| 93 | Semihosting is a method for a target to communicate with a host |
| 94 | debugger. It uses special instructions which the debugger will trap |
| 95 | on and interpret. This allows U-Boot to read/write files, print to |
| 96 | the console, and execute arbitrary commands on the host system. |
| 97 | |
| 98 | Enabling this option will add support for reading and writing files |
| 99 | on the host system. If you don't have a debugger attached then trying |
| 100 | to do this will likely cause U-Boot to hang. Say 'n' if you are unsure. |
| 101 | |
| 102 | config SEMIHOSTING_FALLBACK |
| 103 | bool "Recover gracefully when semihosting fails" |
Sean Anderson | bf641f2 | 2023-10-27 16:40:15 -0400 | [diff] [blame] | 104 | depends on SEMIHOSTING |
Kautuk Consul | a51bb74 | 2022-12-07 17:12:34 +0530 | [diff] [blame] | 105 | default y |
| 106 | help |
| 107 | Normally, if U-Boot makes a semihosting call and no debugger is |
| 108 | attached, then it will panic due to a synchronous abort |
| 109 | exception. This config adds an exception handler which will allow |
| 110 | U-Boot to recover. Say 'y' if unsure. |
| 111 | |
| 112 | config SPL_SEMIHOSTING |
| 113 | bool "Support semihosting in SPL" |
Kautuk Consul | c86cb4a | 2022-12-07 17:12:35 +0530 | [diff] [blame] | 114 | depends on SPL && (ARM || RISCV) |
Kautuk Consul | a51bb74 | 2022-12-07 17:12:34 +0530 | [diff] [blame] | 115 | help |
| 116 | Semihosting is a method for a target to communicate with a host |
| 117 | debugger. It uses special instructions which the debugger will trap |
| 118 | on and interpret. This allows U-Boot to read/write files, print to |
| 119 | the console, and execute arbitrary commands on the host system. |
| 120 | |
| 121 | Enabling this option will add support for reading and writing files |
| 122 | on the host system. If you don't have a debugger attached then trying |
| 123 | to do this will likely cause U-Boot to hang. Say 'n' if you are unsure. |
| 124 | |
| 125 | config SPL_SEMIHOSTING_FALLBACK |
| 126 | bool "Recover gracefully when semihosting fails in SPL" |
Sean Anderson | bf641f2 | 2023-10-27 16:40:15 -0400 | [diff] [blame] | 127 | depends on SPL_SEMIHOSTING |
Kautuk Consul | c86cb4a | 2022-12-07 17:12:35 +0530 | [diff] [blame] | 128 | select ARMV8_SPL_EXCEPTION_VECTORS if ARM64 |
Kautuk Consul | a51bb74 | 2022-12-07 17:12:34 +0530 | [diff] [blame] | 129 | default y |
| 130 | help |
| 131 | Normally, if U-Boot makes a semihosting call and no debugger is |
| 132 | attached, then it will panic due to a synchronous abort |
| 133 | exception. This config adds an exception handler which will allow |
| 134 | U-Boot to recover. Say 'y' if unsure. |
| 135 | |
Alex Kiernan | 5b40428 | 2018-04-19 04:32:54 +0000 | [diff] [blame] | 136 | config PRINTF |
| 137 | bool |
| 138 | default y |
| 139 | |
| 140 | config SPL_PRINTF |
| 141 | bool |
| 142 | select SPL_SPRINTF |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 143 | select SPL_STRTO if !SPL_USE_TINY_PRINTF |
Alex Kiernan | 5b40428 | 2018-04-19 04:32:54 +0000 | [diff] [blame] | 144 | |
| 145 | config TPL_PRINTF |
| 146 | bool |
| 147 | select TPL_SPRINTF |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 148 | select TPL_STRTO if !TPL_USE_TINY_PRINTF |
Alex Kiernan | 5b40428 | 2018-04-19 04:32:54 +0000 | [diff] [blame] | 149 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 150 | config VPL_PRINTF |
| 151 | bool |
| 152 | select VPL_SPRINTF |
| 153 | select VPL_STRTO if !VPL_USE_TINY_PRINTF |
| 154 | |
Alex Kiernan | 5b40428 | 2018-04-19 04:32:54 +0000 | [diff] [blame] | 155 | config SPRINTF |
| 156 | bool |
| 157 | default y |
| 158 | |
| 159 | config SPL_SPRINTF |
| 160 | bool |
| 161 | |
| 162 | config TPL_SPRINTF |
| 163 | bool |
| 164 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 165 | config VPL_SPRINTF |
| 166 | bool |
| 167 | |
Andrii Anisov | 6e29ac4 | 2020-08-06 12:42:52 +0300 | [diff] [blame] | 168 | config SSCANF |
| 169 | bool |
Andrii Anisov | 6e29ac4 | 2020-08-06 12:42:52 +0300 | [diff] [blame] | 170 | |
Alex Kiernan | 5b40428 | 2018-04-19 04:32:54 +0000 | [diff] [blame] | 171 | config STRTO |
| 172 | bool |
| 173 | default y |
| 174 | |
| 175 | config SPL_STRTO |
| 176 | bool |
| 177 | |
| 178 | config TPL_STRTO |
| 179 | bool |
| 180 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 181 | config VPL_STRTO |
| 182 | bool |
| 183 | |
Alex Kiernan | c568bcb | 2018-05-29 15:30:52 +0000 | [diff] [blame] | 184 | config IMAGE_SPARSE |
| 185 | bool |
| 186 | |
| 187 | config IMAGE_SPARSE_FILLBUF_SIZE |
| 188 | hex "Android sparse image CHUNK_TYPE_FILL buffer size" |
| 189 | default 0x80000 |
| 190 | depends on IMAGE_SPARSE |
| 191 | help |
| 192 | Set the size of the fill buffer used when processing CHUNK_TYPE_FILL |
| 193 | chunks. |
| 194 | |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 195 | config USE_PRIVATE_LIBGCC |
| 196 | bool "Use private libgcc" |
| 197 | depends on HAVE_PRIVATE_LIBGCC |
Marek Vasut | 4e0126e | 2016-05-26 18:01:47 +0200 | [diff] [blame] | 198 | default y if HAVE_PRIVATE_LIBGCC && ((ARM && !ARM64) || MIPS) |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 199 | help |
| 200 | This option allows you to use the built-in libgcc implementation |
Masahiro Yamada | 1c6a5e4 | 2016-03-30 20:17:42 +0900 | [diff] [blame] | 201 | of U-Boot instead of the one provided by the compiler. |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 202 | If unsure, say N. |
| 203 | |
Masahiro Yamada | e301fa0 | 2014-10-24 01:30:40 +0900 | [diff] [blame] | 204 | config SYS_HZ |
| 205 | int |
| 206 | default 1000 |
| 207 | help |
| 208 | The frequency of the timer returned by get_timer(). |
| 209 | get_timer() must operate in milliseconds and this option must be |
| 210 | set to 1000. |
| 211 | |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 212 | config SPL_USE_TINY_PRINTF |
Thomas Hebb | 0c12fb5 | 2019-11-10 08:23:53 -0800 | [diff] [blame] | 213 | bool "Enable tiny printf() version in SPL" |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 214 | depends on SPL |
Tom Rini | d0502b7 | 2019-06-08 12:46:18 -0400 | [diff] [blame] | 215 | default y |
Stefan Roese | 363ab7b | 2015-11-23 07:00:22 +0100 | [diff] [blame] | 216 | help |
| 217 | This option enables a tiny, stripped down printf version. |
| 218 | This should only be used in space limited environments, |
| 219 | like SPL versions with hard memory limits. This version |
| 220 | reduces the code size by about 2.5KiB on armv7. |
| 221 | |
| 222 | The supported format specifiers are %c, %s, %u/%d and %x. |
| 223 | |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 224 | config TPL_USE_TINY_PRINTF |
Thomas Hebb | 0c12fb5 | 2019-11-10 08:23:53 -0800 | [diff] [blame] | 225 | bool "Enable tiny printf() version in TPL" |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 226 | depends on TPL |
| 227 | default y if SPL_USE_TINY_PRINTF |
| 228 | help |
| 229 | This option enables a tiny, stripped down printf version. |
| 230 | This should only be used in space limited environments, |
| 231 | like SPL versions with hard memory limits. This version |
| 232 | reduces the code size by about 2.5KiB on armv7. |
| 233 | |
| 234 | The supported format specifiers are %c, %s, %u/%d and %x. |
| 235 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 236 | config VPL_USE_TINY_PRINTF |
| 237 | bool "Enable tiny printf() version for VPL" |
| 238 | depends on VPL |
| 239 | help |
| 240 | This option enables a tiny, stripped down printf version. |
| 241 | This should only be used in space limited environments, |
| 242 | like SPL versions with hard memory limits. This version |
| 243 | reduces the code size by about 2.5KiB on armv7. |
| 244 | |
| 245 | The supported format specifiers are %c, %s, %u/%d and %x. |
| 246 | |
Masahiro Yamada | acede7a | 2017-12-04 12:37:00 +0900 | [diff] [blame] | 247 | config PANIC_HANG |
| 248 | bool "Do not reset the system on fatal error" |
| 249 | help |
| 250 | Define this option to stop the system in case of a fatal error, |
| 251 | so that you have to reset it manually. This is probably NOT a good |
| 252 | idea for an embedded system where you want the system to reboot |
| 253 | automatically as fast as possible, but it may be useful during |
| 254 | development since you can try to debug the conditions that lead to |
| 255 | the situation. |
| 256 | |
Joe Hershberger | 937d3e8 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 257 | config REGEX |
| 258 | bool "Enable regular expression support" |
Joe Hershberger | 8ab8b72 | 2015-06-22 17:57:36 -0500 | [diff] [blame] | 259 | default y if NET |
Joe Hershberger | 937d3e8 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 260 | help |
| 261 | If this variable is defined, U-Boot is linked against the |
| 262 | SLRE (Super Light Regular Expression) library, which adds |
| 263 | regex support to some commands, for example "env grep" and |
| 264 | "setexpr". |
| 265 | |
Adam Ford | 38003a6 | 2018-02-06 10:18:18 -0600 | [diff] [blame] | 266 | choice |
| 267 | prompt "Pseudo-random library support type" |
Heinrich Schuchardt | b2e67a2 | 2020-01-19 19:28:12 +0100 | [diff] [blame] | 268 | depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID || \ |
Heinrich Schuchardt | ba9c44e | 2020-11-20 12:55:22 +0100 | [diff] [blame] | 269 | RNG_SANDBOX || UT_LIB && AES || FAT_WRITE |
Adam Ford | 38003a6 | 2018-02-06 10:18:18 -0600 | [diff] [blame] | 270 | default LIB_RAND |
Masahiro Yamada | 2743c07 | 2015-06-11 19:16:43 +0900 | [diff] [blame] | 271 | help |
Adam Ford | 38003a6 | 2018-02-06 10:18:18 -0600 | [diff] [blame] | 272 | Select the library to provide pseudo-random number generator |
| 273 | functions. LIB_HW_RAND supports certain hardware engines that |
| 274 | provide this functionality. If in doubt, select LIB_RAND. |
| 275 | |
| 276 | config LIB_RAND |
| 277 | bool "Pseudo-random library support" |
| 278 | |
| 279 | config LIB_HW_RAND |
Marcin Juszkiewicz | a360c2c | 2020-05-26 19:07:15 +0200 | [diff] [blame] | 280 | bool "HW Engine for random library support" |
Adam Ford | 38003a6 | 2018-02-06 10:18:18 -0600 | [diff] [blame] | 281 | |
| 282 | endchoice |
Michal Simek | 2c1b1db | 2015-05-25 11:37:22 +0200 | [diff] [blame] | 283 | |
Simon Glass | a6cee93 | 2021-12-01 09:02:36 -0700 | [diff] [blame] | 284 | config SUPPORT_ACPI |
| 285 | bool |
| 286 | help |
| 287 | Enable this if your arch or board can support generating ACPI |
| 288 | (Advanced Configuration and Power Interface) tables. In this case |
| 289 | U-Boot can generate these tables and pass them to the Operating |
| 290 | System. |
| 291 | |
Simon Glass | e264be4 | 2023-05-04 16:54:57 -0600 | [diff] [blame] | 292 | config ACPI |
| 293 | bool "Enable support for ACPI libraries" |
| 294 | depends on SUPPORT_ACPI |
| 295 | help |
| 296 | Provides library functions for dealing with ACPI tables. This does |
| 297 | not necessarily include generation of tables |
| 298 | (see GENERATE_ACPI_TABLE), but allows for tables to be located. |
| 299 | |
Simon Glass | 1a2fcc2 | 2023-09-19 21:00:06 -0600 | [diff] [blame] | 300 | config SPL_ACPI |
| 301 | bool "Enable support for ACPI libraries in SPL" |
| 302 | depends on SPL && SUPPORT_ACPI |
| 303 | help |
| 304 | Provides library functions for dealing with ACPI tables in SPL. This |
| 305 | does not necessarily include generation of tables |
| 306 | (see GENERATE_ACPI_TABLE), but allows for tables to be located. |
| 307 | |
Simon Glass | a6cee93 | 2021-12-01 09:02:36 -0700 | [diff] [blame] | 308 | config GENERATE_ACPI_TABLE |
| 309 | bool "Generate an ACPI (Advanced Configuration and Power Interface) table" |
Simon Glass | e264be4 | 2023-05-04 16:54:57 -0600 | [diff] [blame] | 310 | depends on ACPI |
Simon Glass | a6cee93 | 2021-12-01 09:02:36 -0700 | [diff] [blame] | 311 | select QFW if QEMU |
| 312 | help |
| 313 | The Advanced Configuration and Power Interface (ACPI) specification |
| 314 | provides an open standard for device configuration and management |
| 315 | by the operating system. It defines platform-independent interfaces |
| 316 | for configuration and power management monitoring. |
| 317 | |
Simon Glass | e2f94ae | 2017-04-02 09:50:28 -0600 | [diff] [blame] | 318 | config SPL_TINY_MEMSET |
| 319 | bool "Use a very small memset() in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 320 | depends on SPL |
Simon Glass | e2f94ae | 2017-04-02 09:50:28 -0600 | [diff] [blame] | 321 | help |
| 322 | The faster memset() is the arch-specific one (if available) enabled |
| 323 | by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get |
| 324 | better performance by writing a word at a time. But in very |
Chris Packham | 1c3b7ba | 2019-01-13 22:13:28 +1300 | [diff] [blame] | 325 | size-constrained environments even this may be too big. Enable this |
Simon Glass | e2f94ae | 2017-04-02 09:50:28 -0600 | [diff] [blame] | 326 | option to reduce code size slightly at the cost of some speed. |
| 327 | |
Philipp Tomsich | fefc4ec | 2017-08-03 22:52:04 +0200 | [diff] [blame] | 328 | config TPL_TINY_MEMSET |
| 329 | bool "Use a very small memset() in TPL" |
Tom Rini | 36a4ca0 | 2022-06-08 08:24:39 -0400 | [diff] [blame] | 330 | depends on TPL |
Philipp Tomsich | fefc4ec | 2017-08-03 22:52:04 +0200 | [diff] [blame] | 331 | help |
| 332 | The faster memset() is the arch-specific one (if available) enabled |
| 333 | by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get |
| 334 | better performance by writing a word at a time. But in very |
Chris Packham | 1c3b7ba | 2019-01-13 22:13:28 +1300 | [diff] [blame] | 335 | size-constrained environments even this may be too big. Enable this |
Philipp Tomsich | fefc4ec | 2017-08-03 22:52:04 +0200 | [diff] [blame] | 336 | option to reduce code size slightly at the cost of some speed. |
| 337 | |
Boris Brezillon | 627dc18 | 2017-02-27 18:22:05 +0100 | [diff] [blame] | 338 | config RBTREE |
| 339 | bool |
| 340 | |
Nandor Han | d5ea84a | 2017-11-08 15:35:14 +0000 | [diff] [blame] | 341 | config BITREVERSE |
| 342 | bool "Bit reverse library from Linux" |
| 343 | |
Simon Glass | bfce7fc | 2019-04-08 13:20:51 -0600 | [diff] [blame] | 344 | config TRACE |
| 345 | bool "Support for tracing of function calls and timing" |
| 346 | imply CMD_TRACE |
Simon Glass | 6b5424a | 2022-12-21 16:08:26 -0700 | [diff] [blame] | 347 | imply TIMER_EARLY |
Simon Glass | bfce7fc | 2019-04-08 13:20:51 -0600 | [diff] [blame] | 348 | help |
| 349 | Enables function tracing within U-Boot. This allows recording of call |
| 350 | traces including timing information. The command can write data to |
| 351 | memory for exporting for analysis (e.g. using bootchart). |
Vincent Stehlé | 28c2362 | 2024-04-11 18:44:02 +0200 | [diff] [blame] | 352 | See doc/develop/trace.rst for full details. |
Simon Glass | bfce7fc | 2019-04-08 13:20:51 -0600 | [diff] [blame] | 353 | |
Simon Glass | 445078e | 2019-04-08 13:20:52 -0600 | [diff] [blame] | 354 | config TRACE_BUFFER_SIZE |
| 355 | hex "Size of trace buffer in U-Boot" |
| 356 | depends on TRACE |
| 357 | default 0x01000000 |
| 358 | help |
| 359 | Sets the size of the trace buffer in U-Boot. This is allocated from |
| 360 | memory during relocation. If this buffer is too small, the trace |
| 361 | history will be truncated, with later records omitted. |
| 362 | |
| 363 | If early trace is enabled (i.e. before relocation), this buffer must |
| 364 | be large enough to include all the data from the early trace buffer as |
| 365 | well, since this is copied over to the main buffer during relocation. |
| 366 | |
| 367 | A trace record is emitted for each function call and each record is |
| 368 | 12 bytes (see struct trace_call). A suggested minimum size is 1MB. If |
| 369 | the size is too small then 'trace stats' will show a message saying |
| 370 | how many records were dropped due to buffer overflow. |
| 371 | |
Heinrich Schuchardt | c1a7379 | 2019-06-02 13:30:09 +0200 | [diff] [blame] | 372 | config TRACE_CALL_DEPTH_LIMIT |
| 373 | int "Trace call depth limit" |
| 374 | depends on TRACE |
| 375 | default 15 |
| 376 | help |
| 377 | Sets the maximum call depth up to which function calls are recorded. |
| 378 | |
Simon Glass | 445078e | 2019-04-08 13:20:52 -0600 | [diff] [blame] | 379 | config TRACE_EARLY |
| 380 | bool "Enable tracing before relocation" |
| 381 | depends on TRACE |
| 382 | help |
| 383 | Sometimes it is helpful to trace execution of U-Boot before |
| 384 | relocation. This is possible by using a arch-specific, fixed buffer |
| 385 | position in memory. Enable this option to start tracing as early as |
| 386 | possible after U-Boot starts. |
| 387 | |
| 388 | config TRACE_EARLY_SIZE |
| 389 | hex "Size of early trace buffer in U-Boot" |
| 390 | depends on TRACE_EARLY |
| 391 | default 0x00100000 |
| 392 | help |
| 393 | Sets the size of the early trace buffer in bytes. This is used to hold |
| 394 | tracing information before relocation. |
| 395 | |
Heinrich Schuchardt | c1a7379 | 2019-06-02 13:30:09 +0200 | [diff] [blame] | 396 | config TRACE_EARLY_CALL_DEPTH_LIMIT |
| 397 | int "Early trace call depth limit" |
| 398 | depends on TRACE_EARLY |
Simon Glass | 971574d | 2023-01-15 14:15:44 -0700 | [diff] [blame] | 399 | default 15 |
Heinrich Schuchardt | c1a7379 | 2019-06-02 13:30:09 +0200 | [diff] [blame] | 400 | help |
| 401 | Sets the maximum call depth up to which function calls are recorded |
| 402 | during early tracing. |
| 403 | |
Simon Glass | 445078e | 2019-04-08 13:20:52 -0600 | [diff] [blame] | 404 | config TRACE_EARLY_ADDR |
| 405 | hex "Address of early trace buffer in U-Boot" |
| 406 | depends on TRACE_EARLY |
Sughosh Ganu | 3f76868 | 2024-08-26 17:29:32 +0530 | [diff] [blame] | 407 | default 0x00200000 |
Simon Glass | 445078e | 2019-04-08 13:20:52 -0600 | [diff] [blame] | 408 | help |
| 409 | Sets the address of the early trace buffer in U-Boot. This memory |
| 410 | must be accessible before relocation. |
| 411 | |
| 412 | A trace record is emitted for each function call and each record is |
| 413 | 12 bytes (see struct trace_call). A suggested minimum size is 1MB. If |
| 414 | the size is too small then the message which says the amount of early |
| 415 | data being coped will the the same as the |
| 416 | |
Loic Poulain | 12797e6 | 2021-11-25 18:16:14 +0100 | [diff] [blame] | 417 | config CIRCBUF |
| 418 | bool "Enable circular buffer support" |
| 419 | |
Michal Simek | dd5000ef | 2024-04-16 08:55:16 +0200 | [diff] [blame] | 420 | source "lib/dhry/Kconfig" |
Simon Glass | 99dbe4b | 2015-06-23 15:38:23 -0600 | [diff] [blame] | 421 | |
Simon Glass | 528fdd1 | 2017-04-26 22:27:49 -0600 | [diff] [blame] | 422 | menu "Security support" |
| 423 | |
| 424 | config AES |
| 425 | bool "Support the AES algorithm" |
| 426 | help |
| 427 | This provides a means to encrypt and decrypt data using the AES |
| 428 | (Advanced Encryption Standard). This algorithm uses a symetric key |
| 429 | and is widely used as a streaming cipher. Different key lengths are |
| 430 | supported by the algorithm but only a 128-bit key is supported at |
| 431 | present. |
| 432 | |
Michal Simek | dd5000ef | 2024-04-16 08:55:16 +0200 | [diff] [blame] | 433 | source "lib/ecdsa/Kconfig" |
| 434 | source "lib/rsa/Kconfig" |
| 435 | source "lib/crypto/Kconfig" |
| 436 | source "lib/crypt/Kconfig" |
Ruchika Gupta | 2c3822e | 2015-01-23 16:01:51 +0530 | [diff] [blame] | 437 | |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 438 | config TPM |
| 439 | bool "Trusted Platform Module (TPM) Support" |
Simon Glass | cf294b0 | 2015-10-03 06:39:36 -0600 | [diff] [blame] | 440 | depends on DM |
Sughosh Ganu | 9737fab | 2022-07-22 21:32:04 +0530 | [diff] [blame] | 441 | imply DM_RNG |
Eddie James | 8ed7bb3 | 2023-10-24 10:43:49 -0500 | [diff] [blame] | 442 | select SHA1 |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 443 | help |
| 444 | This enables support for TPMs which can be used to provide security |
| 445 | features for your board. The TPM can be connected via LPC or I2C |
| 446 | and a sandbox TPM is provided for testing purposes. Use the 'tpm' |
| 447 | command to interactive the TPM. Driver model support is provided |
| 448 | for the low-level TPM interface, but only one TPM is supported at |
| 449 | a time by the TPM library. |
Ilias Apalodimas | 1e665f9 | 2024-06-23 14:48:18 +0300 | [diff] [blame] | 450 | For size reasons only SHA1 is selected which is supported on TPM1.2. |
| 451 | If you want a fully functional TPM enable all hashing algorithms. |
| 452 | If you enabled measured boot all hashing algorithms are selected. |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 453 | |
Simon Glass | 93a45b1 | 2018-10-01 12:22:19 -0600 | [diff] [blame] | 454 | config SPL_TPM |
| 455 | bool "Trusted Platform Module (TPM) Support in SPL" |
| 456 | depends on SPL_DM |
Simon Glass | 2b95b49 | 2023-01-07 14:57:20 -0700 | [diff] [blame] | 457 | imply SPL_CRC8 |
Simon Glass | 93a45b1 | 2018-10-01 12:22:19 -0600 | [diff] [blame] | 458 | help |
| 459 | This enables support for TPMs which can be used to provide security |
| 460 | features for your board. The TPM can be connected via LPC or I2C |
| 461 | and a sandbox TPM is provided for testing purposes. Use the 'tpm' |
| 462 | command to interactive the TPM. Driver model support is provided |
| 463 | for the low-level TPM interface, but only one TPM is supported at |
| 464 | a time by the TPM library. |
| 465 | |
| 466 | config TPL_TPM |
| 467 | bool "Trusted Platform Module (TPM) Support in TPL" |
| 468 | depends on TPL_DM |
| 469 | help |
| 470 | This enables support for TPMs which can be used to provide security |
| 471 | features for your board. The TPM can be connected via LPC or I2C |
| 472 | and a sandbox TPM is provided for testing purposes. Use the 'tpm' |
| 473 | command to interactive the TPM. Driver model support is provided |
| 474 | for the low-level TPM interface, but only one TPM is supported at |
| 475 | a time by the TPM library. |
| 476 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 477 | config VPL_TPM |
| 478 | bool "Trusted Platform Module (TPM) Support in VPL" |
| 479 | depends on VPL_DM |
| 480 | help |
| 481 | This enables support for TPMs which can be used to provide security |
| 482 | features for your board. The TPM can be connected via LPC or I2C |
| 483 | and a sandbox TPM is provided for testing purposes. Use the 'tpm' |
| 484 | command to interactive the TPM. Driver model support is provided |
| 485 | for the low-level TPM interface, but only one TPM is supported at |
| 486 | a time by the TPM library. |
| 487 | |
Simon Glass | 528fdd1 | 2017-04-26 22:27:49 -0600 | [diff] [blame] | 488 | endmenu |
| 489 | |
Igor Opaniuk | 525d1d8 | 2018-06-03 21:56:37 +0300 | [diff] [blame] | 490 | menu "Android Verified Boot" |
| 491 | |
| 492 | config LIBAVB |
| 493 | bool "Android Verified Boot 2.0 support" |
| 494 | depends on ANDROID_BOOT_IMAGE |
Igor Opaniuk | 525d1d8 | 2018-06-03 21:56:37 +0300 | [diff] [blame] | 495 | help |
| 496 | This enables support of Android Verified Boot 2.0 which can be used |
| 497 | to assure the end user of the integrity of the software running on a |
| 498 | device. Introduces such features as boot chain of trust, rollback |
| 499 | protection etc. |
| 500 | |
| 501 | endmenu |
| 502 | |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 503 | menu "Hashing Support" |
| 504 | |
Qu Wenruo | b98e8a2 | 2021-12-27 14:12:07 +0800 | [diff] [blame] | 505 | config BLAKE2 |
| 506 | bool "Enable BLAKE2 support" |
| 507 | help |
| 508 | This option enables support of hashing using BLAKE2B algorithm. |
| 509 | The hash is calculated in software. |
| 510 | The BLAKE2 algorithm produces a hash value (digest) between 1 and |
| 511 | 64 bytes. |
| 512 | |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 513 | config SHA1 |
| 514 | bool "Enable SHA1 support" |
| 515 | help |
| 516 | This option enables support of hashing using SHA1 algorithm. |
| 517 | The hash is calculated in software. |
| 518 | The SHA1 algorithm produces a 160-bit (20-byte) hash value |
| 519 | (digest). |
| 520 | |
| 521 | config SHA256 |
| 522 | bool "Enable SHA256 support" |
| 523 | help |
| 524 | This option enables support of hashing using SHA256 algorithm. |
| 525 | The hash is calculated in software. |
| 526 | The SHA256 algorithm produces a 256-bit (32-byte) hash value |
| 527 | (digest). |
| 528 | |
Reuben Dowle | 1908fd9 | 2020-04-16 17:36:52 +1200 | [diff] [blame] | 529 | config SHA512 |
| 530 | bool "Enable SHA512 support" |
Manorit Chawdhry | a58132a | 2023-07-14 11:22:39 +0530 | [diff] [blame] | 531 | default y if TI_SECURE_DEVICE && FIT_SIGNATURE |
Reuben Dowle | 1908fd9 | 2020-04-16 17:36:52 +1200 | [diff] [blame] | 532 | help |
| 533 | This option enables support of hashing using SHA512 algorithm. |
| 534 | The hash is calculated in software. |
| 535 | The SHA512 algorithm produces a 512-bit (64-byte) hash value |
| 536 | (digest). |
| 537 | |
| 538 | config SHA384 |
| 539 | bool "Enable SHA384 support" |
Alexandru Gagniuc | 5df5d69 | 2021-09-02 19:54:18 -0500 | [diff] [blame] | 540 | select SHA512 |
Reuben Dowle | 1908fd9 | 2020-04-16 17:36:52 +1200 | [diff] [blame] | 541 | help |
| 542 | This option enables support of hashing using SHA384 algorithm. |
Alexandru Gagniuc | 5df5d69 | 2021-09-02 19:54:18 -0500 | [diff] [blame] | 543 | The hash is calculated in software. This is also selects SHA512, |
| 544 | because these implementations share the bulk of the code.. |
Reuben Dowle | 1908fd9 | 2020-04-16 17:36:52 +1200 | [diff] [blame] | 545 | The SHA384 algorithm produces a 384-bit (48-byte) hash value |
| 546 | (digest). |
| 547 | |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 548 | config SHA_HW_ACCEL |
Heinrich Schuchardt | d42f81f | 2021-05-14 07:08:27 +0200 | [diff] [blame] | 549 | bool "Enable hardware acceleration for SHA hash functions" |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 550 | help |
Heinrich Schuchardt | d42f81f | 2021-05-14 07:08:27 +0200 | [diff] [blame] | 551 | This option enables hardware acceleration for the SHA1 and SHA256 |
| 552 | hashing algorithms. This affects the 'hash' command and also the |
| 553 | hash_lookup_algo() function. |
| 554 | |
Simon Glass | f7b37c2 | 2021-09-25 19:43:17 -0600 | [diff] [blame] | 555 | if SPL |
| 556 | |
Oleksandr Suvorov | 15a23ca | 2023-08-03 19:05:40 +0300 | [diff] [blame] | 557 | config SPL_CRC32 |
| 558 | bool "Enable CRC32 support in SPL" |
| 559 | default y if SPL_LEGACY_IMAGE_SUPPORT || SPL_EFI_PARTITION |
| 560 | default y if SPL_ENV_SUPPORT || TPL_BLOBLIST |
| 561 | help |
| 562 | This option enables support of hashing using CRC32 algorithm. |
| 563 | The CRC32 algorithm produces 32-bit checksum value. For FIT |
| 564 | images, this is the least secure type of checksum, suitable for |
| 565 | detected accidental image corruption. For secure applications you |
| 566 | should consider SHA256 or SHA384. |
| 567 | |
Simon Glass | f7b37c2 | 2021-09-25 19:43:17 -0600 | [diff] [blame] | 568 | config SPL_SHA1 |
| 569 | bool "Enable SHA1 support in SPL" |
| 570 | default y if SHA1 |
| 571 | help |
| 572 | This option enables support of hashing using SHA1 algorithm. |
| 573 | The hash is calculated in software. |
| 574 | The SHA1 algorithm produces a 160-bit (20-byte) hash value |
| 575 | (digest). |
| 576 | |
| 577 | config SPL_SHA256 |
| 578 | bool "Enable SHA256 support in SPL" |
| 579 | default y if SHA256 |
| 580 | help |
| 581 | This option enables support of hashing using SHA256 algorithm. |
| 582 | The hash is calculated in software. |
| 583 | The SHA256 algorithm produces a 256-bit (32-byte) hash value |
| 584 | (digest). |
| 585 | |
| 586 | config SPL_SHA512 |
| 587 | bool "Enable SHA512 support in SPL" |
| 588 | default y if SHA512 |
| 589 | help |
| 590 | This option enables support of hashing using SHA512 algorithm. |
| 591 | The hash is calculated in software. |
| 592 | The SHA512 algorithm produces a 512-bit (64-byte) hash value |
| 593 | (digest). |
| 594 | |
| 595 | config SPL_SHA384 |
| 596 | bool "Enable SHA384 support in SPL" |
| 597 | default y if SHA384 |
| 598 | select SPL_SHA512 |
| 599 | help |
| 600 | This option enables support of hashing using SHA384 algorithm. |
| 601 | The hash is calculated in software. This is also selects SHA512, |
| 602 | because these implementations share the bulk of the code.. |
| 603 | The SHA384 algorithm produces a 384-bit (48-byte) hash value |
| 604 | (digest). |
| 605 | |
Simon Glass | 383dd57 | 2021-09-25 19:43:18 -0600 | [diff] [blame] | 606 | config SPL_SHA_HW_ACCEL |
| 607 | bool "Enable hardware acceleration for SHA hash functions" |
| 608 | default y if SHA_HW_ACCEL |
| 609 | help |
| 610 | This option enables hardware acceleration for the SHA1 and SHA256 |
| 611 | hashing algorithms. This affects the 'hash' command and also the |
| 612 | hash_lookup_algo() function. |
| 613 | |
| 614 | config SPL_SHA_PROG_HW_ACCEL |
| 615 | bool "Enable Progressive hashing support using hardware in SPL" |
| 616 | depends on SHA_PROG_HW_ACCEL |
| 617 | default y |
| 618 | help |
| 619 | This option enables hardware-acceleration for SHA progressive |
| 620 | hashing. |
| 621 | Data can be streamed in a block at a time and the hashing is |
| 622 | performed in hardware. |
| 623 | |
Simon Glass | f7b37c2 | 2021-09-25 19:43:17 -0600 | [diff] [blame] | 624 | endif |
| 625 | |
Simon Glass | 540883b | 2023-02-22 09:34:01 -0700 | [diff] [blame] | 626 | config VPL_SHA1 |
| 627 | bool "Enable SHA1 support in VPL" |
| 628 | depends on VPL |
| 629 | default y if SHA1 |
| 630 | help |
| 631 | This option enables support of hashing using SHA1 algorithm. |
| 632 | The hash is calculated in software. |
| 633 | The SHA1 algorithm produces a 160-bit (20-byte) hash value |
| 634 | (digest). |
| 635 | |
| 636 | config VPL_SHA256 |
| 637 | bool "Enable SHA256 support in VPL" |
| 638 | depends on VPL |
| 639 | default y if SHA256 |
| 640 | help |
| 641 | This option enables support of hashing using SHA256 algorithm. |
| 642 | The hash is calculated in software. |
| 643 | The SHA256 algorithm produces a 256-bit (32-byte) hash value |
| 644 | (digest). |
| 645 | |
Heinrich Schuchardt | d42f81f | 2021-05-14 07:08:27 +0200 | [diff] [blame] | 646 | if SHA_HW_ACCEL |
| 647 | |
| 648 | config SHA512_HW_ACCEL |
| 649 | bool "Enable hardware acceleration for SHA512" |
Alexandru Gagniuc | 5df5d69 | 2021-09-02 19:54:18 -0500 | [diff] [blame] | 650 | depends on SHA512 |
Heinrich Schuchardt | d42f81f | 2021-05-14 07:08:27 +0200 | [diff] [blame] | 651 | help |
| 652 | This option enables hardware acceleration for the SHA384 and SHA512 |
| 653 | hashing algorithms. This affects the 'hash' command and also the |
| 654 | hash_lookup_algo() function. |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 655 | |
| 656 | config SHA_PROG_HW_ACCEL |
| 657 | bool "Enable Progressive hashing support using hardware" |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 658 | help |
Joel Stanley | 92efc1f | 2021-02-17 13:50:42 +1030 | [diff] [blame] | 659 | This option enables hardware-acceleration for SHA progressive |
| 660 | hashing. |
| 661 | Data can be streamed in a block at a time and the hashing is |
| 662 | performed in hardware. |
Andre Przywara | f0fa113 | 2017-03-15 01:19:05 +0000 | [diff] [blame] | 663 | |
Heinrich Schuchardt | d42f81f | 2021-05-14 07:08:27 +0200 | [diff] [blame] | 664 | endif |
| 665 | |
Andre Przywara | f0fa113 | 2017-03-15 01:19:05 +0000 | [diff] [blame] | 666 | config MD5 |
Simon Glass | d33d0db | 2020-05-06 08:03:56 -0600 | [diff] [blame] | 667 | bool "Support MD5 algorithm" |
| 668 | help |
| 669 | This option enables MD5 support. MD5 is an algorithm designed |
| 670 | in 1991 that produces a 16-byte digest (or checksum) from its input |
| 671 | data. It has a number of vulnerabilities which preclude its use in |
| 672 | security applications, but it can be useful for providing a quick |
| 673 | checksum of a block of data. |
| 674 | |
| 675 | config SPL_MD5 |
| 676 | bool "Support MD5 algorithm in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 677 | depends on SPL |
Simon Glass | d33d0db | 2020-05-06 08:03:56 -0600 | [diff] [blame] | 678 | help |
| 679 | This option enables MD5 support in SPL. MD5 is an algorithm designed |
| 680 | in 1991 that produces a 16-byte digest (or checksum) from its input |
| 681 | data. It has a number of vulnerabilities which preclude its use in |
| 682 | security applications, but it can be useful for providing a quick |
| 683 | checksum of a block of data. |
Andre Przywara | f0fa113 | 2017-03-15 01:19:05 +0000 | [diff] [blame] | 684 | |
Simon Glass | 2b95b49 | 2023-01-07 14:57:20 -0700 | [diff] [blame] | 685 | config CRC8 |
| 686 | def_bool y |
| 687 | help |
| 688 | Enables CRC8 support in U-Boot. This is normally required. CRC8 is |
| 689 | a simple and fast checksumming algorithm which does a bytewise |
| 690 | checksum with feedback to produce an 8-bit result. The code is small |
| 691 | and it does not require a lookup table (unlike CRC32). |
| 692 | |
| 693 | config SPL_CRC8 |
| 694 | bool "Support CRC8 in SPL" |
| 695 | depends on SPL |
| 696 | help |
| 697 | Enables CRC8 support in SPL. This is not normally required. CRC8 is |
| 698 | a simple and fast checksumming algorithm which does a bytewise |
| 699 | checksum with feedback to produce an 8-bit result. The code is small |
| 700 | and it does not require a lookup table (unlike CRC32). |
| 701 | |
Sean Anderson | 01349c1 | 2023-10-14 16:47:49 -0400 | [diff] [blame] | 702 | config SPL_CRC16 |
| 703 | bool "Support CRC16 in SPL" |
| 704 | depends on SPL |
| 705 | help |
| 706 | Enables CRC16 support in SPL. This is not normally required. |
| 707 | |
Simon Glass | 577226c | 2021-09-25 19:43:24 -0600 | [diff] [blame] | 708 | config CRC32 |
| 709 | def_bool y |
| 710 | help |
| 711 | Enables CRC32 support in U-Boot. This is normally required. |
| 712 | |
Marek Behún | cdccc03 | 2017-09-03 17:00:23 +0200 | [diff] [blame] | 713 | config CRC32C |
| 714 | bool |
| 715 | |
Marek Behún | b139a7f | 2019-04-29 22:40:43 +0200 | [diff] [blame] | 716 | config XXHASH |
| 717 | bool |
| 718 | |
gaurav rana | ef20159 | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 719 | endmenu |
| 720 | |
Julius Werner | f41a3ca | 2015-10-06 20:03:53 -0700 | [diff] [blame] | 721 | menu "Compression Support" |
| 722 | |
| 723 | config LZ4 |
| 724 | bool "Enable LZ4 decompression support" |
| 725 | help |
| 726 | If this option is set, support for LZ4 compressed images |
| 727 | is included. The LZ4 algorithm can run in-place as long as the |
| 728 | compressed image is loaded to the end of the output buffer, and |
| 729 | trades lower compression ratios for much faster decompression. |
Patrick Delaunay | cd831af | 2021-03-10 10:16:28 +0100 | [diff] [blame] | 730 | |
Julius Werner | f41a3ca | 2015-10-06 20:03:53 -0700 | [diff] [blame] | 731 | NOTE: This implements the release version of the LZ4 frame |
| 732 | format as generated by default by the 'lz4' command line tool. |
| 733 | This is not the same as the outdated, less efficient legacy |
| 734 | frame format currently (2015) implemented in the Linux kernel |
| 735 | (generated by 'lz4 -l'). The two formats are incompatible. |
| 736 | |
Simon Glass | 264aa5f | 2017-05-17 03:25:42 -0600 | [diff] [blame] | 737 | config LZMA |
| 738 | bool "Enable LZMA decompression support" |
| 739 | help |
| 740 | This enables support for LZMA (Lempel-Ziv-Markov chain algorithm), |
| 741 | a dictionary compression algorithm that provides a high compression |
| 742 | ratio and fairly fast decompression speed. See also |
| 743 | CONFIG_CMD_LZMADEC which provides a decode command. |
| 744 | |
Boris Brezillon | aa57d0f | 2017-02-27 18:22:06 +0100 | [diff] [blame] | 745 | config LZO |
Tom Rini | c20bb73 | 2017-07-22 18:36:16 -0400 | [diff] [blame] | 746 | bool "Enable LZO decompression support" |
| 747 | help |
Oleksandr Suvorov | 30a4c31 | 2021-09-01 16:05:08 +0300 | [diff] [blame] | 748 | This enables support for the LZO compression algorithm. |
York Sun | a6945fe | 2017-08-15 11:14:43 -0700 | [diff] [blame] | 749 | |
Marek Vasut | aeaa29d | 2019-03-08 16:06:55 +0100 | [diff] [blame] | 750 | config GZIP |
Heiko Schocher | b93cc60 | 2019-04-29 08:59:38 +0200 | [diff] [blame] | 751 | bool "Enable gzip decompression support" |
Marek Vasut | aeaa29d | 2019-03-08 16:06:55 +0100 | [diff] [blame] | 752 | select ZLIB |
| 753 | default y |
| 754 | help |
| 755 | This enables support for GZIP compression algorithm. |
| 756 | |
Joao Marcos Costa | ae8abb1 | 2020-07-30 15:33:49 +0200 | [diff] [blame] | 757 | config ZLIB_UNCOMPRESS |
| 758 | bool "Enables zlib's uncompress() functionality" |
| 759 | help |
| 760 | This enables an extra zlib functionality: the uncompress() function, |
| 761 | which decompresses data from a buffer into another, knowing their |
| 762 | sizes. Unlike gunzip(), there is no header parsing. |
| 763 | |
Michael Walle | 3a6e351 | 2020-05-22 14:07:36 +0200 | [diff] [blame] | 764 | config GZIP_COMPRESSED |
| 765 | bool |
| 766 | select ZLIB |
| 767 | |
Atish Patra | 1fa7962 | 2020-03-05 16:24:21 -0800 | [diff] [blame] | 768 | config BZIP2 |
| 769 | bool "Enable bzip2 decompression support" |
| 770 | help |
| 771 | This enables support for BZIP2 compression algorithm. |
| 772 | |
Marek Vasut | aeaa29d | 2019-03-08 16:06:55 +0100 | [diff] [blame] | 773 | config ZLIB |
| 774 | bool |
| 775 | default y |
| 776 | help |
| 777 | This enables ZLIB compression lib. |
| 778 | |
Marek Behún | e87e200 | 2019-04-29 22:40:44 +0200 | [diff] [blame] | 779 | config ZSTD |
| 780 | bool "Enable Zstandard decompression support" |
| 781 | select XXHASH |
| 782 | help |
| 783 | This enables Zstandard decompression library. |
| 784 | |
Brandon Maier | dbe88da | 2023-01-12 10:27:45 -0600 | [diff] [blame] | 785 | if ZSTD |
| 786 | |
| 787 | config ZSTD_LIB_MINIFY |
| 788 | bool "Minify Zstandard code" |
| 789 | default y |
| 790 | help |
| 791 | This disables various optional components and changes the |
| 792 | compilation flags to prioritize space-saving. |
| 793 | |
| 794 | For detailed info, see zstd's lib/README.md |
| 795 | |
| 796 | https://github.com/facebook/zstd/blob/dev/lib/README.md |
| 797 | |
| 798 | endif |
| 799 | |
Simon Glass | 1af8b15 | 2023-02-22 09:33:54 -0700 | [diff] [blame] | 800 | config SPL_BZIP2 |
| 801 | bool "Enable bzip2 decompression support for SPL build" |
| 802 | depends on SPL |
| 803 | help |
| 804 | This enables support for bzip2 compression algorithm for SPL boot. |
| 805 | |
Simon Glass | e107bcd | 2018-11-06 15:21:30 -0700 | [diff] [blame] | 806 | config SPL_LZ4 |
| 807 | bool "Enable LZ4 decompression support in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 808 | depends on SPL |
Simon Glass | e107bcd | 2018-11-06 15:21:30 -0700 | [diff] [blame] | 809 | help |
Marcin Juszkiewicz | a360c2c | 2020-05-26 19:07:15 +0200 | [diff] [blame] | 810 | This enables support for the LZ4 decompression algorithm in SPL. LZ4 |
Simon Glass | e107bcd | 2018-11-06 15:21:30 -0700 | [diff] [blame] | 811 | is a lossless data compression algorithm that is focused on |
| 812 | fast compression and decompression speed. It belongs to the LZ77 |
| 813 | family of byte-oriented compression schemes. |
| 814 | |
developer | 6a4e1d3 | 2020-04-21 09:28:38 +0200 | [diff] [blame] | 815 | config SPL_LZMA |
| 816 | bool "Enable LZMA decompression support for SPL build" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 817 | depends on SPL |
developer | 6a4e1d3 | 2020-04-21 09:28:38 +0200 | [diff] [blame] | 818 | help |
Marcin Juszkiewicz | a360c2c | 2020-05-26 19:07:15 +0200 | [diff] [blame] | 819 | This enables support for LZMA compression algorithm for SPL boot. |
developer | 6a4e1d3 | 2020-04-21 09:28:38 +0200 | [diff] [blame] | 820 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 821 | config VPL_LZMA |
| 822 | bool "Enable LZMA decompression support for VPL build" |
| 823 | default y if LZMA |
| 824 | help |
| 825 | This enables support for LZMA compression algorithm for VPL boot. |
| 826 | |
Jean-Jacques Hiblot | dbde288 | 2017-09-15 12:57:30 +0200 | [diff] [blame] | 827 | config SPL_LZO |
| 828 | bool "Enable LZO decompression support in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 829 | depends on SPL |
Jean-Jacques Hiblot | dbde288 | 2017-09-15 12:57:30 +0200 | [diff] [blame] | 830 | help |
| 831 | This enables support for LZO compression algorithm in the SPL. |
| 832 | |
York Sun | a6945fe | 2017-08-15 11:14:43 -0700 | [diff] [blame] | 833 | config SPL_GZIP |
| 834 | bool "Enable gzip decompression support for SPL build" |
| 835 | select SPL_ZLIB |
| 836 | help |
Oleksandr Suvorov | 30a4c31 | 2021-09-01 16:05:08 +0300 | [diff] [blame] | 837 | This enables support for the GZIP compression algorithm for SPL boot. |
York Sun | a6945fe | 2017-08-15 11:14:43 -0700 | [diff] [blame] | 838 | |
| 839 | config SPL_ZLIB |
| 840 | bool |
| 841 | help |
| 842 | This enables compression lib for SPL boot. |
| 843 | |
Marek Behún | e87e200 | 2019-04-29 22:40:44 +0200 | [diff] [blame] | 844 | config SPL_ZSTD |
| 845 | bool "Enable Zstandard decompression support in SPL" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 846 | depends on SPL |
Marek Behún | e87e200 | 2019-04-29 22:40:44 +0200 | [diff] [blame] | 847 | select XXHASH |
| 848 | help |
| 849 | This enables Zstandard decompression library in the SPL. |
| 850 | |
Julius Werner | f41a3ca | 2015-10-06 20:03:53 -0700 | [diff] [blame] | 851 | endmenu |
| 852 | |
Przemyslaw Marczak | 3755013 | 2015-04-20 20:07:40 +0200 | [diff] [blame] | 853 | config ERRNO_STR |
| 854 | bool "Enable function for getting errno-related string message" |
| 855 | help |
| 856 | The function errno_str(int errno), returns a pointer to the errno |
| 857 | corresponding text message: |
| 858 | - if errno is null or positive number - a pointer to "Success" message |
| 859 | - if errno is negative - a pointer to errno related message |
| 860 | |
Alexey Brodkin | 2d2fa49 | 2018-06-05 17:17:57 +0300 | [diff] [blame] | 861 | config HEXDUMP |
| 862 | bool "Enable hexdump" |
| 863 | help |
| 864 | This enables functions for printing dumps of binary data. |
| 865 | |
Simon Glass | a37fd4d | 2020-09-12 11:13:35 -0600 | [diff] [blame] | 866 | config SPL_HEXDUMP |
| 867 | bool "Enable hexdump in SPL" |
Heinrich Schuchardt | 11df072 | 2021-07-24 17:35:46 +0200 | [diff] [blame] | 868 | depends on SPL && HEXDUMP |
Simon Glass | a37fd4d | 2020-09-12 11:13:35 -0600 | [diff] [blame] | 869 | help |
| 870 | This enables functions for printing dumps of binary data in |
| 871 | SPL. |
| 872 | |
Sean Anderson | 3b4a6f5 | 2020-10-27 19:55:36 -0400 | [diff] [blame] | 873 | config GETOPT |
| 874 | bool "Enable getopt" |
| 875 | help |
| 876 | This enables functions for parsing command-line options. |
| 877 | |
Simon Glass | a66c541 | 2016-02-22 22:55:42 -0700 | [diff] [blame] | 878 | config OF_LIBFDT |
| 879 | bool "Enable the FDT library" |
| 880 | default y if OF_CONTROL |
| 881 | help |
| 882 | This enables the FDT library (libfdt). It provides functions for |
| 883 | accessing binary device tree images in memory, such as adding and |
Anatolij Gustschin | da707d4 | 2017-08-18 17:58:51 +0200 | [diff] [blame] | 884 | removing nodes and properties, scanning through the tree and finding |
Simon Glass | a66c541 | 2016-02-22 22:55:42 -0700 | [diff] [blame] | 885 | particular compatible nodes. The library operates on a flattened |
| 886 | version of the device tree. |
| 887 | |
Simon Glass | c48044d | 2019-10-27 09:47:40 -0600 | [diff] [blame] | 888 | config OF_LIBFDT_ASSUME_MASK |
| 889 | hex "Mask of conditions to assume for libfdt" |
| 890 | depends on OF_LIBFDT || FIT |
Tom Rini | f18679c | 2023-08-02 11:09:43 -0400 | [diff] [blame] | 891 | default 0x0 |
Simon Glass | c48044d | 2019-10-27 09:47:40 -0600 | [diff] [blame] | 892 | help |
| 893 | Use this to change the assumptions made by libfdt about the |
| 894 | device tree it is working with. A value of 0 means that no assumptions |
| 895 | are made, and libfdt is able to deal with malicious data. A value of |
| 896 | 0xff means all assumptions are made and any invalid data may cause |
| 897 | unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h |
| 898 | |
Maxime Ripard | 9e901ce | 2016-07-05 10:26:44 +0200 | [diff] [blame] | 899 | config OF_LIBFDT_OVERLAY |
| 900 | bool "Enable the FDT library overlay support" |
Tom Rini | c1e49ba | 2018-05-08 08:52:17 -0400 | [diff] [blame] | 901 | depends on OF_LIBFDT |
Praneeth Bajjuri | 7b71a01 | 2018-04-25 16:03:23 -0500 | [diff] [blame] | 902 | default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE |
Maxime Ripard | 9e901ce | 2016-07-05 10:26:44 +0200 | [diff] [blame] | 903 | help |
| 904 | This enables the FDT library (libfdt) overlay support. |
| 905 | |
Tom Rini | d2cd431 | 2022-08-02 07:33:27 -0400 | [diff] [blame] | 906 | config SYS_FDT_PAD |
| 907 | hex "Maximum size of the FDT memory area passeed to the OS" |
| 908 | depends on OF_LIBFDT |
| 909 | default 0x13000 if FMAN_ENET || QE || U_QE |
| 910 | default 0x3000 |
| 911 | help |
| 912 | During OS boot, we allocate a region of memory within the bootmap |
| 913 | for the FDT. This is the size that we will expand the FDT that we |
| 914 | are using will be extended to be, in bytes. |
| 915 | |
Simon Glass | 8b42692 | 2016-02-22 22:55:45 -0700 | [diff] [blame] | 916 | config SPL_OF_LIBFDT |
| 917 | bool "Enable the FDT library for SPL" |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 918 | depends on SPL_LIBGENERIC_SUPPORT |
Simon Glass | 8b42692 | 2016-02-22 22:55:45 -0700 | [diff] [blame] | 919 | default y if SPL_OF_CONTROL |
| 920 | help |
| 921 | This enables the FDT library (libfdt). It provides functions for |
| 922 | accessing binary device tree images in memory, such as adding and |
Anatolij Gustschin | da707d4 | 2017-08-18 17:58:51 +0200 | [diff] [blame] | 923 | removing nodes and properties, scanning through the tree and finding |
Simon Glass | 8b42692 | 2016-02-22 22:55:45 -0700 | [diff] [blame] | 924 | particular compatible nodes. The library operates on a flattened |
| 925 | version of the device tree. |
| 926 | |
Simon Glass | c48044d | 2019-10-27 09:47:40 -0600 | [diff] [blame] | 927 | config SPL_OF_LIBFDT_ASSUME_MASK |
| 928 | hex "Mask of conditions to assume for libfdt" |
Tom Rini | 0a83cc2 | 2022-06-10 23:03:09 -0400 | [diff] [blame] | 929 | depends on SPL_OF_LIBFDT || (FIT && SPL) |
Simon Glass | c48044d | 2019-10-27 09:47:40 -0600 | [diff] [blame] | 930 | default 0xff |
| 931 | help |
| 932 | Use this to change the assumptions made by libfdt in SPL about the |
| 933 | device tree it is working with. A value of 0 means that no assumptions |
| 934 | are made, and libfdt is able to deal with malicious data. A value of |
| 935 | 0xff means all assumptions are made and any invalid data may cause |
| 936 | unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h |
| 937 | |
Simon Glass | ca8ec4b | 2018-10-01 12:22:21 -0600 | [diff] [blame] | 938 | config TPL_OF_LIBFDT |
| 939 | bool "Enable the FDT library for TPL" |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 940 | depends on TPL_LIBGENERIC_SUPPORT |
Simon Glass | ca8ec4b | 2018-10-01 12:22:21 -0600 | [diff] [blame] | 941 | default y if TPL_OF_CONTROL |
| 942 | help |
| 943 | This enables the FDT library (libfdt). It provides functions for |
| 944 | accessing binary device tree images in memory, such as adding and |
| 945 | removing nodes and properties, scanning through the tree and finding |
| 946 | particular compatible nodes. The library operates on a flattened |
| 947 | version of the device tree. |
| 948 | |
Simon Glass | c48044d | 2019-10-27 09:47:40 -0600 | [diff] [blame] | 949 | config TPL_OF_LIBFDT_ASSUME_MASK |
| 950 | hex "Mask of conditions to assume for libfdt" |
Tom Rini | 36a4ca0 | 2022-06-08 08:24:39 -0400 | [diff] [blame] | 951 | depends on TPL_OF_LIBFDT || (FIT && TPL) |
Simon Glass | c48044d | 2019-10-27 09:47:40 -0600 | [diff] [blame] | 952 | default 0xff |
| 953 | help |
| 954 | Use this to change the assumptions made by libfdt in TPL about the |
| 955 | device tree it is working with. A value of 0 means that no assumptions |
| 956 | are made, and libfdt is able to deal with malicious data. A value of |
| 957 | 0xff means all assumptions are made and any invalid data may cause |
| 958 | unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h |
| 959 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 960 | config VPL_OF_LIBFDT |
| 961 | bool "Enable the FDT library for VPL" |
Tom Rini | 7fb323b | 2022-06-08 08:24:40 -0400 | [diff] [blame] | 962 | depends on VPL |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 963 | default y if VPL_OF_CONTROL && !VPL_OF_PLATDATA |
| 964 | help |
| 965 | This enables the FDT library (libfdt). It provides functions for |
| 966 | accessing binary device tree images in memory, such as adding and |
| 967 | removing nodes and properties, scanning through the tree and finding |
| 968 | particular compatible nodes. The library operates on a flattened |
| 969 | version of the device tree. |
| 970 | |
| 971 | config VPL_OF_LIBFDT_ASSUME_MASK |
| 972 | hex "Mask of conditions to assume for libfdt" |
Tom Rini | 7fb323b | 2022-06-08 08:24:40 -0400 | [diff] [blame] | 973 | depends on VPL_OF_LIBFDT || (FIT && VPL) |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 974 | default 0xff |
| 975 | help |
| 976 | Use this to change the assumptions made by libfdt in SPL about the |
| 977 | device tree it is working with. A value of 0 means that no assumptions |
| 978 | are made, and libfdt is able to deal with malicious data. A value of |
| 979 | 0xff means all assumptions are made and any invalid data may cause |
| 980 | unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h |
| 981 | |
Alexander Graf | fb22808 | 2016-08-19 01:23:23 +0200 | [diff] [blame] | 982 | menu "System tables" |
Alexander Graf | 66f96e1 | 2016-08-19 01:23:29 +0200 | [diff] [blame] | 983 | depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER) |
Alexander Graf | fb22808 | 2016-08-19 01:23:23 +0200 | [diff] [blame] | 984 | |
Simon Glass | 5d093f3 | 2020-11-04 09:57:25 -0700 | [diff] [blame] | 985 | config BLOBLIST_TABLES |
| 986 | bool "Put tables in a bloblist" |
Simon Glass | 171c646 | 2021-03-15 18:11:22 +1300 | [diff] [blame] | 987 | depends on X86 && BLOBLIST |
Simon Glass | 5d093f3 | 2020-11-04 09:57:25 -0700 | [diff] [blame] | 988 | help |
| 989 | Normally tables are placed at address 0xf0000 and can be up to 64KB |
| 990 | long. With this option, tables are instead placed in the bloblist |
| 991 | with a pointer from 0xf0000. The size can then be larger and the |
| 992 | tables can be placed high in memory. |
| 993 | |
Alexander Graf | fb22808 | 2016-08-19 01:23:23 +0200 | [diff] [blame] | 994 | config GENERATE_SMBIOS_TABLE |
| 995 | bool "Generate an SMBIOS (System Management BIOS) table" |
Simon Glass | 5059dbe | 2023-09-19 21:00:13 -0600 | [diff] [blame] | 996 | depends on SMBIOS |
Alexander Graf | fb22808 | 2016-08-19 01:23:23 +0200 | [diff] [blame] | 997 | default y |
Alexander Graf | fb22808 | 2016-08-19 01:23:23 +0200 | [diff] [blame] | 998 | help |
| 999 | The System Management BIOS (SMBIOS) specification addresses how |
| 1000 | motherboard and system vendors present management information about |
| 1001 | their products in a standard format by extending the BIOS interface |
| 1002 | on Intel architecture systems. |
| 1003 | |
| 1004 | Check http://www.dmtf.org/standards/smbios for details. |
| 1005 | |
Tom Rini | d0dca22 | 2023-11-20 15:17:23 -0500 | [diff] [blame] | 1006 | See also SYSINFO_SMBIOS which allows SMBIOS values to be provided in |
Simon Glass | 052a03e | 2020-11-05 06:32:11 -0700 | [diff] [blame] | 1007 | the devicetree. |
| 1008 | |
Simon Glass | e70648e | 2023-09-14 10:55:39 -0600 | [diff] [blame] | 1009 | endmenu |
| 1010 | |
Tero Kristo | cfbe15c | 2021-06-11 11:45:02 +0300 | [diff] [blame] | 1011 | config LIB_RATIONAL |
| 1012 | bool "enable continued fraction calculation routines" |
| 1013 | |
| 1014 | config SPL_LIB_RATIONAL |
| 1015 | bool "enable continued fraction calculation routines for SPL" |
| 1016 | depends on SPL |
| 1017 | |
AKASHI Takahiro | f702526 | 2019-11-13 09:44:53 +0900 | [diff] [blame] | 1018 | config ASN1_COMPILER |
| 1019 | bool |
Philippe Reynes | 2aba944 | 2022-03-28 22:56:54 +0200 | [diff] [blame] | 1020 | help |
| 1021 | ASN.1 (Abstract Syntax Notation One) is a standard interface |
| 1022 | description language for defining data structures that can be |
| 1023 | serialized and deserialized in a cross-platform way. It is |
| 1024 | broadly used in telecommunications and computer networking, |
| 1025 | and especially in cryptography (https://en.wikipedia.org/wiki/ASN.1). |
| 1026 | This option enables the support of the asn1 compiler. |
AKASHI Takahiro | f702526 | 2019-11-13 09:44:53 +0900 | [diff] [blame] | 1027 | |
AKASHI Takahiro | 3a88871 | 2019-11-13 09:44:55 +0900 | [diff] [blame] | 1028 | config ASN1_DECODER |
| 1029 | bool |
| 1030 | help |
Philippe Reynes | 2aba944 | 2022-03-28 22:56:54 +0200 | [diff] [blame] | 1031 | ASN.1 (Abstract Syntax Notation One) is a standard interface |
| 1032 | description language for defining data structures that can be |
| 1033 | serialized and deserialized in a cross-platform way. It is |
| 1034 | broadly used in telecommunications and computer networking, |
| 1035 | and especially in cryptography (https://en.wikipedia.org/wiki/ASN.1). |
| 1036 | This option enables the support of the asn1 decoder. |
AKASHI Takahiro | 3a88871 | 2019-11-13 09:44:55 +0900 | [diff] [blame] | 1037 | |
Philippe Reynes | cf538b5 | 2022-03-28 22:56:56 +0200 | [diff] [blame] | 1038 | config SPL_ASN1_DECODER |
| 1039 | bool |
| 1040 | help |
| 1041 | ASN.1 (Abstract Syntax Notation One) is a standard interface |
| 1042 | description language for defining data structures that can be |
| 1043 | serialized and deserialized in a cross-platform way. It is |
| 1044 | broadly used in telecommunications and computer networking, |
| 1045 | and especially in cryptography (https://en.wikipedia.org/wiki/ASN.1). |
| 1046 | This option enables the support of the asn1 decoder in the SPL. |
| 1047 | |
AKASHI Takahiro | 5492364 | 2019-11-13 09:44:57 +0900 | [diff] [blame] | 1048 | config OID_REGISTRY |
| 1049 | bool |
| 1050 | help |
Philippe Reynes | e35c3a2 | 2022-03-28 22:56:55 +0200 | [diff] [blame] | 1051 | In computing, object identifiers or OIDs are an identifier mechanism |
| 1052 | standardized by the International Telecommunication Union (ITU) and |
| 1053 | ISO/IEC for naming any object, concept, or "thing" with a globally |
| 1054 | unambiguous persistent name (https://en.wikipedia.org/wiki/Object_identifier). |
AKASHI Takahiro | 5492364 | 2019-11-13 09:44:57 +0900 | [diff] [blame] | 1055 | Enable fast lookup object identifier registry. |
| 1056 | |
Philippe Reynes | cf538b5 | 2022-03-28 22:56:56 +0200 | [diff] [blame] | 1057 | config SPL_OID_REGISTRY |
| 1058 | bool |
| 1059 | help |
| 1060 | In computing, object identifiers or OIDs are an identifier mechanism |
| 1061 | standardized by the International Telecommunication Union (ITU) and |
| 1062 | ISO/IEC for naming any object, concept, or "thing" with a globally |
| 1063 | unambiguous persistent name (https://en.wikipedia.org/wiki/Object_identifier). |
| 1064 | Enable fast lookup object identifier registry in the SPL. |
| 1065 | |
Simon Glass | 5059dbe | 2023-09-19 21:00:13 -0600 | [diff] [blame] | 1066 | config SMBIOS |
| 1067 | bool "SMBIOS support" |
| 1068 | depends on X86 || EFI_LOADER |
| 1069 | default y |
Simon Glass | aadec12 | 2023-09-20 07:29:51 -0600 | [diff] [blame] | 1070 | select LAST_STAGE_INIT |
Simon Glass | 5059dbe | 2023-09-19 21:00:13 -0600 | [diff] [blame] | 1071 | help |
| 1072 | Indicates that this platform can support System Management BIOS |
| 1073 | (SMBIOS) tables. These provide various pieces of information about |
| 1074 | the board, such as the manufacturer and the model name. |
| 1075 | |
| 1076 | See GENERATE_SMBIOS_TABLE which controls whether U-Boot actually |
| 1077 | creates these tables, rather than them coming from a previous firmware |
| 1078 | stage. |
| 1079 | |
Christian Gmeiner | 1985998 | 2020-11-03 15:34:51 +0100 | [diff] [blame] | 1080 | config SMBIOS_PARSER |
| 1081 | bool "SMBIOS parser" |
| 1082 | help |
| 1083 | A simple parser for SMBIOS data. |
| 1084 | |
Michal Simek | dd5000ef | 2024-04-16 08:55:16 +0200 | [diff] [blame] | 1085 | source "lib/optee/Kconfig" |
Simon Glass | 9539e69 | 2015-07-31 09:31:36 -0600 | [diff] [blame] | 1086 | |
Thierry Reding | 52c7f1f3 | 2019-03-21 19:10:04 +0100 | [diff] [blame] | 1087 | config TEST_FDTDEC |
| 1088 | bool "enable fdtdec test" |
| 1089 | depends on OF_LIBFDT |
| 1090 | |
AKASHI Takahiro | 51ba522 | 2019-11-13 09:44:49 +0900 | [diff] [blame] | 1091 | config LIB_DATE |
| 1092 | bool |
| 1093 | |
Keerthy | 76f361a | 2020-02-12 13:55:03 +0530 | [diff] [blame] | 1094 | config LIB_ELF |
| 1095 | bool |
| 1096 | help |
Patrick Delaunay | fb67df8 | 2021-01-04 15:33:28 +0100 | [diff] [blame] | 1097 | Support basic elf loading/validating functions. |
| 1098 | This supports for 32 bit and 64 bit versions. |
Keerthy | 76f361a | 2020-02-12 13:55:03 +0530 | [diff] [blame] | 1099 | |
Patrick Delaunay | d62063d | 2021-03-10 10:16:25 +0100 | [diff] [blame] | 1100 | config LMB |
| 1101 | bool "Enable the logical memory blocks library (lmb)" |
Tom Rini | 5332012 | 2022-04-06 09:21:25 -0400 | [diff] [blame] | 1102 | default y if ARC || ARM || M68K || MICROBLAZE || MIPS || \ |
Patrick Delaunay | d62063d | 2021-03-10 10:16:25 +0100 | [diff] [blame] | 1103 | NIOS2 || PPC || RISCV || SANDBOX || SH || X86 || XTENSA |
Sughosh Ganu | ad3b6e9 | 2024-08-26 17:29:29 +0530 | [diff] [blame] | 1104 | select ARCH_MISC_INIT if PPC |
Patrick Delaunay | d62063d | 2021-03-10 10:16:25 +0100 | [diff] [blame] | 1105 | help |
Sughosh Ganu | 69db78f | 2024-08-26 17:29:21 +0530 | [diff] [blame] | 1106 | Support the library logical memory blocks. This will require |
| 1107 | a malloc() implementation for defining the data structures |
| 1108 | needed for maintaining the LMB memory map. |
| 1109 | |
| 1110 | config SPL_LMB |
| 1111 | bool "Enable LMB module for SPL" |
| 1112 | depends on SPL && SPL_FRAMEWORK && SPL_SYS_MALLOC |
| 1113 | help |
| 1114 | Enable support for Logical Memory Block library routines in |
| 1115 | SPL. This will require a malloc() implementation for defining |
| 1116 | the data structures needed for maintaining the LMB memory map. |
Patrick Delaunay | d62063d | 2021-03-10 10:16:25 +0100 | [diff] [blame] | 1117 | |
Simon Glass | 42d97e5 | 2022-12-21 16:08:28 -0700 | [diff] [blame] | 1118 | config PHANDLE_CHECK_SEQ |
| 1119 | bool "Enable phandle check while getting sequence number" |
| 1120 | help |
| 1121 | When there are multiple device tree nodes with same name, |
Anand Moon | 6c368f4 | 2024-06-23 23:10:21 +0530 | [diff] [blame] | 1122 | enable this config option to distinguish them using |
Simon Glass | 42d97e5 | 2022-12-21 16:08:28 -0700 | [diff] [blame] | 1123 | phandles in fdtdec_get_alias_seq() function. |
| 1124 | |
Eugen Hristev | db6bbcb | 2022-01-04 18:20:19 +0200 | [diff] [blame] | 1125 | endmenu |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 1126 | |
Michal Simek | dd5000ef | 2024-04-16 08:55:16 +0200 | [diff] [blame] | 1127 | source "lib/fwu_updates/Kconfig" |