xref: /openbmc/linux/lib/Kconfig (revision a7a9a24d)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
54370aa4aSLai Jiangshanconfig BINARY_PRINTF
64370aa4aSLai Jiangshan	def_bool n
74370aa4aSLai Jiangshan
81da177e4SLinus Torvaldsmenu "Library routines"
91da177e4SLinus Torvalds
10f5e70d0fSDavid Woodhouseconfig RAID6_PQ
11f5e70d0fSDavid Woodhouse	tristate
12f5e70d0fSDavid Woodhouse
13a5cfc1ecSAkinobu Mitaconfig BITREVERSE
14a5cfc1ecSAkinobu Mita	tristate
15a5cfc1ecSAkinobu Mita
168759ef32SOskar Schirmerconfig RATIONAL
178759ef32SOskar Schirmer	boolean
188759ef32SOskar Schirmer
1919870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
209ba16087SJan Beulich	bool
2119870defSAlexander van Heukelum
2219870defSAlexander van Heukelumconfig GENERIC_FIND_NEXT_BIT
239ba16087SJan Beulich	bool
2419870defSAlexander van Heukelum
25ab53d472SRusty Russellconfig GENERIC_FIND_LAST_BIT
26ab53d472SRusty Russell	bool
27ab53d472SRusty Russell	default y
28ab53d472SRusty Russell
291da177e4SLinus Torvaldsconfig CRC_CCITT
301da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
311da177e4SLinus Torvalds	help
321da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
331da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
341da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
351da177e4SLinus Torvalds	  functions require M here.
361da177e4SLinus Torvalds
377657ec1fSEvgeniy Polyakovconfig CRC16
387657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
397657ec1fSEvgeniy Polyakov	help
407657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
417657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
427657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
437657ec1fSEvgeniy Polyakov	  functions require M here.
447657ec1fSEvgeniy Polyakov
45f11f594eSMartin K. Petersenconfig CRC_T10DIF
46f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
47f11f594eSMartin K. Petersen	help
48f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
49f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
50f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
51f11f594eSMartin K. Petersen
523e7cbae7SIvo van Doornconfig CRC_ITU_T
533e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
543e7cbae7SIvo van Doorn	help
553e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
563e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
573e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
583e7cbae7SIvo van Doorn	  functions require M here.
593e7cbae7SIvo van Doorn
601da177e4SLinus Torvaldsconfig CRC32
611da177e4SLinus Torvalds	tristate "CRC32 functions"
621da177e4SLinus Torvalds	default y
63906d66dfSAkinobu Mita	select BITREVERSE
641da177e4SLinus Torvalds	help
651da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
661da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
671da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
681da177e4SLinus Torvalds	  require M here.
691da177e4SLinus Torvalds
70ad241528SJan Nikitenkoconfig CRC7
71ad241528SJan Nikitenko	tristate "CRC7 functions"
72ad241528SJan Nikitenko	help
73ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
74ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
75ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
76ad241528SJan Nikitenko	  functions require M here.
77ad241528SJan Nikitenko
781da177e4SLinus Torvaldsconfig LIBCRC32C
791da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
8093027354SHerbert Xu	select CRYPTO
8169c35efcSHerbert Xu	select CRYPTO_CRC32C
821da177e4SLinus Torvalds	help
831da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
841da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
851da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
861da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
871da177e4SLinus Torvalds	  Module will be libcrc32c.
881da177e4SLinus Torvalds
89e65e1fc2SAl Viroconfig AUDIT_GENERIC
90e65e1fc2SAl Viro	bool
91e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
92e65e1fc2SAl Viro	default y
93e65e1fc2SAl Viro
941da177e4SLinus Torvalds#
951da177e4SLinus Torvalds# compression support is select'ed if needed
961da177e4SLinus Torvalds#
971da177e4SLinus Torvaldsconfig ZLIB_INFLATE
981da177e4SLinus Torvalds	tristate
991da177e4SLinus Torvalds
1001da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
1011da177e4SLinus Torvalds	tristate
1021da177e4SLinus Torvalds
10364c70b1cSRichard Purdieconfig LZO_COMPRESS
10464c70b1cSRichard Purdie	tristate
10564c70b1cSRichard Purdie
10664c70b1cSRichard Purdieconfig LZO_DECOMPRESS
10764c70b1cSRichard Purdie	tristate
10864c70b1cSRichard Purdie
10924fa0402SLasse Collinsource "lib/xz/Kconfig"
11024fa0402SLasse Collin
1111da177e4SLinus Torvalds#
112c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
113c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
114c8531ab3SH. Peter Anvin#
115c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
1167856a16eSH. Peter Anvin	select ZLIB_INFLATE
117c8531ab3SH. Peter Anvin	tristate
118c8531ab3SH. Peter Anvin
119c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
120c8531ab3SH. Peter Anvin	tristate
121c8531ab3SH. Peter Anvin
122c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
123c8531ab3SH. Peter Anvin	tristate
124c8531ab3SH. Peter Anvin
1253ebe1243SLasse Collinconfig DECOMPRESS_XZ
1263ebe1243SLasse Collin	select XZ_DEC
1273ebe1243SLasse Collin	tristate
1283ebe1243SLasse Collin
129cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
130cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
131cacb246fSAlbin Tonnerre	tristate
132cacb246fSAlbin Tonnerre
133c8531ab3SH. Peter Anvin#
134f14f75b8SJes Sorensen# Generic allocator support is selected if needed
135f14f75b8SJes Sorensen#
136f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
137f14f75b8SJes Sorensen	boolean
138f14f75b8SJes Sorensen
139f14f75b8SJes Sorensen#
1401da177e4SLinus Torvalds# reed solomon support is select'ed if needed
1411da177e4SLinus Torvalds#
1421da177e4SLinus Torvaldsconfig REED_SOLOMON
1431da177e4SLinus Torvalds	tristate
1441da177e4SLinus Torvalds
1451da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1461da177e4SLinus Torvalds	boolean
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1491da177e4SLinus Torvalds	boolean
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1521da177e4SLinus Torvalds	boolean
1531da177e4SLinus Torvalds
1541da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1551da177e4SLinus Torvalds	boolean
1561da177e4SLinus Torvalds
157f7704347SDavid S. Miller#
158f7704347SDavid S. Miller# Textsearch support is select'ed if needed
159f7704347SDavid S. Miller#
1602de4ff7bSThomas Grafconfig TEXTSEARCH
161f7704347SDavid S. Miller	boolean
1621da177e4SLinus Torvalds
163df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
164f7704347SDavid S. Miller	tristate
165df3fb93aSThomas Graf
1668082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
16729cb9f9cSDavid S. Miller	tristate
1688082e4edSPablo Neira Ayuso
1696408f79cSThomas Grafconfig TEXTSEARCH_FSM
170f7704347SDavid S. Miller	tristate
1716408f79cSThomas Graf
1725db53f3eSJoern Engelconfig BTREE
1735db53f3eSJoern Engel	boolean
1745db53f3eSJoern Engel
1755ea81769SAl Viroconfig HAS_IOMEM
176ee36c2bfSAl Viro	boolean
1775ea81769SAl Viro	depends on !NO_IOMEM
1785ea81769SAl Viro	default y
1795ea81769SAl Viro
1805ea81769SAl Viroconfig HAS_IOPORT
1815ea81769SAl Viro	boolean
1825ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
183ee36c2bfSAl Viro	default y
184ee36c2bfSAl Viro
185411f0f3eSHeiko Carstensconfig HAS_DMA
186411f0f3eSHeiko Carstens	boolean
187411f0f3eSHeiko Carstens	depends on !NO_DMA
188411f0f3eSHeiko Carstens	default y
189411f0f3eSHeiko Carstens
190928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
191928923c7SGeert Uytterhoeven	bool
192928923c7SGeert Uytterhoeven
193aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
194aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
195aab46da0SRusty Russell	help
196aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
197aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
198aab46da0SRusty Russell	  stack overflow.
199aab46da0SRusty Russell
2008c384cdeSRusty Russellconfig DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
2018c384cdeSRusty Russell       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
2028c384cdeSRusty Russell       depends on EXPERIMENTAL && BROKEN
2038c384cdeSRusty Russell
204e9cc8bddSGeert Uytterhoeven#
205e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
206e9cc8bddSGeert Uytterhoeven#
207e9cc8bddSGeert Uytterhoevenconfig NLATTR
208e9cc8bddSGeert Uytterhoeven	bool
209e9cc8bddSGeert Uytterhoeven
21009d4e0edSPaul Mackerras#
21109d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
21209d4e0edSPaul Mackerras#
21309d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
21409d4e0edSPaul Mackerras       bool
21509d4e0edSPaul Mackerras
216b411b363SPhilipp Reisnerconfig LRU_CACHE
217b411b363SPhilipp Reisner	tristate
218b411b363SPhilipp Reisner
219c5485a7eSBruno Randolfconfig AVERAGE
220*a7a9a24dSMichael Buesch	bool "Averaging functions"
221*a7a9a24dSMichael Buesch	help
222*a7a9a24dSMichael Buesch	  This option is provided for the case where no in-kernel-tree
223*a7a9a24dSMichael Buesch	  modules require averaging functions, but a module built outside
224*a7a9a24dSMichael Buesch	  the kernel tree does. Such modules that use library averaging
225*a7a9a24dSMichael Buesch	  functions require Y here.
226*a7a9a24dSMichael Buesch
227*a7a9a24dSMichael Buesch	  If unsure, say N.
228c5485a7eSBruno Randolf
2292de4ff7bSThomas Grafendmenu
230