1menu "Library routines" 2 3config BCH 4 bool "Enable Software based BCH ECC" 5 help 6 Enables software based BCH ECC algorithm present in lib/bch.c 7 This is used by SoC platforms which do not have built-in ELM 8 hardware engine required for BCH ECC correction. 9 10config CC_OPTIMIZE_LIBS_FOR_SPEED 11 bool "Optimize libraries for speed" 12 help 13 Enabling this option will pass "-O2" to gcc when compiling 14 under "lib" directory. 15 16 If unsure, say N. 17 18config HAVE_PRIVATE_LIBGCC 19 bool 20 21config USE_PRIVATE_LIBGCC 22 bool "Use private libgcc" 23 depends on HAVE_PRIVATE_LIBGCC 24 default y if HAVE_PRIVATE_LIBGCC && ((ARM && !ARM64) || MIPS) 25 help 26 This option allows you to use the built-in libgcc implementation 27 of U-Boot instead of the one provided by the compiler. 28 If unsure, say N. 29 30config SYS_HZ 31 int 32 default 1000 33 help 34 The frequency of the timer returned by get_timer(). 35 get_timer() must operate in milliseconds and this option must be 36 set to 1000. 37 38config SYS_STACK_SIZE 39 hex 40 default 0x200000 41 help 42 The system stack size. 43 44config USE_TINY_PRINTF 45 bool "Enable tiny printf() version" 46 help 47 This option enables a tiny, stripped down printf version. 48 This should only be used in space limited environments, 49 like SPL versions with hard memory limits. This version 50 reduces the code size by about 2.5KiB on armv7. 51 52 The supported format specifiers are %c, %s, %u/%d and %x. 53 54config PANIC_HANG 55 bool "Do not reset the system on fatal error" 56 help 57 Define this option to stop the system in case of a fatal error, 58 so that you have to reset it manually. This is probably NOT a good 59 idea for an embedded system where you want the system to reboot 60 automatically as fast as possible, but it may be useful during 61 development since you can try to debug the conditions that lead to 62 the situation. 63 64config REGEX 65 bool "Enable regular expression support" 66 default y if NET 67 help 68 If this variable is defined, U-Boot is linked against the 69 SLRE (Super Light Regular Expression) library, which adds 70 regex support to some commands, for example "env grep" and 71 "setexpr". 72 73config LIB_RAND 74 bool "Pseudo-random library support " 75 help 76 This library provides pseudo-random number generator functions. 77 78config SPL_TINY_MEMSET 79 bool "Use a very small memset() in SPL" 80 depends on SPL 81 help 82 The faster memset() is the arch-specific one (if available) enabled 83 by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get 84 better performance by writing a word at a time. But in very 85 size-constrained envrionments even this may be too big. Enable this 86 option to reduce code size slightly at the cost of some speed. 87 88config TPL_TINY_MEMSET 89 bool "Use a very small memset() in TPL" 90 help 91 The faster memset() is the arch-specific one (if available) enabled 92 by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get 93 better performance by writing a word at a time. But in very 94 size-constrained envrionments even this may be too big. Enable this 95 option to reduce code size slightly at the cost of some speed. 96 97config RBTREE 98 bool 99 100config BITREVERSE 101 bool 102 103config SYSMEM 104 bool "System memory management" 105 default y 106 help 107 This enables support for system permanent memory management. 108 109config BIDRAM 110 bool "GD board bi_dram[] memory management" 111 default y 112 help 113 This enables support for GD board bi_dram[] memory management. 114 115source lib/dhry/Kconfig 116 117menu "Security support" 118 119config AES 120 bool "Support the AES algorithm" 121 help 122 This provides a means to encrypt and decrypt data using the AES 123 (Advanced Encryption Standard). This algorithm uses a symetric key 124 and is widely used as a streaming cipher. Different key lengths are 125 supported by the algorithm but only a 128-bit key is supported at 126 present. 127 128source lib/rsa/Kconfig 129 130config TPM 131 bool "Trusted Platform Module (TPM) Support" 132 depends on DM 133 help 134 This enables support for TPMs which can be used to provide security 135 features for your board. The TPM can be connected via LPC or I2C 136 and a sandbox TPM is provided for testing purposes. Use the 'tpm' 137 command to interactive the TPM. Driver model support is provided 138 for the low-level TPM interface, but only one TPM is supported at 139 a time by the TPM library. 140 141endmenu 142 143menu "Boot Configuration" 144 145config XBC 146 bool "Boot Configuration support" 147 depends on ANDROID_BOOT_IMAGE 148 default n 149 help 150 This enables support of Boot Configuration which can be used 151 to pass boot configuration parameters to user space. These 152 parameters will show up in /proc/bootconfig similar to the kernel 153 parameters that show up in /proc/cmdline 154 155endmenu 156 157menu "Hashing Support" 158 159config SHA1 160 bool "Enable SHA1 support" 161 help 162 This option enables support of hashing using SHA1 algorithm. 163 The hash is calculated in software. 164 The SHA1 algorithm produces a 160-bit (20-byte) hash value 165 (digest). 166 167config SHA256 168 bool "Enable SHA256 support" 169 help 170 This option enables support of hashing using SHA256 algorithm. 171 The hash is calculated in software. 172 The SHA256 algorithm produces a 256-bit (32-byte) hash value 173 (digest). 174 175config SHA512 176 bool "Enable SHA512 support" 177 help 178 This option enables support of hashing using SHA512 algorithm. 179 The hash is calculated in software. 180 The SHA512 algorithm produces a 512-bit (64-byte) hash value 181 (digest). 182 183config SHA_HW_ACCEL 184 bool "Enable hashing using hardware" 185 help 186 This option enables hardware acceleration 187 for SHA1/SHA256 hashing. 188 This affects the 'hash' command and also the 189 hash_lookup_algo() function. 190 191config SHA_PROG_HW_ACCEL 192 bool "Enable Progressive hashing support using hardware" 193 depends on SHA_HW_ACCEL 194 help 195 This option enables hardware-acceleration for 196 SHA1/SHA256 progressive hashing. 197 Data can be streamed in a block at a time and the hashing 198 is performed in hardware. 199 200config MD5 201 bool 202 203config CRC32C 204 bool 205 206endmenu 207 208menu "Compression Support" 209 210config LZ4 211 bool "Enable LZ4 decompression support" 212 help 213 If this option is set, support for LZ4 compressed images 214 is included. The LZ4 algorithm can run in-place as long as the 215 compressed image is loaded to the end of the output buffer, and 216 trades lower compression ratios for much faster decompression. 217 218 NOTE: This implements the release version of the LZ4 frame 219 format as generated by default by the 'lz4' command line tool. 220 This is not the same as the outdated, less efficient legacy 221 frame format currently (2015) implemented in the Linux kernel 222 (generated by 'lz4 -l'). The two formats are incompatible. 223 224config LZMA 225 bool "Enable LZMA decompression support" 226 help 227 This enables support for LZMA (Lempel-Ziv-Markov chain algorithm), 228 a dictionary compression algorithm that provides a high compression 229 ratio and fairly fast decompression speed. See also 230 CONFIG_CMD_LZMADEC which provides a decode command. 231 232config LZO 233 bool "Enable LZO decompression support" 234 help 235 This enables support for LZO compression algorithm.r 236 237config SPL_LZO 238 bool "Enable LZO decompression support in SPL" 239 help 240 This enables support for LZO compression algorithm in the SPL. 241 242config SPL_GZIP 243 bool "Enable gzip decompression support for SPL build" 244 select SPL_ZLIB 245 help 246 This enables support for GZIP compression altorithm for SPL boot. 247 248config SPL_ZLIB 249 bool 250 help 251 This enables compression lib for SPL boot. 252 253endmenu 254 255config ERRNO_STR 256 bool "Enable function for getting errno-related string message" 257 help 258 The function errno_str(int errno), returns a pointer to the errno 259 corresponding text message: 260 - if errno is null or positive number - a pointer to "Success" message 261 - if errno is negative - a pointer to errno related message 262 263config HEXDUMP 264 bool "Enable hexdump" 265 help 266 This enables functions for printing dumps of binary data. 267 268config OF_LIBFDT 269 bool "Enable the FDT library" 270 default y if OF_CONTROL 271 help 272 This enables the FDT library (libfdt). It provides functions for 273 accessing binary device tree images in memory, such as adding and 274 removing nodes and properties, scanning through the tree and finding 275 particular compatible nodes. The library operates on a flattened 276 version of the device tree. 277 278config OF_LIBFDT_OVERLAY 279 bool "Enable the FDT library overlay support" 280 help 281 This enables the FDT library (libfdt) overlay support. 282 283config SPL_OF_LIBFDT 284 bool "Enable the FDT library for SPL" 285 default y if SPL_OF_CONTROL 286 help 287 This enables the FDT library (libfdt). It provides functions for 288 accessing binary device tree images in memory, such as adding and 289 removing nodes and properties, scanning through the tree and finding 290 particular compatible nodes. The library operates on a flattened 291 version of the device tree. 292 293config TPL_OF_LIBFDT 294 bool "Enable the FDT library for TPL" 295 default y if TPL_OF_CONTROL 296 help 297 This enables the FDT library (libfdt). It provides functions for 298 accessing binary device tree images in memory, such as adding and 299 removing nodes and properties, scanning through the tree and finding 300 particular compatible nodes. The library operates on a flattened 301 version of the device tree. 302 303config FDT_FIXUP_PARTITIONS 304 bool "overwrite MTD partitions in DTS through defined in 'mtdparts'" 305 depends on OF_LIBFDT 306 default n 307 help 308 Allow overwriting defined partitions in the device tree blob 309 using partition info defined in the 'mtdparts' environment 310 variable. 311 312menu "System tables" 313 depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER) 314 315config GENERATE_SMBIOS_TABLE 316 bool "Generate an SMBIOS (System Management BIOS) table" 317 default y 318 depends on X86 || EFI_LOADER 319 help 320 The System Management BIOS (SMBIOS) specification addresses how 321 motherboard and system vendors present management information about 322 their products in a standard format by extending the BIOS interface 323 on Intel architecture systems. 324 325 Check http://www.dmtf.org/standards/smbios for details. 326 327config SMBIOS_MANUFACTURER 328 string "SMBIOS Manufacturer" 329 depends on GENERATE_SMBIOS_TABLE 330 default SYS_VENDOR 331 help 332 The board manufacturer to store in SMBIOS structures. 333 Change this to override the default one (CONFIG_SYS_VENDOR). 334 335config SMBIOS_PRODUCT_NAME 336 string "SMBIOS Product Name" 337 depends on GENERATE_SMBIOS_TABLE 338 default SYS_BOARD 339 help 340 The product name to store in SMBIOS structures. 341 Change this to override the default one (CONFIG_SYS_BOARD). 342 343endmenu 344 345source lib/efi/Kconfig 346source lib/efi_loader/Kconfig 347source lib/avb/libavb/Kconfig 348source lib/avb/libavb_ab/Kconfig 349source lib/avb/libavb_atx/Kconfig 350source lib/avb/libavb_user/Kconfig 351source lib/avb/rk_avb_user/Kconfig 352source lib/optee_clientApi/Kconfig 353endmenu 354