xref: /openbmc/linux/lib/Kconfig (revision 69c35efc)
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*69c35efcSHerbert Xu	select CRYPTO_CRC32C
681da177e4SLinus Torvalds	help
691da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
701da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
711da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
721da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
731da177e4SLinus Torvalds	  Module will be libcrc32c.
741da177e4SLinus Torvalds
75e65e1fc2SAl Viroconfig AUDIT_GENERIC
76e65e1fc2SAl Viro	bool
77e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
78e65e1fc2SAl Viro	default y
79e65e1fc2SAl Viro
801da177e4SLinus Torvalds#
811da177e4SLinus Torvalds# compression support is select'ed if needed
821da177e4SLinus Torvalds#
831da177e4SLinus Torvaldsconfig ZLIB_INFLATE
841da177e4SLinus Torvalds	tristate
851da177e4SLinus Torvalds
861da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
871da177e4SLinus Torvalds	tristate
881da177e4SLinus Torvalds
8964c70b1cSRichard Purdieconfig LZO_COMPRESS
9064c70b1cSRichard Purdie	tristate
9164c70b1cSRichard Purdie
9264c70b1cSRichard Purdieconfig LZO_DECOMPRESS
9364c70b1cSRichard Purdie	tristate
9464c70b1cSRichard Purdie
951da177e4SLinus Torvalds#
96f14f75b8SJes Sorensen# Generic allocator support is selected if needed
97f14f75b8SJes Sorensen#
98f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
99f14f75b8SJes Sorensen	boolean
100f14f75b8SJes Sorensen
101f14f75b8SJes Sorensen#
1021da177e4SLinus Torvalds# reed solomon support is select'ed if needed
1031da177e4SLinus Torvalds#
1041da177e4SLinus Torvaldsconfig REED_SOLOMON
1051da177e4SLinus Torvalds	tristate
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1081da177e4SLinus Torvalds	boolean
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1111da177e4SLinus Torvalds	boolean
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1141da177e4SLinus Torvalds	boolean
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1171da177e4SLinus Torvalds	boolean
1181da177e4SLinus Torvalds
119f7704347SDavid S. Miller#
120f7704347SDavid S. Miller# Textsearch support is select'ed if needed
121f7704347SDavid S. Miller#
1222de4ff7bSThomas Grafconfig TEXTSEARCH
123f7704347SDavid S. Miller	boolean
1241da177e4SLinus Torvalds
125df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
126f7704347SDavid S. Miller	tristate
127df3fb93aSThomas Graf
1288082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
12929cb9f9cSDavid S. Miller	tristate
1308082e4edSPablo Neira Ayuso
1316408f79cSThomas Grafconfig TEXTSEARCH_FSM
132f7704347SDavid S. Miller	tristate
1336408f79cSThomas Graf
13477ba89c5SIngo Molnar#
13577ba89c5SIngo Molnar# plist support is select#ed if needed
13677ba89c5SIngo Molnar#
13777ba89c5SIngo Molnarconfig PLIST
13877ba89c5SIngo Molnar	boolean
13977ba89c5SIngo Molnar
1405ea81769SAl Viroconfig HAS_IOMEM
141ee36c2bfSAl Viro	boolean
1425ea81769SAl Viro	depends on !NO_IOMEM
1435ea81769SAl Viro	default y
1445ea81769SAl Viro
1455ea81769SAl Viroconfig HAS_IOPORT
1465ea81769SAl Viro	boolean
1475ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
148ee36c2bfSAl Viro	default y
149ee36c2bfSAl Viro
150411f0f3eSHeiko Carstensconfig HAS_DMA
151411f0f3eSHeiko Carstens	boolean
152411f0f3eSHeiko Carstens	depends on !NO_DMA
153411f0f3eSHeiko Carstens	default y
154411f0f3eSHeiko Carstens
155928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
156928923c7SGeert Uytterhoeven	bool
157928923c7SGeert Uytterhoeven
158d9b2b2a2SDavid S. Millerconfig HAVE_LMB
159d9b2b2a2SDavid S. Miller	boolean
160d9b2b2a2SDavid S. Miller
1612de4ff7bSThomas Grafendmenu
162