]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - lib/Kconfig
karo: tx6ul: configure some more PMIC regs and disable unused DCDC2 regulator
[karo-tx-uboot.git] / lib / Kconfig
1 menu "Library routines"
2
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
11 config LIB_RAND
12         bool
13
14 config HAVE_PRIVATE_LIBGCC
15         bool
16
17 config USE_PRIVATE_LIBGCC
18         bool "Use private libgcc"
19         depends on HAVE_PRIVATE_LIBGCC
20         help
21           This option allows you to use the built-in libgcc implementation
22           of U-boot instead of the one privided by the compiler.
23           If unsure, say N.
24
25 config SYS_HZ
26         int
27         default 1000
28         help
29           The frequency of the timer returned by get_timer().
30           get_timer() must operate in milliseconds and this option must be
31           set to 1000.
32
33 config SYS_VSNPRINTF
34         bool "Enable safe version of sprintf()"
35         help
36           Since sprintf() can overflow its buffer, it is common to use
37           snprintf() instead, which knows the buffer size and can avoid
38           overflow. However, this does increase code size slightly (for
39           Thumb-2, about 420 bytes). Enable this option for safety when
40           using sprintf() with data you do not control.
41
42 config REGEX
43         bool "Enable regular expression support"
44         default y if NET
45         help
46           If this variable is defined, U-Boot is linked against the
47           SLRE (Super Light Regular Expression) library, which adds
48           regex support to some commands, for example "env grep" and
49           "setexpr".
50
51 config LIB_RAND
52         bool "Pseudo-random library support "
53         help
54           This library provides pseudo-random number generator functions.
55
56 source lib/dhry/Kconfig
57
58 source lib/rsa/Kconfig
59
60 config TPM
61         bool "Trusted Platform Module (TPM) Support"
62         help
63           This enables support for TPMs which can be used to provide security
64           features for your board. The TPM can be connected via LPC or I2C
65           and a sandbox TPM is provided for testing purposes. Use the 'tpm'
66           command to interactive the TPM. Driver model support is provided
67           for the low-level TPM interface, but only one TPM is supported at
68           a time by the TPM library.
69
70 menu "Hashing Support"
71
72 config SHA1
73         bool "Enable SHA1 support"
74         help
75           This option enables support of hashing using SHA1 algorithm.
76           The hash is calculated in software.
77           The SHA1 algorithm produces a 160-bit (20-byte) hash value
78           (digest).
79
80 config SHA256
81         bool "Enable SHA256 support"
82         help
83           This option enables support of hashing using SHA256 algorithm.
84           The hash is calculated in software.
85           The SHA256 algorithm produces a 256-bit (32-byte) hash value
86           (digest).
87
88 config SHA_HW_ACCEL
89         bool "Enable hashing using hardware"
90         help
91           This option enables hardware acceleration
92           for SHA1/SHA256 hashing.
93           This affects the 'hash' command and also the
94           hash_lookup_algo() function.
95
96 config SHA_PROG_HW_ACCEL
97         bool "Enable Progressive hashing support using hardware"
98         depends on SHA_HW_ACCEL
99         help
100           This option enables hardware-acceleration for
101           SHA1/SHA256 progressive hashing.
102           Data can be streamed in a block at a time and the hashing
103           is performed in hardware.
104 endmenu
105
106 config ERRNO_STR
107         bool "Enable function for getting errno-related string message"
108         help
109           The function errno_str(int errno), returns a pointer to the errno
110           corresponding text message:
111           - if errno is null or positive number - a pointer to "Success" message
112           - if errno is negative - a pointer to errno related message
113
114 source lib/efi/Kconfig
115
116 endmenu