Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. menu "Library routines"
  2. config CC_OPTIMIZE_LIBS_FOR_SPEED
  3. bool "Optimize libraries for speed"
  4. help
  5. Enabling this option will pass "-O2" to gcc when compiling
  6. under "lib" directory.
  7. If unsure, say N.
  8. config HAVE_PRIVATE_LIBGCC
  9. bool
  10. config USE_PRIVATE_LIBGCC
  11. bool "Use private libgcc"
  12. depends on HAVE_PRIVATE_LIBGCC
  13. help
  14. This option allows you to use the built-in libgcc implementation
  15. of U-boot instead of the one privided by the compiler.
  16. If unsure, say N.
  17. config SYS_HZ
  18. int
  19. default 1000
  20. help
  21. The frequency of the timer returned by get_timer().
  22. get_timer() must operate in milliseconds and this option must be
  23. set to 1000.
  24. config SYS_VSNPRINTF
  25. bool "Enable safe version of sprintf()"
  26. help
  27. Since sprintf() can overflow its buffer, it is common to use
  28. snprintf() instead, which knows the buffer size and can avoid
  29. overflow. However, this does increase code size slightly (for
  30. Thumb-2, about 420 bytes). Enable this option for safety when
  31. using sprintf() with data you do not control.
  32. config REGEX
  33. bool "Enable regular expression support"
  34. default y if NET
  35. help
  36. If this variable is defined, U-Boot is linked against the
  37. SLRE (Super Light Regular Expression) library, which adds
  38. regex support to some commands, for example "env grep" and
  39. "setexpr".
  40. config LIB_RAND
  41. bool "Pseudo-random library support "
  42. help
  43. This library provides pseudo-random number generator functions.
  44. source lib/dhry/Kconfig
  45. source lib/rsa/Kconfig
  46. menu "Hashing Support"
  47. config SHA1
  48. bool "Enable SHA1 support"
  49. help
  50. This option enables support of hashing using SHA1 algorithm.
  51. The hash is calculated in software.
  52. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  53. (digest).
  54. config SHA256
  55. bool "Enable SHA256 support"
  56. help
  57. This option enables support of hashing using SHA256 algorithm.
  58. The hash is calculated in software.
  59. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  60. (digest).
  61. config SHA_HW_ACCEL
  62. bool "Enable hashing using hardware"
  63. help
  64. This option enables hardware acceleration
  65. for SHA1/SHA256 hashing.
  66. This affects the 'hash' command and also the
  67. hash_lookup_algo() function.
  68. config SHA_PROG_HW_ACCEL
  69. bool "Enable Progressive hashing support using hardware"
  70. depends on SHA_HW_ACCEL
  71. help
  72. This option enables hardware-acceleration for
  73. SHA1/SHA256 progressive hashing.
  74. Data can be streamed in a block at a time and the hashing
  75. is performed in hardware.
  76. endmenu
  77. config ERRNO_STR
  78. bool "Enable function for getting errno-related string message"
  79. help
  80. The function errno_str(int errno), returns a pointer to the errno
  81. corresponding text message:
  82. - if errno is null or positive number - a pointer to "Success" message
  83. - if errno is negative - a pointer to errno related message
  84. source lib/efi/Kconfig
  85. endmenu