1 menu "Library routines"
3 config CC_OPTIMIZE_LIBS_FOR_SPEED
4 bool "Optimize libraries for speed"
6 Enabling this option will pass "-O2" to gcc when compiling
11 config HAVE_PRIVATE_LIBGCC
14 config USE_PRIVATE_LIBGCC
15 bool "Use private libgcc"
16 depends on HAVE_PRIVATE_LIBGCC
18 This option allows you to use the built-in libgcc implementation
19 of U-Boot instead of the one privided by the compiler.
26 The frequency of the timer returned by get_timer().
27 get_timer() must operate in milliseconds and this option must be
30 config USE_TINY_PRINTF
31 bool "Enable tiny printf() version"
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.
38 The supported format specifiers are %c, %s, %u/%d and %x.
41 bool "Enable regular expression support"
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
50 bool "Pseudo-random library support "
52 This library provides pseudo-random number generator functions.
54 source lib/dhry/Kconfig
56 source lib/rsa/Kconfig
59 bool "Trusted Platform Module (TPM) Support"
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.
69 menu "Hashing Support"
72 bool "Enable SHA1 support"
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
80 bool "Enable SHA256 support"
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
88 bool "Enable hashing using hardware"
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.
95 config SHA_PROG_HW_ACCEL
96 bool "Enable Progressive hashing support using hardware"
97 depends on SHA_HW_ACCEL
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.
105 menu "Compression Support"
108 bool "Enable LZ4 decompression support"
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.
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.
124 bool "Enable function for getting errno-related string message"
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
131 source lib/efi/Kconfig