xref: /openbmc/linux/lib/Kconfig (revision 19870def)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
7a5cfc1ecSAkinobu Mitaconfig BITREVERSE
8a5cfc1ecSAkinobu Mita	tristate
9a5cfc1ecSAkinobu Mita
10*19870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
11*19870defSAlexander van Heukelum	def_bool n
12*19870defSAlexander van Heukelum
13*19870defSAlexander van Heukelumconfig GENERIC_FIND_NEXT_BIT
14*19870defSAlexander van Heukelum	def_bool n
15*19870defSAlexander 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
323e7cbae7SIvo van Doornconfig CRC_ITU_T
333e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
343e7cbae7SIvo van Doorn	help
353e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
363e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
373e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
383e7cbae7SIvo van Doorn	  functions require M here.
393e7cbae7SIvo van Doorn
401da177e4SLinus Torvaldsconfig CRC32
411da177e4SLinus Torvalds	tristate "CRC32 functions"
421da177e4SLinus Torvalds	default y
43906d66dfSAkinobu Mita	select BITREVERSE
441da177e4SLinus Torvalds	help
451da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
461da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
471da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
481da177e4SLinus Torvalds	  require M here.
491da177e4SLinus Torvalds
50ad241528SJan Nikitenkoconfig CRC7
51ad241528SJan Nikitenko	tristate "CRC7 functions"
52ad241528SJan Nikitenko	help
53ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
54ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
55ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
56ad241528SJan Nikitenko	  functions require M here.
57ad241528SJan Nikitenko
581da177e4SLinus Torvaldsconfig LIBCRC32C
591da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
601da177e4SLinus Torvalds	help
611da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
621da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
631da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
641da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
651da177e4SLinus Torvalds	  Module will be libcrc32c.
661da177e4SLinus Torvalds
67e65e1fc2SAl Viroconfig AUDIT_GENERIC
68e65e1fc2SAl Viro	bool
69e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
70e65e1fc2SAl Viro	default y
71e65e1fc2SAl Viro
721da177e4SLinus Torvalds#
731da177e4SLinus Torvalds# compression support is select'ed if needed
741da177e4SLinus Torvalds#
751da177e4SLinus Torvaldsconfig ZLIB_INFLATE
761da177e4SLinus Torvalds	tristate
771da177e4SLinus Torvalds
781da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
791da177e4SLinus Torvalds	tristate
801da177e4SLinus Torvalds
8164c70b1cSRichard Purdieconfig LZO_COMPRESS
8264c70b1cSRichard Purdie	tristate
8364c70b1cSRichard Purdie
8464c70b1cSRichard Purdieconfig LZO_DECOMPRESS
8564c70b1cSRichard Purdie	tristate
8664c70b1cSRichard Purdie
871da177e4SLinus Torvalds#
88f14f75b8SJes Sorensen# Generic allocator support is selected if needed
89f14f75b8SJes Sorensen#
90f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
91f14f75b8SJes Sorensen	boolean
92f14f75b8SJes Sorensen
93f14f75b8SJes Sorensen#
941da177e4SLinus Torvalds# reed solomon support is select'ed if needed
951da177e4SLinus Torvalds#
961da177e4SLinus Torvaldsconfig REED_SOLOMON
971da177e4SLinus Torvalds	tristate
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1001da177e4SLinus Torvalds	boolean
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1031da177e4SLinus Torvalds	boolean
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1061da177e4SLinus Torvalds	boolean
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1091da177e4SLinus Torvalds	boolean
1101da177e4SLinus Torvalds
111f7704347SDavid S. Miller#
112f7704347SDavid S. Miller# Textsearch support is select'ed if needed
113f7704347SDavid S. Miller#
1142de4ff7bSThomas Grafconfig TEXTSEARCH
115f7704347SDavid S. Miller	boolean
1161da177e4SLinus Torvalds
117df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
118f7704347SDavid S. Miller	tristate
119df3fb93aSThomas Graf
1208082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
12129cb9f9cSDavid S. Miller	tristate
1228082e4edSPablo Neira Ayuso
1236408f79cSThomas Grafconfig TEXTSEARCH_FSM
124f7704347SDavid S. Miller	tristate
1256408f79cSThomas Graf
12677ba89c5SIngo Molnar#
12777ba89c5SIngo Molnar# plist support is select#ed if needed
12877ba89c5SIngo Molnar#
12977ba89c5SIngo Molnarconfig PLIST
13077ba89c5SIngo Molnar	boolean
13177ba89c5SIngo Molnar
1325ea81769SAl Viroconfig HAS_IOMEM
133ee36c2bfSAl Viro	boolean
1345ea81769SAl Viro	depends on !NO_IOMEM
1355ea81769SAl Viro	default y
1365ea81769SAl Viro
1375ea81769SAl Viroconfig HAS_IOPORT
1385ea81769SAl Viro	boolean
1395ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
140ee36c2bfSAl Viro	default y
141ee36c2bfSAl Viro
142411f0f3eSHeiko Carstensconfig HAS_DMA
143411f0f3eSHeiko Carstens	boolean
144411f0f3eSHeiko Carstens	depends on !NO_DMA
145411f0f3eSHeiko Carstens	default y
146411f0f3eSHeiko Carstens
147928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
148928923c7SGeert Uytterhoeven	bool
149928923c7SGeert Uytterhoeven
150d9b2b2a2SDavid S. Millerconfig HAVE_LMB
151d9b2b2a2SDavid S. Miller	boolean
152d9b2b2a2SDavid S. Miller
1532de4ff7bSThomas Grafendmenu
154