Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. source lib/dhry/Kconfig
  46. source lib/rsa/Kconfig
  47. config TPM
  48. bool "Trusted Platform Module (TPM) Support"
  49. depends on DM
  50. help
  51. This enables support for TPMs which can be used to provide security
  52. features for your board. The TPM can be connected via LPC or I2C
  53. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  54. command to interactive the TPM. Driver model support is provided
  55. for the low-level TPM interface, but only one TPM is supported at
  56. a time by the TPM library.
  57. menu "Hashing Support"
  58. config SHA1
  59. bool "Enable SHA1 support"
  60. help
  61. This option enables support of hashing using SHA1 algorithm.
  62. The hash is calculated in software.
  63. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  64. (digest).
  65. config SHA256
  66. bool "Enable SHA256 support"
  67. help
  68. This option enables support of hashing using SHA256 algorithm.
  69. The hash is calculated in software.
  70. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  71. (digest).
  72. config SHA_HW_ACCEL
  73. bool "Enable hashing using hardware"
  74. help
  75. This option enables hardware acceleration
  76. for SHA1/SHA256 hashing.
  77. This affects the 'hash' command and also the
  78. hash_lookup_algo() function.
  79. config SHA_PROG_HW_ACCEL
  80. bool "Enable Progressive hashing support using hardware"
  81. depends on SHA_HW_ACCEL
  82. help
  83. This option enables hardware-acceleration for
  84. SHA1/SHA256 progressive hashing.
  85. Data can be streamed in a block at a time and the hashing
  86. is performed in hardware.
  87. endmenu
  88. menu "Compression Support"
  89. config LZ4
  90. bool "Enable LZ4 decompression support"
  91. help
  92. If this option is set, support for LZ4 compressed images
  93. is included. The LZ4 algorithm can run in-place as long as the
  94. compressed image is loaded to the end of the output buffer, and
  95. trades lower compression ratios for much faster decompression.
  96. NOTE: This implements the release version of the LZ4 frame
  97. format as generated by default by the 'lz4' command line tool.
  98. This is not the same as the outdated, less efficient legacy
  99. frame format currently (2015) implemented in the Linux kernel
  100. (generated by 'lz4 -l'). The two formats are incompatible.
  101. endmenu
  102. config ERRNO_STR
  103. bool "Enable function for getting errno-related string message"
  104. help
  105. The function errno_str(int errno), returns a pointer to the errno
  106. corresponding text message:
  107. - if errno is null or positive number - a pointer to "Success" message
  108. - if errno is negative - a pointer to errno related message
  109. config OF_LIBFDT
  110. bool "Enable the FDT library"
  111. default y if OF_CONTROL
  112. help
  113. This enables the FDT library (libfdt). It provides functions for
  114. accessing binary device tree images in memory, such as adding and
  115. removing notes and properties, scanning through the tree and finding
  116. particular compatible nodes. The library operates on a flattened
  117. version of the device tree.
  118. config OF_LIBFDT_OVERLAY
  119. bool "Enable the FDT library overlay support"
  120. help
  121. This enables the FDT library (libfdt) overlay support.
  122. config SPL_OF_LIBFDT
  123. bool "Enable the FDT library for SPL"
  124. default y if SPL_OF_CONTROL
  125. help
  126. This enables the FDT library (libfdt). It provides functions for
  127. accessing binary device tree images in memory, such as adding and
  128. removing notes and properties, scanning through the tree and finding
  129. particular compatible nodes. The library operates on a flattened
  130. version of the device tree.
  131. config FDT_FIXUP_PARTITIONS
  132. bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
  133. depends on OF_LIBFDT
  134. default n
  135. help
  136. Allow overwriting defined partitions in the device tree blob
  137. using partition info defined in the 'mtdparts' environment
  138. variable.
  139. menu "System tables"
  140. depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER)
  141. config GENERATE_SMBIOS_TABLE
  142. bool "Generate an SMBIOS (System Management BIOS) table"
  143. default y
  144. depends on X86 || EFI_LOADER
  145. help
  146. The System Management BIOS (SMBIOS) specification addresses how
  147. motherboard and system vendors present management information about
  148. their products in a standard format by extending the BIOS interface
  149. on Intel architecture systems.
  150. Check http://www.dmtf.org/standards/smbios for details.
  151. config SMBIOS_MANUFACTURER
  152. string "SMBIOS Manufacturer"
  153. depends on GENERATE_SMBIOS_TABLE
  154. default SYS_VENDOR
  155. help
  156. The board manufacturer to store in SMBIOS structures.
  157. Change this to override the default one (CONFIG_SYS_VENDOR).
  158. config SMBIOS_PRODUCT_NAME
  159. string "SMBIOS Product Name"
  160. depends on GENERATE_SMBIOS_TABLE
  161. default SYS_BOARD
  162. help
  163. The product name to store in SMBIOS structures.
  164. Change this to override the default one (CONFIG_SYS_BOARD).
  165. endmenu
  166. source lib/efi/Kconfig
  167. source lib/efi_loader/Kconfig
  168. endmenu