xref: /openbmc/linux/lib/Kconfig (revision 3e7cbae7)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
7a5cfc1ecSAkinobu Mitaconfig BITREVERSE
8a5cfc1ecSAkinobu Mita	tristate
9a5cfc1ecSAkinobu Mita
101da177e4SLinus Torvaldsconfig CRC_CCITT
111da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
121da177e4SLinus Torvalds	help
131da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
141da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
151da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
161da177e4SLinus Torvalds	  functions require M here.
171da177e4SLinus Torvalds
187657ec1fSEvgeniy Polyakovconfig CRC16
197657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
207657ec1fSEvgeniy Polyakov	help
217657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
227657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
237657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
247657ec1fSEvgeniy Polyakov	  functions require M here.
257657ec1fSEvgeniy Polyakov
26*3e7cbae7SIvo van Doornconfig CRC_ITU_T
27*3e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
28*3e7cbae7SIvo van Doorn	help
29*3e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
30*3e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
31*3e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
32*3e7cbae7SIvo van Doorn	  functions require M here.
33*3e7cbae7SIvo van Doorn
341da177e4SLinus Torvaldsconfig CRC32
351da177e4SLinus Torvalds	tristate "CRC32 functions"
361da177e4SLinus Torvalds	default y
37906d66dfSAkinobu Mita	select BITREVERSE
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
401da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
411da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
421da177e4SLinus Torvalds	  require M here.
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldsconfig LIBCRC32C
451da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
461da177e4SLinus Torvalds	help
471da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
481da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
491da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
501da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
511da177e4SLinus Torvalds	  Module will be libcrc32c.
521da177e4SLinus Torvalds
53e65e1fc2SAl Viroconfig AUDIT_GENERIC
54e65e1fc2SAl Viro	bool
55e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
56e65e1fc2SAl Viro	default y
57e65e1fc2SAl Viro
581da177e4SLinus Torvalds#
591da177e4SLinus Torvalds# compression support is select'ed if needed
601da177e4SLinus Torvalds#
611da177e4SLinus Torvaldsconfig ZLIB_INFLATE
621da177e4SLinus Torvalds	tristate
631da177e4SLinus Torvalds
641da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
651da177e4SLinus Torvalds	tristate
661da177e4SLinus Torvalds
671da177e4SLinus Torvalds#
68f14f75b8SJes Sorensen# Generic allocator support is selected if needed
69f14f75b8SJes Sorensen#
70f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
71f14f75b8SJes Sorensen	boolean
72f14f75b8SJes Sorensen
73f14f75b8SJes Sorensen#
741da177e4SLinus Torvalds# reed solomon support is select'ed if needed
751da177e4SLinus Torvalds#
761da177e4SLinus Torvaldsconfig REED_SOLOMON
771da177e4SLinus Torvalds	tristate
781da177e4SLinus Torvalds
791da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
801da177e4SLinus Torvalds	boolean
811da177e4SLinus Torvalds
821da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
831da177e4SLinus Torvalds	boolean
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
861da177e4SLinus Torvalds	boolean
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
891da177e4SLinus Torvalds	boolean
901da177e4SLinus Torvalds
91f7704347SDavid S. Miller#
92f7704347SDavid S. Miller# Textsearch support is select'ed if needed
93f7704347SDavid S. Miller#
942de4ff7bSThomas Grafconfig TEXTSEARCH
95f7704347SDavid S. Miller	boolean
961da177e4SLinus Torvalds
97df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
98f7704347SDavid S. Miller	tristate
99df3fb93aSThomas Graf
1008082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
10129cb9f9cSDavid S. Miller	tristate
1028082e4edSPablo Neira Ayuso
1036408f79cSThomas Grafconfig TEXTSEARCH_FSM
104f7704347SDavid S. Miller	tristate
1056408f79cSThomas Graf
10677ba89c5SIngo Molnar#
10777ba89c5SIngo Molnar# plist support is select#ed if needed
10877ba89c5SIngo Molnar#
10977ba89c5SIngo Molnarconfig PLIST
11077ba89c5SIngo Molnar	boolean
11177ba89c5SIngo Molnar
1125ea81769SAl Viroconfig HAS_IOMEM
113ee36c2bfSAl Viro	boolean
1145ea81769SAl Viro	depends on !NO_IOMEM
1155ea81769SAl Viro	default y
1165ea81769SAl Viro
1175ea81769SAl Viroconfig HAS_IOPORT
1185ea81769SAl Viro	boolean
1195ea81769SAl Viro	depends on HAS_IOMEM && !NO_IOPORT
120ee36c2bfSAl Viro	default y
121ee36c2bfSAl Viro
1222de4ff7bSThomas Grafendmenu
123