Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. #
  2. # Library configuration
  3. #
  4. config BINARY_PRINTF
  5. def_bool n
  6. menu "Library routines"
  7. config RAID6_PQ
  8. tristate
  9. config BITREVERSE
  10. tristate
  11. config RATIONAL
  12. boolean
  13. config GENERIC_FIND_FIRST_BIT
  14. bool
  15. config NO_GENERIC_PCI_IOPORT_MAP
  16. bool
  17. config GENERIC_PCI_IOMAP
  18. bool
  19. config GENERIC_IOMAP
  20. bool
  21. select GENERIC_PCI_IOMAP
  22. config CRC_CCITT
  23. tristate "CRC-CCITT functions"
  24. help
  25. This option is provided for the case where no in-kernel-tree
  26. modules require CRC-CCITT functions, but a module built outside
  27. the kernel tree does. Such modules that use library CRC-CCITT
  28. functions require M here.
  29. config CRC16
  30. tristate "CRC16 functions"
  31. help
  32. This option is provided for the case where no in-kernel-tree
  33. modules require CRC16 functions, but a module built outside
  34. the kernel tree does. Such modules that use library CRC16
  35. functions require M here.
  36. config CRC_T10DIF
  37. tristate "CRC calculation for the T10 Data Integrity Field"
  38. help
  39. This option is only needed if a module that's not in the
  40. kernel tree needs to calculate CRC checks for use with the
  41. SCSI data integrity subsystem.
  42. config CRC_ITU_T
  43. tristate "CRC ITU-T V.41 functions"
  44. help
  45. This option is provided for the case where no in-kernel-tree
  46. modules require CRC ITU-T V.41 functions, but a module built outside
  47. the kernel tree does. Such modules that use library CRC ITU-T V.41
  48. functions require M here.
  49. config CRC32
  50. tristate "CRC32 functions"
  51. default y
  52. select BITREVERSE
  53. help
  54. This option is provided for the case where no in-kernel-tree
  55. modules require CRC32 functions, but a module built outside the
  56. kernel tree does. Such modules that use library CRC32 functions
  57. require M here.
  58. config CRC32_SELFTEST
  59. bool "CRC32 perform self test on init"
  60. default n
  61. depends on CRC32
  62. help
  63. This option enables the CRC32 library functions to perform a
  64. self test on initialization. The self test computes crc32_le
  65. and crc32_be over byte strings with random alignment and length
  66. and computes the total elapsed time and number of bytes processed.
  67. config CRC7
  68. tristate "CRC7 functions"
  69. help
  70. This option is provided for the case where no in-kernel-tree
  71. modules require CRC7 functions, but a module built outside
  72. the kernel tree does. Such modules that use library CRC7
  73. functions require M here.
  74. config LIBCRC32C
  75. tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
  76. select CRYPTO
  77. select CRYPTO_CRC32C
  78. help
  79. This option is provided for the case where no in-kernel-tree
  80. modules require CRC32c functions, but a module built outside the
  81. kernel tree does. Such modules that use library CRC32c functions
  82. require M here. See Castagnoli93.
  83. Module will be libcrc32c.
  84. config CRC8
  85. tristate "CRC8 function"
  86. help
  87. This option provides CRC8 function. Drivers may select this
  88. when they need to do cyclic redundancy check according CRC8
  89. algorithm. Module will be called crc8.
  90. config AUDIT_GENERIC
  91. bool
  92. depends on AUDIT && !AUDIT_ARCH
  93. default y
  94. #
  95. # compression support is select'ed if needed
  96. #
  97. config ZLIB_INFLATE
  98. tristate
  99. config ZLIB_DEFLATE
  100. tristate
  101. config LZO_COMPRESS
  102. tristate
  103. config LZO_DECOMPRESS
  104. tristate
  105. source "lib/xz/Kconfig"
  106. #
  107. # These all provide a common interface (hence the apparent duplication with
  108. # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
  109. #
  110. config DECOMPRESS_GZIP
  111. select ZLIB_INFLATE
  112. tristate
  113. config DECOMPRESS_BZIP2
  114. tristate
  115. config DECOMPRESS_LZMA
  116. tristate
  117. config DECOMPRESS_XZ
  118. select XZ_DEC
  119. tristate
  120. config DECOMPRESS_LZO
  121. select LZO_DECOMPRESS
  122. tristate
  123. #
  124. # Generic allocator support is selected if needed
  125. #
  126. config GENERIC_ALLOCATOR
  127. boolean
  128. #
  129. # reed solomon support is select'ed if needed
  130. #
  131. config REED_SOLOMON
  132. tristate
  133. config REED_SOLOMON_ENC8
  134. boolean
  135. config REED_SOLOMON_DEC8
  136. boolean
  137. config REED_SOLOMON_ENC16
  138. boolean
  139. config REED_SOLOMON_DEC16
  140. boolean
  141. #
  142. # BCH support is selected if needed
  143. #
  144. config BCH
  145. tristate
  146. config BCH_CONST_PARAMS
  147. boolean
  148. help
  149. Drivers may select this option to force specific constant
  150. values for parameters 'm' (Galois field order) and 't'
  151. (error correction capability). Those specific values must
  152. be set by declaring default values for symbols BCH_CONST_M
  153. and BCH_CONST_T.
  154. Doing so will enable extra compiler optimizations,
  155. improving encoding and decoding performance up to 2x for
  156. usual (m,t) values (typically such that m*t < 200).
  157. When this option is selected, the BCH library supports
  158. only a single (m,t) configuration. This is mainly useful
  159. for NAND flash board drivers requiring known, fixed BCH
  160. parameters.
  161. config BCH_CONST_M
  162. int
  163. range 5 15
  164. help
  165. Constant value for Galois field order 'm'. If 'k' is the
  166. number of data bits to protect, 'm' should be chosen such
  167. that (k + m*t) <= 2**m - 1.
  168. Drivers should declare a default value for this symbol if
  169. they select option BCH_CONST_PARAMS.
  170. config BCH_CONST_T
  171. int
  172. help
  173. Constant value for error correction capability in bits 't'.
  174. Drivers should declare a default value for this symbol if
  175. they select option BCH_CONST_PARAMS.
  176. #
  177. # Textsearch support is select'ed if needed
  178. #
  179. config TEXTSEARCH
  180. boolean
  181. config TEXTSEARCH_KMP
  182. tristate
  183. config TEXTSEARCH_BM
  184. tristate
  185. config TEXTSEARCH_FSM
  186. tristate
  187. config BTREE
  188. boolean
  189. config HAS_IOMEM
  190. boolean
  191. depends on !NO_IOMEM
  192. default y
  193. config HAS_IOPORT
  194. boolean
  195. depends on HAS_IOMEM && !NO_IOPORT
  196. default y
  197. config HAS_DMA
  198. boolean
  199. depends on !NO_DMA
  200. default y
  201. config CHECK_SIGNATURE
  202. bool
  203. config CPUMASK_OFFSTACK
  204. bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
  205. help
  206. Use dynamic allocation for cpumask_var_t, instead of putting
  207. them on the stack. This is a bit more expensive, but avoids
  208. stack overflow.
  209. config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
  210. bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
  211. depends on EXPERIMENTAL && BROKEN
  212. config CPU_RMAP
  213. bool
  214. depends on SMP
  215. config DQL
  216. bool
  217. #
  218. # Netlink attribute parsing support is select'ed if needed
  219. #
  220. config NLATTR
  221. bool
  222. #
  223. # Generic 64-bit atomic support is selected if needed
  224. #
  225. config GENERIC_ATOMIC64
  226. bool
  227. config LRU_CACHE
  228. tristate
  229. config AVERAGE
  230. bool "Averaging functions"
  231. help
  232. This option is provided for the case where no in-kernel-tree
  233. modules require averaging functions, but a module built outside
  234. the kernel tree does. Such modules that use library averaging
  235. functions require Y here.
  236. If unsure, say N.
  237. config CLZ_TAB
  238. bool
  239. config CORDIC
  240. tristate "CORDIC algorithm"
  241. help
  242. This option provides an implementation of the CORDIC algorithm;
  243. calculations are in fixed point. Module will be called cordic.
  244. config MPILIB
  245. tristate
  246. select CLZ_TAB
  247. help
  248. Multiprecision maths library from GnuPG.
  249. It is used to implement RSA digital signature verification,
  250. which is used by IMA/EVM digital signature extension.
  251. config MPILIB_EXTRA
  252. bool
  253. depends on MPILIB
  254. help
  255. Additional sources of multiprecision maths library from GnuPG.
  256. This code is unnecessary for RSA digital signature verification,
  257. but can be compiled if needed.
  258. config SIGNATURE
  259. tristate
  260. depends on KEYS && CRYPTO
  261. select CRYPTO_SHA1
  262. select MPILIB
  263. help
  264. Digital signature verification. Currently only RSA is supported.
  265. Implementation is done using GnuPG MPI library
  266. endmenu