xref: /openbmc/linux/lib/Kconfig (revision 93027354)
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
161da177e4SLinus Torvaldsconfig CRC_CCITT
171da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
181da177e4SLinus Torvalds	help
191da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
201da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
211da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
221da177e4SLinus Torvalds	  functions require M here.
231da177e4SLinus Torvalds
247657ec1fSEvgeniy Polyakovconfig CRC16
257657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
267657ec1fSEvgeniy Polyakov	help
277657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
287657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
297657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
307657ec1fSEvgeniy Polyakov	  functions require M here.
317657ec1fSEvgeniy Polyakov
32f11f594eSMartin K. Petersenconfig CRC_T10DIF
33f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
34f11f594eSMartin K. Petersen	help
35f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
36f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
37f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
38f11f594eSMartin K. Petersen
393e7cbae7SIvo van Doornconfig CRC_ITU_T
403e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
413e7cbae7SIvo van Doorn	help
423e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
433e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
443e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
453e7cbae7SIvo van Doorn	  functions require M here.
463e7cbae7SIvo van Doorn
471da177e4SLinus Torvaldsconfig CRC32
481da177e4SLinus Torvalds	tristate "CRC32 functions"
491da177e4SLinus Torvalds	default y
50906d66dfSAkinobu Mita	select BITREVERSE
511da177e4SLinus Torvalds	help
521da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
531da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
541da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
551da177e4SLinus Torvalds	  require M here.
561da177e4SLinus Torvalds
57ad241528SJan Nikitenkoconfig CRC7
58ad241528SJan Nikitenko	tristate "CRC7 functions"
59ad241528SJan Nikitenko	help
60ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
61ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
62ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
63ad241528SJan Nikitenko	  functions require M here.
64ad241528SJan Nikitenko
651da177e4SLinus Torvaldsconfig LIBCRC32C
661da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
67*93027354SHerbert Xu	select CRYPTO
6869c35efcSHerbert Xu	select CRYPTO_CRC32C
691da177e4SLinus Torvalds	help
701da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
711da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
721da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
731da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
741da177e4SLinus Torvalds	  Module will be libcrc32c.
751da177e4SLinus Torvalds
76e65e1fc2SAl Viroconfig AUDIT_GENERIC
77e65e1fc2SAl Viro	bool
78e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
79e65e1fc2SAl Viro	default y
80e65e1fc2SAl Viro
811da177e4SLinus Torvalds#
821da177e4SLinus Torvalds# compression support is select'ed if needed
831da177e4SLinus Torvalds#
841da177e4SLinus Torvaldsconfig ZLIB_INFLATE
851da177e4SLinus Torvalds	tristate
861da177e4SLinus Torvalds
871da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
881da177e4SLinus Torvalds	tristate
891da177e4SLinus Torvalds
9064c70b1cSRichard Purdieconfig LZO_COMPRESS
9164c70b1cSRichard Purdie	tristate
9264c70b1cSRichard Purdie
9364c70b1cSRichard Purdieconfig LZO_DECOMPRESS
9464c70b1cSRichard Purdie	tristate
9564c70b1cSRichard Purdie
961da177e4SLinus Torvalds#
97f14f75b8SJes Sorensen# Generic allocator support is selected if needed
98f14f75b8SJes Sorensen#
99f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
100f14f75b8SJes Sorensen	boolean
101f14f75b8SJes Sorensen
102f14f75b8SJes Sorensen#
1031da177e4SLinus Torvalds# reed solomon support is select'ed if needed
1041da177e4SLinus Torvalds#
1051da177e4SLinus Torvaldsconfig REED_SOLOMON
1061da177e4SLinus Torvalds	tristate
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1091da177e4SLinus Torvalds	boolean
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1121da177e4SLinus Torvalds	boolean
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1151da177e4SLinus Torvalds	boolean
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1181da177e4SLinus Torvalds	boolean
1191da177e4SLinus Torvalds
120f7704347SDavid S. Miller#
121f7704347SDavid S. Miller# Textsearch support is select'ed if needed
122f7704347SDavid S. Miller#
1232de4ff7bSThomas Grafconfig TEXTSEARCH
124f7704347SDavid S. Miller	boolean
1251da177e4SLinus Torvalds
126df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
127f7704347SDavid S. Miller	tristate
128df3fb93aSThomas Graf
1298082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
13029cb9f9cSDavid S. Miller	tristate
1318082e4edSPablo Neira Ayuso
1326408f79cSThomas Grafconfig TEXTSEARCH_FSM
133f7704347SDavid S. Miller	tristate
1346408f79cSThomas Graf
13577ba89c5SIngo Molnar#
13677ba89c5SIngo Molnar# plist support is select#ed if needed
13777ba89c5SIngo Molnar#
13877ba89c5SIngo Molnarconfig PLIST
13977ba89c5SIngo Molnar	boolean
14077ba89c5SIngo Molnar
1415ea81769SAl Viroconfig HAS_IOMEM
142ee36c2bfSAl Viro	boolean
1435ea81769SAl Viro	depends on !NO_IOMEM
1445ea81769SAl Viro	default y
1455ea81769SAl Viro
1465ea81769SAl Viroconfig HAS_IOPORT
1475ea81769SAl Viro	boolean
1485ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
149ee36c2bfSAl Viro	default y
150ee36c2bfSAl Viro
151411f0f3eSHeiko Carstensconfig HAS_DMA
152411f0f3eSHeiko Carstens	boolean
153411f0f3eSHeiko Carstens	depends on !NO_DMA
154411f0f3eSHeiko Carstens	default y
155411f0f3eSHeiko Carstens
156928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
157928923c7SGeert Uytterhoeven	bool
158928923c7SGeert Uytterhoeven
159d9b2b2a2SDavid S. Millerconfig HAVE_LMB
160d9b2b2a2SDavid S. Miller	boolean
161d9b2b2a2SDavid S. Miller
1622de4ff7bSThomas Grafendmenu
163