Merge remote-tracking branches 'spi/topic/drivers', 'spi/topic/dw', 'spi/topic/efm32...
[linux-2.6-block.git] / lib / xz / Kconfig
CommitLineData
24fa0402
LC
1config XZ_DEC
2 tristate "XZ decompression support"
3 select CRC32
4 help
5 LZMA2 compression algorithm and BCJ filters are supported using
6 the .xz file format as the container. For integrity checking,
7 CRC32 is supported. See Documentation/xz.txt for more information.
8
9d749629
FF
9if XZ_DEC
10
24fa0402 11config XZ_DEC_X86
64dbfb44 12 bool "x86 BCJ filter decoder"
5dc49c75 13 default y if X86
24fa0402
LC
14 select XZ_DEC_BCJ
15
16config XZ_DEC_POWERPC
64dbfb44 17 bool "PowerPC BCJ filter decoder"
97da55fc 18 default y if PPC
24fa0402
LC
19 select XZ_DEC_BCJ
20
21config XZ_DEC_IA64
64dbfb44 22 bool "IA-64 BCJ filter decoder"
5dc49c75 23 default y if IA64
24fa0402
LC
24 select XZ_DEC_BCJ
25
26config XZ_DEC_ARM
64dbfb44 27 bool "ARM BCJ filter decoder"
5dc49c75 28 default y if ARM
24fa0402
LC
29 select XZ_DEC_BCJ
30
31config XZ_DEC_ARMTHUMB
64dbfb44 32 bool "ARM-Thumb BCJ filter decoder"
5dc49c75 33 default y if (ARM && ARM_THUMB)
24fa0402
LC
34 select XZ_DEC_BCJ
35
36config XZ_DEC_SPARC
64dbfb44 37 bool "SPARC BCJ filter decoder"
5dc49c75 38 default y if SPARC
24fa0402
LC
39 select XZ_DEC_BCJ
40
9d749629
FF
41endif
42
24fa0402
LC
43config XZ_DEC_BCJ
44 bool
45 default n
46
47config XZ_DEC_TEST
48 tristate "XZ decompressor tester"
49 default n
50 depends on XZ_DEC
51 help
52 This allows passing .xz files to the in-kernel XZ decoder via
53 a character special file. It calculates CRC32 of the decompressed
54 data and writes diagnostics to the system log.
55
56 Unless you are developing the XZ decoder, you don't need this
57 and should say N.