Merge branch 'for-v3.11' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping
[deliverable/linux.git] / lib / Kconfig
1 #
2 # Library configuration
3 #
4
5 config BINARY_PRINTF
6 def_bool n
7
8 menu "Library routines"
9
10 config RAID6_PQ
11 tristate
12
13 config BITREVERSE
14 tristate
15
16 config RATIONAL
17 boolean
18
19 config GENERIC_STRNCPY_FROM_USER
20 bool
21
22 config GENERIC_STRNLEN_USER
23 bool
24
25 config GENERIC_NET_UTILS
26 bool
27
28 config GENERIC_FIND_FIRST_BIT
29 bool
30
31 config NO_GENERIC_PCI_IOPORT_MAP
32 bool
33
34 config GENERIC_PCI_IOMAP
35 bool
36
37 config GENERIC_IOMAP
38 bool
39 select GENERIC_PCI_IOMAP
40
41 config GENERIC_IO
42 boolean
43 default n
44
45 config STMP_DEVICE
46 bool
47
48 config PERCPU_RWSEM
49 boolean
50
51 config CRC_CCITT
52 tristate "CRC-CCITT functions"
53 help
54 This option is provided for the case where no in-kernel-tree
55 modules require CRC-CCITT functions, but a module built outside
56 the kernel tree does. Such modules that use library CRC-CCITT
57 functions require M here.
58
59 config CRC16
60 tristate "CRC16 functions"
61 help
62 This option is provided for the case where no in-kernel-tree
63 modules require CRC16 functions, but a module built outside
64 the kernel tree does. Such modules that use library CRC16
65 functions require M here.
66
67 config CRC_T10DIF
68 tristate "CRC calculation for the T10 Data Integrity Field"
69 select CRYPTO
70 select CRYPTO_CRCT10DIF
71 help
72 This option is only needed if a module that's not in the
73 kernel tree needs to calculate CRC checks for use with the
74 SCSI data integrity subsystem.
75
76 config CRC_ITU_T
77 tristate "CRC ITU-T V.41 functions"
78 help
79 This option is provided for the case where no in-kernel-tree
80 modules require CRC ITU-T V.41 functions, but a module built outside
81 the kernel tree does. Such modules that use library CRC ITU-T V.41
82 functions require M here.
83
84 config CRC32
85 tristate "CRC32/CRC32c functions"
86 default y
87 select BITREVERSE
88 help
89 This option is provided for the case where no in-kernel-tree
90 modules require CRC32/CRC32c functions, but a module built outside
91 the kernel tree does. Such modules that use library CRC32/CRC32c
92 functions require M here.
93
94 config CRC32_SELFTEST
95 bool "CRC32 perform self test on init"
96 default n
97 depends on CRC32
98 help
99 This option enables the CRC32 library functions to perform a
100 self test on initialization. The self test computes crc32_le
101 and crc32_be over byte strings with random alignment and length
102 and computes the total elapsed time and number of bytes processed.
103
104 choice
105 prompt "CRC32 implementation"
106 depends on CRC32
107 default CRC32_SLICEBY8
108 help
109 This option allows a kernel builder to override the default choice
110 of CRC32 algorithm. Choose the default ("slice by 8") unless you
111 know that you need one of the others.
112
113 config CRC32_SLICEBY8
114 bool "Slice by 8 bytes"
115 help
116 Calculate checksum 8 bytes at a time with a clever slicing algorithm.
117 This is the fastest algorithm, but comes with a 8KiB lookup table.
118 Most modern processors have enough cache to hold this table without
119 thrashing the cache.
120
121 This is the default implementation choice. Choose this one unless
122 you have a good reason not to.
123
124 config CRC32_SLICEBY4
125 bool "Slice by 4 bytes"
126 help
127 Calculate checksum 4 bytes at a time with a clever slicing algorithm.
128 This is a bit slower than slice by 8, but has a smaller 4KiB lookup
129 table.
130
131 Only choose this option if you know what you are doing.
132
133 config CRC32_SARWATE
134 bool "Sarwate's Algorithm (one byte at a time)"
135 help
136 Calculate checksum a byte at a time using Sarwate's algorithm. This
137 is not particularly fast, but has a small 256 byte lookup table.
138
139 Only choose this option if you know what you are doing.
140
141 config CRC32_BIT
142 bool "Classic Algorithm (one bit at a time)"
143 help
144 Calculate checksum one bit at a time. This is VERY slow, but has
145 no lookup table. This is provided as a debugging option.
146
147 Only choose this option if you are debugging crc32.
148
149 endchoice
150
151 config CRC7
152 tristate "CRC7 functions"
153 help
154 This option is provided for the case where no in-kernel-tree
155 modules require CRC7 functions, but a module built outside
156 the kernel tree does. Such modules that use library CRC7
157 functions require M here.
158
159 config LIBCRC32C
160 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
161 select CRYPTO
162 select CRYPTO_CRC32C
163 help
164 This option is provided for the case where no in-kernel-tree
165 modules require CRC32c functions, but a module built outside the
166 kernel tree does. Such modules that use library CRC32c functions
167 require M here. See Castagnoli93.
168 Module will be libcrc32c.
169
170 config CRC8
171 tristate "CRC8 function"
172 help
173 This option provides CRC8 function. Drivers may select this
174 when they need to do cyclic redundancy check according CRC8
175 algorithm. Module will be called crc8.
176
177 config AUDIT_GENERIC
178 bool
179 depends on AUDIT && !AUDIT_ARCH
180 default y
181
182 #
183 # compression support is select'ed if needed
184 #
185 config ZLIB_INFLATE
186 tristate
187
188 config ZLIB_DEFLATE
189 tristate
190
191 config LZO_COMPRESS
192 tristate
193
194 config LZO_DECOMPRESS
195 tristate
196
197 source "lib/xz/Kconfig"
198
199 #
200 # These all provide a common interface (hence the apparent duplication with
201 # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
202 #
203 config DECOMPRESS_GZIP
204 select ZLIB_INFLATE
205 tristate
206
207 config DECOMPRESS_BZIP2
208 tristate
209
210 config DECOMPRESS_LZMA
211 tristate
212
213 config DECOMPRESS_XZ
214 select XZ_DEC
215 tristate
216
217 config DECOMPRESS_LZO
218 select LZO_DECOMPRESS
219 tristate
220
221 #
222 # Generic allocator support is selected if needed
223 #
224 config GENERIC_ALLOCATOR
225 boolean
226
227 #
228 # reed solomon support is select'ed if needed
229 #
230 config REED_SOLOMON
231 tristate
232
233 config REED_SOLOMON_ENC8
234 boolean
235
236 config REED_SOLOMON_DEC8
237 boolean
238
239 config REED_SOLOMON_ENC16
240 boolean
241
242 config REED_SOLOMON_DEC16
243 boolean
244
245 #
246 # BCH support is selected if needed
247 #
248 config BCH
249 tristate
250
251 config BCH_CONST_PARAMS
252 boolean
253 help
254 Drivers may select this option to force specific constant
255 values for parameters 'm' (Galois field order) and 't'
256 (error correction capability). Those specific values must
257 be set by declaring default values for symbols BCH_CONST_M
258 and BCH_CONST_T.
259 Doing so will enable extra compiler optimizations,
260 improving encoding and decoding performance up to 2x for
261 usual (m,t) values (typically such that m*t < 200).
262 When this option is selected, the BCH library supports
263 only a single (m,t) configuration. This is mainly useful
264 for NAND flash board drivers requiring known, fixed BCH
265 parameters.
266
267 config BCH_CONST_M
268 int
269 range 5 15
270 help
271 Constant value for Galois field order 'm'. If 'k' is the
272 number of data bits to protect, 'm' should be chosen such
273 that (k + m*t) <= 2**m - 1.
274 Drivers should declare a default value for this symbol if
275 they select option BCH_CONST_PARAMS.
276
277 config BCH_CONST_T
278 int
279 help
280 Constant value for error correction capability in bits 't'.
281 Drivers should declare a default value for this symbol if
282 they select option BCH_CONST_PARAMS.
283
284 #
285 # Textsearch support is select'ed if needed
286 #
287 config TEXTSEARCH
288 boolean
289
290 config TEXTSEARCH_KMP
291 tristate
292
293 config TEXTSEARCH_BM
294 tristate
295
296 config TEXTSEARCH_FSM
297 tristate
298
299 config BTREE
300 boolean
301
302 config HAS_IOMEM
303 boolean
304 depends on !NO_IOMEM
305 select GENERIC_IO
306 default y
307
308 config HAS_IOPORT
309 boolean
310 depends on HAS_IOMEM && !NO_IOPORT
311 default y
312
313 config HAS_DMA
314 boolean
315 depends on !NO_DMA
316 default y
317
318 config CHECK_SIGNATURE
319 bool
320
321 config CPUMASK_OFFSTACK
322 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
323 help
324 Use dynamic allocation for cpumask_var_t, instead of putting
325 them on the stack. This is a bit more expensive, but avoids
326 stack overflow.
327
328 config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
329 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
330 depends on BROKEN
331
332 config CPU_RMAP
333 bool
334 depends on SMP
335
336 config DQL
337 bool
338
339 #
340 # Netlink attribute parsing support is select'ed if needed
341 #
342 config NLATTR
343 bool
344
345 #
346 # Generic 64-bit atomic support is selected if needed
347 #
348 config GENERIC_ATOMIC64
349 bool
350
351 config ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
352 def_bool y if GENERIC_ATOMIC64
353
354 config LRU_CACHE
355 tristate
356
357 config AVERAGE
358 bool "Averaging functions"
359 help
360 This option is provided for the case where no in-kernel-tree
361 modules require averaging functions, but a module built outside
362 the kernel tree does. Such modules that use library averaging
363 functions require Y here.
364
365 If unsure, say N.
366
367 config CLZ_TAB
368 bool
369
370 config CORDIC
371 tristate "CORDIC algorithm"
372 help
373 This option provides an implementation of the CORDIC algorithm;
374 calculations are in fixed point. Module will be called cordic.
375
376 config DDR
377 bool "JEDEC DDR data"
378 help
379 Data from JEDEC specs for DDR SDRAM memories,
380 particularly the AC timing parameters and addressing
381 information. This data is useful for drivers handling
382 DDR SDRAM controllers.
383
384 config MPILIB
385 tristate
386 select CLZ_TAB
387 help
388 Multiprecision maths library from GnuPG.
389 It is used to implement RSA digital signature verification,
390 which is used by IMA/EVM digital signature extension.
391
392 config SIGNATURE
393 tristate
394 depends on KEYS && CRYPTO
395 select CRYPTO_SHA1
396 select MPILIB
397 help
398 Digital signature verification. Currently only RSA is supported.
399 Implementation is done using GnuPG MPI library
400
401 #
402 # libfdt files, only selected if needed.
403 #
404 config LIBFDT
405 bool
406
407 config OID_REGISTRY
408 tristate
409 help
410 Enable fast lookup object identifier registry.
411
412 config UCS2_STRING
413 tristate
414
415 source "lib/fonts/Kconfig"
416
417 endmenu
This page took 0.078075 seconds and 6 git commands to generate.