1# SPDX-License-Identifier: GPL-2.0-only 2config XZ_DEC 3 tristate "XZ decompression support" 4 select CRC32 5 help 6 LZMA2 compression algorithm and BCJ filters are supported using 7 the .xz file format as the container. For integrity checking, 8 CRC32 is supported. See Documentation/staging/xz.rst for more 9 information. 10 11if XZ_DEC 12 13config XZ_DEC_X86 14 bool "x86 BCJ filter decoder" if EXPERT 15 default y 16 select XZ_DEC_BCJ 17 18config XZ_DEC_POWERPC 19 bool "PowerPC BCJ filter decoder" if EXPERT 20 default y 21 select XZ_DEC_BCJ 22 23config XZ_DEC_ARM 24 bool "ARM BCJ filter decoder" if EXPERT 25 default y 26 select XZ_DEC_BCJ 27 28config XZ_DEC_ARMTHUMB 29 bool "ARM-Thumb BCJ filter decoder" if EXPERT 30 default y 31 select XZ_DEC_BCJ 32 33config XZ_DEC_SPARC 34 bool "SPARC BCJ filter decoder" if EXPERT 35 default y 36 select XZ_DEC_BCJ 37 38config XZ_DEC_MICROLZMA 39 bool "MicroLZMA decoder" 40 default n 41 help 42 MicroLZMA is a header format variant where the first byte 43 of a raw LZMA stream (without the end of stream marker) has 44 been replaced with a bitwise-negation of the lc/lp/pb 45 properties byte. MicroLZMA was created to be used in EROFS 46 but can be used by other things too where wasting minimal 47 amount of space for headers is important. 48 49 Unless you know that you need this, say N. 50 51endif 52 53config XZ_DEC_BCJ 54 bool 55 default n 56 57config XZ_DEC_TEST 58 tristate "XZ decompressor tester" 59 default n 60 depends on XZ_DEC 61 help 62 This allows passing .xz files to the in-kernel XZ decoder via 63 a character special file. It calculates CRC32 of the decompressed 64 data and writes diagnostics to the system log. 65 66 Unless you are developing the XZ decoder, you don't need this 67 and should say N. 68