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 |
Masahiro Yamada | 6797630 | 2016-03-30 20:17:42 +0900 | [diff] [blame] | 19 | of U-Boot instead of the one provided by the compiler. |
Masahiro Yamada | 45ccec8 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 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 | |
Stefan Roese | 7d9cde1 | 2015-11-23 07:00:22 +0100 | [diff] [blame] | 30 | config USE_TINY_PRINTF |
| 31 | bool "Enable tiny printf() version" |
| 32 | help |
| 33 | This option enables a tiny, stripped down printf version. |
| 34 | This should only be used in space limited environments, |
| 35 | like SPL versions with hard memory limits. This version |
| 36 | reduces the code size by about 2.5KiB on armv7. |
| 37 | |
| 38 | The supported format specifiers are %c, %s, %u/%d and %x. |
| 39 | |
Joe Hershberger | 1a60650 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 40 | config REGEX |
| 41 | bool "Enable regular expression support" |
Joe Hershberger | f7848d9 | 2015-06-22 17:57:36 -0500 | [diff] [blame] | 42 | default y if NET |
Joe Hershberger | 1a60650 | 2015-04-21 17:02:42 -0500 | [diff] [blame] | 43 | help |
| 44 | If this variable is defined, U-Boot is linked against the |
| 45 | SLRE (Super Light Regular Expression) library, which adds |
| 46 | regex support to some commands, for example "env grep" and |
| 47 | "setexpr". |
| 48 | |
Michal Simek | 9ba9e85 | 2015-05-25 11:37:22 +0200 | [diff] [blame] | 49 | config LIB_RAND |
Masahiro Yamada | 3850dbe | 2015-06-11 19:16:43 +0900 | [diff] [blame] | 50 | bool "Pseudo-random library support " |
| 51 | help |
| 52 | This library provides pseudo-random number generator functions. |
Michal Simek | 9ba9e85 | 2015-05-25 11:37:22 +0200 | [diff] [blame] | 53 | |
Simon Glass | d138940 | 2015-06-23 15:38:23 -0600 | [diff] [blame] | 54 | source lib/dhry/Kconfig |
| 55 | |
Ruchika Gupta | d9f23c7 | 2015-01-23 16:01:56 +0530 | [diff] [blame] | 56 | source lib/rsa/Kconfig |
Ruchika Gupta | c4beb22 | 2015-01-23 16:01:51 +0530 | [diff] [blame] | 57 | |
Simon Glass | a7d660b | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 58 | config TPM |
| 59 | bool "Trusted Platform Module (TPM) Support" |
Simon Glass | 2419cd1 | 2015-10-03 06:39:36 -0600 | [diff] [blame] | 60 | depends on DM |
Simon Glass | a7d660b | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 61 | help |
| 62 | This enables support for TPMs which can be used to provide security |
| 63 | features for your board. The TPM can be connected via LPC or I2C |
| 64 | and a sandbox TPM is provided for testing purposes. Use the 'tpm' |
| 65 | command to interactive the TPM. Driver model support is provided |
| 66 | for the low-level TPM interface, but only one TPM is supported at |
| 67 | a time by the TPM library. |
| 68 | |
gaurav rana | 94e3c8c | 2015-02-20 12:51:46 +0530 | [diff] [blame] | 69 | menu "Hashing Support" |
| 70 | |
| 71 | config SHA1 |
| 72 | bool "Enable SHA1 support" |
| 73 | help |
| 74 | This option enables support of hashing using SHA1 algorithm. |
| 75 | The hash is calculated in software. |
| 76 | The SHA1 algorithm produces a 160-bit (20-byte) hash value |
| 77 | (digest). |
| 78 | |
| 79 | config SHA256 |
| 80 | bool "Enable SHA256 support" |
| 81 | help |
| 82 | This option enables support of hashing using SHA256 algorithm. |
| 83 | The hash is calculated in software. |
| 84 | The SHA256 algorithm produces a 256-bit (32-byte) hash value |
| 85 | (digest). |
| 86 | |
| 87 | config SHA_HW_ACCEL |
| 88 | bool "Enable hashing using hardware" |
| 89 | help |
| 90 | This option enables hardware acceleration |
| 91 | for SHA1/SHA256 hashing. |
| 92 | This affects the 'hash' command and also the |
| 93 | hash_lookup_algo() function. |
| 94 | |
| 95 | config SHA_PROG_HW_ACCEL |
| 96 | bool "Enable Progressive hashing support using hardware" |
| 97 | depends on SHA_HW_ACCEL |
| 98 | help |
| 99 | This option enables hardware-acceleration for |
| 100 | SHA1/SHA256 progressive hashing. |
| 101 | Data can be streamed in a block at a time and the hashing |
| 102 | is performed in hardware. |
| 103 | endmenu |
| 104 | |
Julius Werner | 027b728 | 2015-10-06 20:03:53 -0700 | [diff] [blame] | 105 | menu "Compression Support" |
| 106 | |
| 107 | config LZ4 |
| 108 | bool "Enable LZ4 decompression support" |
| 109 | help |
| 110 | If this option is set, support for LZ4 compressed images |
| 111 | is included. The LZ4 algorithm can run in-place as long as the |
| 112 | compressed image is loaded to the end of the output buffer, and |
| 113 | trades lower compression ratios for much faster decompression. |
| 114 | |
| 115 | NOTE: This implements the release version of the LZ4 frame |
| 116 | format as generated by default by the 'lz4' command line tool. |
| 117 | This is not the same as the outdated, less efficient legacy |
| 118 | frame format currently (2015) implemented in the Linux kernel |
| 119 | (generated by 'lz4 -l'). The two formats are incompatible. |
| 120 | |
| 121 | endmenu |
| 122 | |
Przemyslaw Marczak | 6501ff6 | 2015-04-20 20:07:40 +0200 | [diff] [blame] | 123 | config ERRNO_STR |
| 124 | bool "Enable function for getting errno-related string message" |
| 125 | help |
| 126 | The function errno_str(int errno), returns a pointer to the errno |
| 127 | corresponding text message: |
| 128 | - if errno is null or positive number - a pointer to "Success" message |
| 129 | - if errno is negative - a pointer to errno related message |
| 130 | |
Simon Glass | 69e173e | 2016-02-22 22:55:42 -0700 | [diff] [blame] | 131 | config OF_LIBFDT |
| 132 | bool "Enable the FDT library" |
| 133 | default y if OF_CONTROL |
| 134 | help |
| 135 | This enables the FDT library (libfdt). It provides functions for |
| 136 | accessing binary device tree images in memory, such as adding and |
| 137 | removing notes and properties, scanning through the tree and finding |
| 138 | particular compatible nodes. The library operates on a flattened |
| 139 | version of the device tree. |
| 140 | |
Simon Glass | aa34fbc | 2016-02-22 22:55:45 -0700 | [diff] [blame] | 141 | config SPL_OF_LIBFDT |
| 142 | bool "Enable the FDT library for SPL" |
| 143 | default y if SPL_OF_CONTROL |
| 144 | help |
| 145 | This enables the FDT library (libfdt). It provides functions for |
| 146 | accessing binary device tree images in memory, such as adding and |
| 147 | removing notes and properties, scanning through the tree and finding |
| 148 | particular compatible nodes. The library operates on a flattened |
| 149 | version of the device tree. |
| 150 | |
Simon Glass | 867a6ac | 2015-07-31 09:31:36 -0600 | [diff] [blame] | 151 | source lib/efi/Kconfig |
Alexander Graf | ed980b8 | 2016-03-04 01:10:07 +0100 | [diff] [blame] | 152 | source lib/efi_loader/Kconfig |
Simon Glass | 867a6ac | 2015-07-31 09:31:36 -0600 | [diff] [blame] | 153 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 154 | endmenu |