]> git.ipfire.org Git - people/ms/u-boot.git/blame - lib/Kconfig
ppc4xx: Remove lcd4_lwmon5 support
[people/ms/u-boot.git] / lib / Kconfig
CommitLineData
ed36323f
MY
1menu "Library routines"
2
b0928da6
MY
3config 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
45ccec8f
MY
11config HAVE_PRIVATE_LIBGCC
12 bool
13
14config 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
8c688bc4
MY
22config 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
8156345d
SG
30config 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
1a60650c
JH
39config REGEX
40 bool "Enable regular expression support"
f7848d90 41 default y if NET
1a60650c
JH
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
9ba9e85f 48config LIB_RAND
3850dbe8
MY
49 bool "Pseudo-random library support "
50 help
51 This library provides pseudo-random number generator functions.
9ba9e85f 52
d1389403
SG
53source lib/dhry/Kconfig
54
d9f23c7f 55source lib/rsa/Kconfig
c4beb22f 56
a7d660bc
SG
57config TPM
58 bool "Trusted Platform Module (TPM) Support"
59 help
60 This enables support for TPMs which can be used to provide security
61 features for your board. The TPM can be connected via LPC or I2C
62 and a sandbox TPM is provided for testing purposes. Use the 'tpm'
63 command to interactive the TPM. Driver model support is provided
64 for the low-level TPM interface, but only one TPM is supported at
65 a time by the TPM library.
66
94e3c8c4 67menu "Hashing Support"
68
69config SHA1
70 bool "Enable SHA1 support"
71 help
72 This option enables support of hashing using SHA1 algorithm.
73 The hash is calculated in software.
74 The SHA1 algorithm produces a 160-bit (20-byte) hash value
75 (digest).
76
77config SHA256
78 bool "Enable SHA256 support"
79 help
80 This option enables support of hashing using SHA256 algorithm.
81 The hash is calculated in software.
82 The SHA256 algorithm produces a 256-bit (32-byte) hash value
83 (digest).
84
85config SHA_HW_ACCEL
86 bool "Enable hashing using hardware"
87 help
88 This option enables hardware acceleration
89 for SHA1/SHA256 hashing.
90 This affects the 'hash' command and also the
91 hash_lookup_algo() function.
92
93config SHA_PROG_HW_ACCEL
94 bool "Enable Progressive hashing support using hardware"
95 depends on SHA_HW_ACCEL
96 help
97 This option enables hardware-acceleration for
98 SHA1/SHA256 progressive hashing.
99 Data can be streamed in a block at a time and the hashing
100 is performed in hardware.
101endmenu
102
6501ff62
PM
103config ERRNO_STR
104 bool "Enable function for getting errno-related string message"
105 help
106 The function errno_str(int errno), returns a pointer to the errno
107 corresponding text message:
108 - if errno is null or positive number - a pointer to "Success" message
109 - if errno is negative - a pointer to errno related message
110
867a6ac8
SG
111source lib/efi/Kconfig
112
ed36323f 113endmenu