Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | menu "Library routines" |
| 2 | |
Masahiro Yamada | b0928da | 2014-09-16 16:32:59 +0900 | [diff] [blame] | 3 | config CC_OPTIMIZE_LIBS_FOR_SPEED |
| 4 | bool "Optimize libraries for speed" |
| 5 | help |
| 6 | Enabling this option will pass "-O2" to gcc when compiling |
| 7 | under "lib" directory. |
| 8 | |
| 9 | If unsure, say N. |
| 10 | |
Masahiro Yamada | 45ccec8 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 11 | config HAVE_PRIVATE_LIBGCC |
| 12 | bool |
| 13 | |
| 14 | config USE_PRIVATE_LIBGCC |
| 15 | bool "Use private libgcc" |
| 16 | depends on HAVE_PRIVATE_LIBGCC |
| 17 | help |
| 18 | This option allows you to use the built-in libgcc implementation |
| 19 | of U-boot instead of the one privided by the compiler. |
| 20 | If unsure, say N. |
| 21 | |
Masahiro Yamada | 8c688bc | 2014-10-24 01:30:40 +0900 | [diff] [blame] | 22 | config SYS_HZ |
| 23 | int |
| 24 | default 1000 |
| 25 | help |
| 26 | The frequency of the timer returned by get_timer(). |
| 27 | get_timer() must operate in milliseconds and this option must be |
| 28 | set to 1000. |
| 29 | |
Simon Glass | 8156345 | 2015-03-06 13:19:02 -0700 | [diff] [blame] | 30 | config SYS_VSNPRINTF |
| 31 | bool "Enable safe version of sprintf()" |
| 32 | help |
| 33 | Since sprintf() can overflow its buffer, it is common to use |
| 34 | snprintf() instead, which knows the buffer size and can avoid |
| 35 | overflow. However, this does increase code size slightly (for |
| 36 | Thumb-2, about 420 bytes). Enable this option for safety when |
| 37 | using sprintf() with data you do not control. |
| 38 | |
Joe Hershberger | 1a60650 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 39 | config REGEX |
| 40 | bool "Enable regular expression support" |
Joe Hershberger | f7848d9 | 2015-06-22 17:57:36 -0500 | [diff] [blame] | 41 | default y if NET |
Joe Hershberger | 1a60650 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 42 | help |
| 43 | If this variable is defined, U-Boot is linked against the |
| 44 | SLRE (Super Light Regular Expression) library, which adds |
| 45 | regex support to some commands, for example "env grep" and |
| 46 | "setexpr". |
| 47 | |
Michal Simek | 9ba9e85 | 2015-05-25 11:37:22 +0200 | [diff] [blame] | 48 | config LIB_RAND |
Masahiro Yamada | 3850dbe | 2015-06-11 19:16:43 +0900 | [diff] [blame] | 49 | bool "Pseudo-random library support " |
| 50 | help |
| 51 | This library provides pseudo-random number generator functions. |
Michal Simek | 9ba9e85 | 2015-05-25 11:37:22 +0200 | [diff] [blame] | 52 | |
Simon Glass | d138940 | 2015-06-23 15:38:23 -0600 | [diff] [blame] | 53 | source lib/dhry/Kconfig |
| 54 | |
Ruchika Gupta | d9f23c7 | 2015-01-23 16:01:56 +0530 | [diff] [blame] | 55 | source lib/rsa/Kconfig |
Ruchika Gupta | c4beb22 | 2015-01-23 16:01:51 +0530 | [diff] [blame] | 56 | |
Simon Glass | a7d660b | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 57 | config TPM |
| 58 | bool "Trusted Platform Module (TPM) Support" |
Simon Glass | 2419cd1 | 2015-10-03 06:39:36 -0600 | [diff] [blame^] | 59 | depends on DM |
Simon Glass | a7d660b | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 60 | help |
| 61 | This enables support for TPMs which can be used to provide security |
| 62 | features for your board. The TPM can be connected via LPC or I2C |
| 63 | and a sandbox TPM is provided for testing purposes. Use the 'tpm' |
| 64 | command to interactive the TPM. Driver model support is provided |
| 65 | for the low-level TPM interface, but only one TPM is supported at |
| 66 | a time by the TPM library. |
| 67 | |
gaurav rana | 94e3c8c | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 68 | menu "Hashing Support" |
| 69 | |
| 70 | config SHA1 |
| 71 | bool "Enable SHA1 support" |
| 72 | help |
| 73 | This option enables support of hashing using SHA1 algorithm. |
| 74 | The hash is calculated in software. |
| 75 | The SHA1 algorithm produces a 160-bit (20-byte) hash value |
| 76 | (digest). |
| 77 | |
| 78 | config SHA256 |
| 79 | bool "Enable SHA256 support" |
| 80 | help |
| 81 | This option enables support of hashing using SHA256 algorithm. |
| 82 | The hash is calculated in software. |
| 83 | The SHA256 algorithm produces a 256-bit (32-byte) hash value |
| 84 | (digest). |
| 85 | |
| 86 | config SHA_HW_ACCEL |
| 87 | bool "Enable hashing using hardware" |
| 88 | help |
| 89 | This option enables hardware acceleration |
| 90 | for SHA1/SHA256 hashing. |
| 91 | This affects the 'hash' command and also the |
| 92 | hash_lookup_algo() function. |
| 93 | |
| 94 | config SHA_PROG_HW_ACCEL |
| 95 | bool "Enable Progressive hashing support using hardware" |
| 96 | depends on SHA_HW_ACCEL |
| 97 | help |
| 98 | This option enables hardware-acceleration for |
| 99 | SHA1/SHA256 progressive hashing. |
| 100 | Data can be streamed in a block at a time and the hashing |
| 101 | is performed in hardware. |
| 102 | endmenu |
| 103 | |
Julius Werner | 027b728 | 2015-10-06 20:03:53 -0700 | [diff] [blame] | 104 | menu "Compression Support" |
| 105 | |
| 106 | config LZ4 |
| 107 | bool "Enable LZ4 decompression support" |
| 108 | help |
| 109 | If this option is set, support for LZ4 compressed images |
| 110 | is included. The LZ4 algorithm can run in-place as long as the |
| 111 | compressed image is loaded to the end of the output buffer, and |
| 112 | trades lower compression ratios for much faster decompression. |
| 113 | |
| 114 | NOTE: This implements the release version of the LZ4 frame |
| 115 | format as generated by default by the 'lz4' command line tool. |
| 116 | This is not the same as the outdated, less efficient legacy |
| 117 | frame format currently (2015) implemented in the Linux kernel |
| 118 | (generated by 'lz4 -l'). The two formats are incompatible. |
| 119 | |
| 120 | endmenu |
| 121 | |
Przemyslaw Marczak | 6501ff6 | 2015-04-20 20:07:40 +0200 | [diff] [blame] | 122 | config ERRNO_STR |
| 123 | bool "Enable function for getting errno-related string message" |
| 124 | help |
| 125 | The function errno_str(int errno), returns a pointer to the errno |
| 126 | corresponding text message: |
| 127 | - if errno is null or positive number - a pointer to "Success" message |
| 128 | - if errno is negative - a pointer to errno related message |
| 129 | |
Simon Glass | 867a6ac | 2015-07-31 09:31:36 -0600 | [diff] [blame] | 130 | source lib/efi/Kconfig |
| 131 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 132 | endmenu |