Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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 USE_TINY_PRINTF
  25. bool "Enable tiny printf() version"
  26. help
  27. This option enables a tiny, stripped down printf version.
  28. This should only be used in space limited environments,
  29. like SPL versions with hard memory limits. This version
  30. reduces the code size by about 2.5KiB on armv7.
  31. The supported format specifiers are %c, %s, %u/%d and %x.
  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. depends on DM
  49. help
  50. This enables support for TPMs which can be used to provide security
  51. features for your board. The TPM can be connected via LPC or I2C
  52. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  53. command to interactive the TPM. Driver model support is provided
  54. for the low-level TPM interface, but only one TPM is supported at
  55. a time by the TPM library.
  56. menu "Hashing Support"
  57. config SHA1
  58. bool "Enable SHA1 support"
  59. help
  60. This option enables support of hashing using SHA1 algorithm.
  61. The hash is calculated in software.
  62. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  63. (digest).
  64. config SHA256
  65. bool "Enable SHA256 support"
  66. help
  67. This option enables support of hashing using SHA256 algorithm.
  68. The hash is calculated in software.
  69. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  70. (digest).
  71. config SHA_HW_ACCEL
  72. bool "Enable hashing using hardware"
  73. help
  74. This option enables hardware acceleration
  75. for SHA1/SHA256 hashing.
  76. This affects the 'hash' command and also the
  77. hash_lookup_algo() function.
  78. config SHA_PROG_HW_ACCEL
  79. bool "Enable Progressive hashing support using hardware"
  80. depends on SHA_HW_ACCEL
  81. help
  82. This option enables hardware-acceleration for
  83. SHA1/SHA256 progressive hashing.
  84. Data can be streamed in a block at a time and the hashing
  85. is performed in hardware.
  86. endmenu
  87. menu "Compression Support"
  88. config LZ4
  89. bool "Enable LZ4 decompression support"
  90. help
  91. If this option is set, support for LZ4 compressed images
  92. is included. The LZ4 algorithm can run in-place as long as the
  93. compressed image is loaded to the end of the output buffer, and
  94. trades lower compression ratios for much faster decompression.
  95. NOTE: This implements the release version of the LZ4 frame
  96. format as generated by default by the 'lz4' command line tool.
  97. This is not the same as the outdated, less efficient legacy
  98. frame format currently (2015) implemented in the Linux kernel
  99. (generated by 'lz4 -l'). The two formats are incompatible.
  100. endmenu
  101. config ERRNO_STR
  102. bool "Enable function for getting errno-related string message"
  103. help
  104. The function errno_str(int errno), returns a pointer to the errno
  105. corresponding text message:
  106. - if errno is null or positive number - a pointer to "Success" message
  107. - if errno is negative - a pointer to errno related message
  108. config OF_LIBFDT
  109. bool "Enable the FDT library"
  110. default y if OF_CONTROL
  111. help
  112. This enables the FDT library (libfdt). It provides functions for
  113. accessing binary device tree images in memory, such as adding and
  114. removing notes and properties, scanning through the tree and finding
  115. particular compatible nodes. The library operates on a flattened
  116. version of the device tree.
  117. config SPL_OF_LIBFDT
  118. bool "Enable the FDT library for SPL"
  119. default y if SPL_OF_CONTROL
  120. help
  121. This enables the FDT library (libfdt). It provides functions for
  122. accessing binary device tree images in memory, such as adding and
  123. removing notes and properties, scanning through the tree and finding
  124. particular compatible nodes. The library operates on a flattened
  125. version of the device tree.
  126. source lib/efi/Kconfig
  127. source lib/efi_loader/Kconfig
  128. endmenu