summaryrefstree
path: root/kernel/drivers/crypto/fmp/Kconfig
blob: e42c34df13241f105b6a0b76891975bf0a188218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
config FMP_UFS
	tristate "Samsung EXYNOS FMP Driver for UFS"
	depends on SCSI_UFSHCD && SCSI_UFSHCD_PLATFORM
	depends on UFS_FMP_DM_CRYPT || UFS_FMP_ECRYPT_FS || UFS_FMP_EXT4CRYPT_FS
	---help---
	  This is EXYNOS FMP UFS driver.

	  It is enabled automatically when any UFS FMP feature is enabled.

config FMP_MMC
	tristate "Samsung EXYNOS FMP Driver for MMC"
	depends on MMC_DW
	depends on MMC_DW_FMP_DM_CRYPT || MMC_DW_FMP_ECRYPT_FS || MMC_DW_FMP_EXT4CRYPT_FS
	---help---
	  This is EXYNOS FMP MMC driver.

	  It is enabled automatically when any MMC FMP feature is enabled.

config FMP_DM_CRYPT
	tristate "Samsung EXYNOS FMP DM_CRYPT Driver"
        depends on DM_CRYPT
	depends on UFS_FMP_DM_CRYPT || MMC_DW_FMP_DM_CRYPT
	---help---
	  This is EXYNOS FMP DM_CRYPT driver.

	  It is enabled automatically when any FMP DM_CRYPT feature is enabled.

config FMP_ECRYPT_FS
	tristate "Samsung EXYNOS FMP ECRYPT_FS Driver"
        depends on ECRYPT_FS
	depends on UFS_FMP_ECRYPT_FS || MMC_DW_FMP_ECRYPT_FS
	---help---
	  This is EXYNOS FMP ECRYPT_FS driver.

	  It is enabled automatically when any FMP ECRYPT_FS feature is enabled.

config FMP_EXT4CRYPT_FS
	tristate "Samsung EXYNOS FMP Ext4Crypt FS ENcryption Driver"
        depends on EXT4_FS_ENCRYPTION
	depends on UFS_FMP_EXT4CRYPT_FS || MMC_DW_FMP_EXT4CRYPT_FS
	---help---
	  This is EXYNOS FMP Ext4Crypt FS ENCRYPTION driver.

	  It is enabled automatically when any Ext4Crypt FMP FS feature is enabled.

config FIPS_FMP
	tristate "Samsung EXYNOS FMP Validation Driver for FIPS"
	depends on FMP_UFS
	depends on !FUNCTION_TRACER
	---help---
	  This selects Samsung EXYNOS FMP Validation driver for FIPS.

	  If you have a controller with this interface, say Y here.

	  If unsure, say N.

choice
	prompt "Option for self-test failure"
	depends on FIPS_FMP
	default NODE_FOR_SELFTEST_FAIL

config NODE_FOR_SELFTEST_FAIL
	bool "Set fips fmp node when self-test fails"
	depends on FIPS_FMP
	help
	   This select that fips fmp node was set to zero when FMP self-test fails.

config PANIC_FOR_SELFTEST_FAIL
	bool "Panic when self-test fails"
	depends on FIPS_FMP
	help
	   This select that kernel panic occurs when FMP self-test fails.

endchoice