xref: /openbmc/linux/lib/Kconfig (revision c8531ab3)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
7a5cfc1ecSAkinobu Mitaconfig BITREVERSE
8a5cfc1ecSAkinobu Mita	tristate
9a5cfc1ecSAkinobu Mita
1019870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
119ba16087SJan Beulich	bool
1219870defSAlexander van Heukelum
1319870defSAlexander van Heukelumconfig GENERIC_FIND_NEXT_BIT
149ba16087SJan Beulich	bool
1519870defSAlexander van Heukelum
16ab53d472SRusty Russellconfig GENERIC_FIND_LAST_BIT
17ab53d472SRusty Russell	bool
18ab53d472SRusty Russell	default y
19ab53d472SRusty Russell
201da177e4SLinus Torvaldsconfig CRC_CCITT
211da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
221da177e4SLinus Torvalds	help
231da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
241da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
251da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
261da177e4SLinus Torvalds	  functions require M here.
271da177e4SLinus Torvalds
287657ec1fSEvgeniy Polyakovconfig CRC16
297657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
307657ec1fSEvgeniy Polyakov	help
317657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
327657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
337657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
347657ec1fSEvgeniy Polyakov	  functions require M here.
357657ec1fSEvgeniy Polyakov
36f11f594eSMartin K. Petersenconfig CRC_T10DIF
37f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
38f11f594eSMartin K. Petersen	help
39f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
40f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
41f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
42f11f594eSMartin K. Petersen
433e7cbae7SIvo van Doornconfig CRC_ITU_T
443e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
453e7cbae7SIvo van Doorn	help
463e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
473e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
483e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
493e7cbae7SIvo van Doorn	  functions require M here.
503e7cbae7SIvo van Doorn
511da177e4SLinus Torvaldsconfig CRC32
521da177e4SLinus Torvalds	tristate "CRC32 functions"
531da177e4SLinus Torvalds	default y
54906d66dfSAkinobu Mita	select BITREVERSE
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
571da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
581da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
591da177e4SLinus Torvalds	  require M here.
601da177e4SLinus Torvalds
61ad241528SJan Nikitenkoconfig CRC7
62ad241528SJan Nikitenko	tristate "CRC7 functions"
63ad241528SJan Nikitenko	help
64ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
65ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
66ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
67ad241528SJan Nikitenko	  functions require M here.
68ad241528SJan Nikitenko
691da177e4SLinus Torvaldsconfig LIBCRC32C
701da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
7193027354SHerbert Xu	select CRYPTO
7269c35efcSHerbert Xu	select CRYPTO_CRC32C
731da177e4SLinus Torvalds	help
741da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
751da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
761da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
771da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
781da177e4SLinus Torvalds	  Module will be libcrc32c.
791da177e4SLinus Torvalds
80e65e1fc2SAl Viroconfig AUDIT_GENERIC
81e65e1fc2SAl Viro	bool
82e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
83e65e1fc2SAl Viro	default y
84e65e1fc2SAl Viro
851da177e4SLinus Torvalds#
861da177e4SLinus Torvalds# compression support is select'ed if needed
871da177e4SLinus Torvalds#
881da177e4SLinus Torvaldsconfig ZLIB_INFLATE
891da177e4SLinus Torvalds	tristate
901da177e4SLinus Torvalds
911da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
921da177e4SLinus Torvalds	tristate
931da177e4SLinus Torvalds
9464c70b1cSRichard Purdieconfig LZO_COMPRESS
9564c70b1cSRichard Purdie	tristate
9664c70b1cSRichard Purdie
9764c70b1cSRichard Purdieconfig LZO_DECOMPRESS
9864c70b1cSRichard Purdie	tristate
9964c70b1cSRichard Purdie
1001da177e4SLinus Torvalds#
101*c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
102*c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
103*c8531ab3SH. Peter Anvin#
104*c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
105*c8531ab3SH. Peter Anvin	tristate
106*c8531ab3SH. Peter Anvin
107*c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
108*c8531ab3SH. Peter Anvin	tristate
109*c8531ab3SH. Peter Anvin
110*c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
111*c8531ab3SH. Peter Anvin	tristate
112*c8531ab3SH. Peter Anvin
113*c8531ab3SH. Peter Anvin#
114f14f75b8SJes Sorensen# Generic allocator support is selected if needed
115f14f75b8SJes Sorensen#
116f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
117f14f75b8SJes Sorensen	boolean
118f14f75b8SJes Sorensen
119f14f75b8SJes Sorensen#
1201da177e4SLinus Torvalds# reed solomon support is select'ed if needed
1211da177e4SLinus Torvalds#
1221da177e4SLinus Torvaldsconfig REED_SOLOMON
1231da177e4SLinus Torvalds	tristate
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1261da177e4SLinus Torvalds	boolean
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1291da177e4SLinus Torvalds	boolean
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1321da177e4SLinus Torvalds	boolean
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1351da177e4SLinus Torvalds	boolean
1361da177e4SLinus Torvalds
137f7704347SDavid S. Miller#
138f7704347SDavid S. Miller# Textsearch support is select'ed if needed
139f7704347SDavid S. Miller#
1402de4ff7bSThomas Grafconfig TEXTSEARCH
141f7704347SDavid S. Miller	boolean
1421da177e4SLinus Torvalds
143df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
144f7704347SDavid S. Miller	tristate
145df3fb93aSThomas Graf
1468082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
14729cb9f9cSDavid S. Miller	tristate
1488082e4edSPablo Neira Ayuso
1496408f79cSThomas Grafconfig TEXTSEARCH_FSM
150f7704347SDavid S. Miller	tristate
1516408f79cSThomas Graf
15277ba89c5SIngo Molnar#
15377ba89c5SIngo Molnar# plist support is select#ed if needed
15477ba89c5SIngo Molnar#
15577ba89c5SIngo Molnarconfig PLIST
15677ba89c5SIngo Molnar	boolean
15777ba89c5SIngo Molnar
1585ea81769SAl Viroconfig HAS_IOMEM
159ee36c2bfSAl Viro	boolean
1605ea81769SAl Viro	depends on !NO_IOMEM
1615ea81769SAl Viro	default y
1625ea81769SAl Viro
1635ea81769SAl Viroconfig HAS_IOPORT
1645ea81769SAl Viro	boolean
1655ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
166ee36c2bfSAl Viro	default y
167ee36c2bfSAl Viro
168411f0f3eSHeiko Carstensconfig HAS_DMA
169411f0f3eSHeiko Carstens	boolean
170411f0f3eSHeiko Carstens	depends on !NO_DMA
171411f0f3eSHeiko Carstens	default y
172411f0f3eSHeiko Carstens
173928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
174928923c7SGeert Uytterhoeven	bool
175928923c7SGeert Uytterhoeven
176d9b2b2a2SDavid S. Millerconfig HAVE_LMB
177d9b2b2a2SDavid S. Miller	boolean
178d9b2b2a2SDavid S. Miller
179aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
180aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
181aab46da0SRusty Russell	help
182aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
183aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
184aab46da0SRusty Russell	  stack overflow.
185aab46da0SRusty Russell
1868c384cdeSRusty Russellconfig DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
1878c384cdeSRusty Russell       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
1888c384cdeSRusty Russell       depends on EXPERIMENTAL && BROKEN
1898c384cdeSRusty Russell
1902de4ff7bSThomas Grafendmenu
191