xref: /openbmc/linux/lib/Kconfig (revision f11f594e)
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
1119870defSAlexander van Heukelum	def_bool n
1219870defSAlexander van Heukelum
1319870defSAlexander van Heukelumconfig GENERIC_FIND_NEXT_BIT
1419870defSAlexander van Heukelum	def_bool n
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
32*f11f594eSMartin K. Petersenconfig CRC_T10DIF
33*f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
34*f11f594eSMartin K. Petersen	help
35*f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
36*f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
37*f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
38*f11f594eSMartin 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"
671da177e4SLinus Torvalds	help
681da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
691da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
701da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
711da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
721da177e4SLinus Torvalds	  Module will be libcrc32c.
731da177e4SLinus Torvalds
74e65e1fc2SAl Viroconfig AUDIT_GENERIC
75e65e1fc2SAl Viro	bool
76e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
77e65e1fc2SAl Viro	default y
78e65e1fc2SAl Viro
791da177e4SLinus Torvalds#
801da177e4SLinus Torvalds# compression support is select'ed if needed
811da177e4SLinus Torvalds#
821da177e4SLinus Torvaldsconfig ZLIB_INFLATE
831da177e4SLinus Torvalds	tristate
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
861da177e4SLinus Torvalds	tristate
871da177e4SLinus Torvalds
8864c70b1cSRichard Purdieconfig LZO_COMPRESS
8964c70b1cSRichard Purdie	tristate
9064c70b1cSRichard Purdie
9164c70b1cSRichard Purdieconfig LZO_DECOMPRESS
9264c70b1cSRichard Purdie	tristate
9364c70b1cSRichard Purdie
941da177e4SLinus Torvalds#
95f14f75b8SJes Sorensen# Generic allocator support is selected if needed
96f14f75b8SJes Sorensen#
97f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
98f14f75b8SJes Sorensen	boolean
99f14f75b8SJes Sorensen
100f14f75b8SJes Sorensen#
1011da177e4SLinus Torvalds# reed solomon support is select'ed if needed
1021da177e4SLinus Torvalds#
1031da177e4SLinus Torvaldsconfig REED_SOLOMON
1041da177e4SLinus Torvalds	tristate
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
1071da177e4SLinus Torvalds	boolean
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
1101da177e4SLinus Torvalds	boolean
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
1131da177e4SLinus Torvalds	boolean
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
1161da177e4SLinus Torvalds	boolean
1171da177e4SLinus Torvalds
118f7704347SDavid S. Miller#
119f7704347SDavid S. Miller# Textsearch support is select'ed if needed
120f7704347SDavid S. Miller#
1212de4ff7bSThomas Grafconfig TEXTSEARCH
122f7704347SDavid S. Miller	boolean
1231da177e4SLinus Torvalds
124df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
125f7704347SDavid S. Miller	tristate
126df3fb93aSThomas Graf
1278082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
12829cb9f9cSDavid S. Miller	tristate
1298082e4edSPablo Neira Ayuso
1306408f79cSThomas Grafconfig TEXTSEARCH_FSM
131f7704347SDavid S. Miller	tristate
1326408f79cSThomas Graf
13377ba89c5SIngo Molnar#
13477ba89c5SIngo Molnar# plist support is select#ed if needed
13577ba89c5SIngo Molnar#
13677ba89c5SIngo Molnarconfig PLIST
13777ba89c5SIngo Molnar	boolean
13877ba89c5SIngo Molnar
1395ea81769SAl Viroconfig HAS_IOMEM
140ee36c2bfSAl Viro	boolean
1415ea81769SAl Viro	depends on !NO_IOMEM
1425ea81769SAl Viro	default y
1435ea81769SAl Viro
1445ea81769SAl Viroconfig HAS_IOPORT
1455ea81769SAl Viro	boolean
1465ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
147ee36c2bfSAl Viro	default y
148ee36c2bfSAl Viro
149411f0f3eSHeiko Carstensconfig HAS_DMA
150411f0f3eSHeiko Carstens	boolean
151411f0f3eSHeiko Carstens	depends on !NO_DMA
152411f0f3eSHeiko Carstens	default y
153411f0f3eSHeiko Carstens
154928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
155928923c7SGeert Uytterhoeven	bool
156928923c7SGeert Uytterhoeven
157d9b2b2a2SDavid S. Millerconfig HAVE_LMB
158d9b2b2a2SDavid S. Miller	boolean
159d9b2b2a2SDavid S. Miller
1602de4ff7bSThomas Grafendmenu
161