Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. config TPM
  47. bool "Trusted Platform Module (TPM) Support"
  48. help
  49. This enables support for TPMs which can be used to provide security
  50. features for your board. The TPM can be connected via LPC or I2C
  51. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  52. command to interactive the TPM. Driver model support is provided
  53. for the low-level TPM interface, but only one TPM is supported at
  54. a time by the TPM library.
  55. menu "Hashing Support"
  56. config SHA1
  57. bool "Enable SHA1 support"
  58. help
  59. This option enables support of hashing using SHA1 algorithm.
  60. The hash is calculated in software.
  61. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  62. (digest).
  63. config SHA256
  64. bool "Enable SHA256 support"
  65. help
  66. This option enables support of hashing using SHA256 algorithm.
  67. The hash is calculated in software.
  68. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  69. (digest).
  70. config SHA_HW_ACCEL
  71. bool "Enable hashing using hardware"
  72. help
  73. This option enables hardware acceleration
  74. for SHA1/SHA256 hashing.
  75. This affects the 'hash' command and also the
  76. hash_lookup_algo() function.
  77. config SHA_PROG_HW_ACCEL
  78. bool "Enable Progressive hashing support using hardware"
  79. depends on SHA_HW_ACCEL
  80. help
  81. This option enables hardware-acceleration for
  82. SHA1/SHA256 progressive hashing.
  83. Data can be streamed in a block at a time and the hashing
  84. is performed in hardware.
  85. endmenu
  86. menu "Compression Support"
  87. config LZ4
  88. bool "Enable LZ4 decompression support"
  89. help
  90. If this option is set, support for LZ4 compressed images
  91. is included. The LZ4 algorithm can run in-place as long as the
  92. compressed image is loaded to the end of the output buffer, and
  93. trades lower compression ratios for much faster decompression.
  94. NOTE: This implements the release version of the LZ4 frame
  95. format as generated by default by the 'lz4' command line tool.
  96. This is not the same as the outdated, less efficient legacy
  97. frame format currently (2015) implemented in the Linux kernel
  98. (generated by 'lz4 -l'). The two formats are incompatible.
  99. endmenu
  100. config ERRNO_STR
  101. bool "Enable function for getting errno-related string message"
  102. help
  103. The function errno_str(int errno), returns a pointer to the errno
  104. corresponding text message:
  105. - if errno is null or positive number - a pointer to "Success" message
  106. - if errno is negative - a pointer to errno related message
  107. source lib/efi/Kconfig
  108. endmenu