Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. default y if HAVE_PRIVATE_LIBGCC && ((ARM && !ARM64) || MIPS)
  14. help
  15. This option allows you to use the built-in libgcc implementation
  16. of U-Boot instead of the one provided by the compiler.
  17. If unsure, say N.
  18. config SYS_HZ
  19. int
  20. default 1000
  21. help
  22. The frequency of the timer returned by get_timer().
  23. get_timer() must operate in milliseconds and this option must be
  24. set to 1000.
  25. config USE_TINY_PRINTF
  26. bool "Enable tiny printf() version"
  27. help
  28. This option enables a tiny, stripped down printf version.
  29. This should only be used in space limited environments,
  30. like SPL versions with hard memory limits. This version
  31. reduces the code size by about 2.5KiB on armv7.
  32. The supported format specifiers are %c, %s, %u/%d and %x.
  33. config REGEX
  34. bool "Enable regular expression support"
  35. default y if NET
  36. help
  37. If this variable is defined, U-Boot is linked against the
  38. SLRE (Super Light Regular Expression) library, which adds
  39. regex support to some commands, for example "env grep" and
  40. "setexpr".
  41. config LIB_RAND
  42. bool "Pseudo-random library support "
  43. help
  44. This library provides pseudo-random number generator functions.
  45. config SPL_TINY_MEMSET
  46. bool "Use a very small memset() in SPL"
  47. help
  48. The faster memset() is the arch-specific one (if available) enabled
  49. by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
  50. better performance by writing a word at a time. But in very
  51. size-constrained envrionments even this may be too big. Enable this
  52. option to reduce code size slightly at the cost of some speed.
  53. config RBTREE
  54. bool
  55. source lib/dhry/Kconfig
  56. source lib/rsa/Kconfig
  57. config TPM
  58. bool "Trusted Platform Module (TPM) Support"
  59. depends on DM
  60. help
  61. This enables support for TPMs which can be used to provide security
  62. features for your board. The TPM can be connected via LPC or I2C
  63. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  64. command to interactive the TPM. Driver model support is provided
  65. for the low-level TPM interface, but only one TPM is supported at
  66. a time by the TPM library.
  67. menu "Hashing Support"
  68. config SHA1
  69. bool "Enable SHA1 support"
  70. help
  71. This option enables support of hashing using SHA1 algorithm.
  72. The hash is calculated in software.
  73. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  74. (digest).
  75. config SHA256
  76. bool "Enable SHA256 support"
  77. help
  78. This option enables support of hashing using SHA256 algorithm.
  79. The hash is calculated in software.
  80. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  81. (digest).
  82. config SHA_HW_ACCEL
  83. bool "Enable hashing using hardware"
  84. help
  85. This option enables hardware acceleration
  86. for SHA1/SHA256 hashing.
  87. This affects the 'hash' command and also the
  88. hash_lookup_algo() function.
  89. config SHA_PROG_HW_ACCEL
  90. bool "Enable Progressive hashing support using hardware"
  91. depends on SHA_HW_ACCEL
  92. help
  93. This option enables hardware-acceleration for
  94. SHA1/SHA256 progressive hashing.
  95. Data can be streamed in a block at a time and the hashing
  96. is performed in hardware.
  97. config MD5
  98. bool
  99. endmenu
  100. menu "Compression Support"
  101. config LZ4
  102. bool "Enable LZ4 decompression support"
  103. help
  104. If this option is set, support for LZ4 compressed images
  105. is included. The LZ4 algorithm can run in-place as long as the
  106. compressed image is loaded to the end of the output buffer, and
  107. trades lower compression ratios for much faster decompression.
  108. NOTE: This implements the release version of the LZ4 frame
  109. format as generated by default by the 'lz4' command line tool.
  110. This is not the same as the outdated, less efficient legacy
  111. frame format currently (2015) implemented in the Linux kernel
  112. (generated by 'lz4 -l'). The two formats are incompatible.
  113. config LZO
  114. bool
  115. endmenu
  116. config ERRNO_STR
  117. bool "Enable function for getting errno-related string message"
  118. help
  119. The function errno_str(int errno), returns a pointer to the errno
  120. corresponding text message:
  121. - if errno is null or positive number - a pointer to "Success" message
  122. - if errno is negative - a pointer to errno related message
  123. config OF_LIBFDT
  124. bool "Enable the FDT library"
  125. default y if OF_CONTROL
  126. help
  127. This enables the FDT library (libfdt). It provides functions for
  128. accessing binary device tree images in memory, such as adding and
  129. removing notes and properties, scanning through the tree and finding
  130. particular compatible nodes. The library operates on a flattened
  131. version of the device tree.
  132. config OF_LIBFDT_OVERLAY
  133. bool "Enable the FDT library overlay support"
  134. help
  135. This enables the FDT library (libfdt) overlay support.
  136. config SPL_OF_LIBFDT
  137. bool "Enable the FDT library for SPL"
  138. default y if SPL_OF_CONTROL
  139. help
  140. This enables the FDT library (libfdt). It provides functions for
  141. accessing binary device tree images in memory, such as adding and
  142. removing notes and properties, scanning through the tree and finding
  143. particular compatible nodes. The library operates on a flattened
  144. version of the device tree.
  145. config FDT_FIXUP_PARTITIONS
  146. bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
  147. depends on OF_LIBFDT
  148. default n
  149. help
  150. Allow overwriting defined partitions in the device tree blob
  151. using partition info defined in the 'mtdparts' environment
  152. variable.
  153. menu "System tables"
  154. depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER)
  155. config GENERATE_SMBIOS_TABLE
  156. bool "Generate an SMBIOS (System Management BIOS) table"
  157. default y
  158. depends on X86 || EFI_LOADER
  159. help
  160. The System Management BIOS (SMBIOS) specification addresses how
  161. motherboard and system vendors present management information about
  162. their products in a standard format by extending the BIOS interface
  163. on Intel architecture systems.
  164. Check http://www.dmtf.org/standards/smbios for details.
  165. config SMBIOS_MANUFACTURER
  166. string "SMBIOS Manufacturer"
  167. depends on GENERATE_SMBIOS_TABLE
  168. default SYS_VENDOR
  169. help
  170. The board manufacturer to store in SMBIOS structures.
  171. Change this to override the default one (CONFIG_SYS_VENDOR).
  172. config SMBIOS_PRODUCT_NAME
  173. string "SMBIOS Product Name"
  174. depends on GENERATE_SMBIOS_TABLE
  175. default SYS_BOARD
  176. help
  177. The product name to store in SMBIOS structures.
  178. Change this to override the default one (CONFIG_SYS_BOARD).
  179. endmenu
  180. source lib/efi/Kconfig
  181. source lib/efi_loader/Kconfig
  182. endmenu