summaryrefslogtreecommitdiff
path: root/drivers/mxc/security/Kconfig
blob: f41a84ac84fd5da5561c2a059c5c02fd48593f70 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
menu "MXC Security Drivers"

config MXC_SECURITY_SCC
	tristate "MXC SCC Driver"
	default n
	---help---
	  This module contains the core API's for accessing the SCC module.
	  If you are unsure about this, say N here.
config SCC_DEBUG
        bool "MXC SCC Module debugging"
        depends on MXC_SECURITY_SCC
        ---help---
        This is an option for use by developers; most people should
        say N here.  This enables HAC module debugging.

config MXC_SECURITY_SCC2
        tristate "MXC SCC2 Driver"
        depends on ARCH_MXC92323
        default n
        ---help---
          This module contains the core API's for accessing the SCC2 module.
          If you are unsure about this, say N here.
config SCC_DEBUG
        bool "MXC SCC2 Module debugging"
        depends on MXC_SECURITY_SCC2
        ---help---
        This is an option for use by developers; most people should
        say N here.  This enables HAC module debugging.


config MXC_SECURITY_RNG
	tristate "MXC RNG Driver"
	depends on ARCH_MXC
	depends on !ARCH_MXC91321
	depends on !ARCH_MX27
	default n
	select MXC_SECURITY_CORE
	---help---
	  This module contains the core API's for accessing the RNG module.
	  If you are unsure about this, say N here.

config MXC_RNG_TEST_DRIVER
	bool "MXC RNG debug register"
	depends on MXC_SECURITY_RNG
	default n
	---help---
	  This option enables the RNG kcore driver to provide peek-poke facility
	  into the RNG device registers. Enable this, only for development and
	  testing purposes.
config MXC_RNG_DEBUG
        bool "MXC RNG Module Dubugging"
        depends on MXC_SECURITY_RNG
        default n
        ---help---
         This is an option for use by developers; most people should
         say N here. This enables RNG module debugging.


config MXC_SECURITY_HAC
	tristate "MXC HAC Driver"
	depends on ARCH_MXC
	depends on ARCH_MXC91131
	default n
	select MXC_SECURITY_CORE
	---help---
	  This module contains the core API's for accessing the HAC module.
	  If you are unsure about this, say N here.

config MXC_HAC_TEST_DEBUG
	bool "MXC HAC Module debugging"
	depends on MXC_SECURITY_HAC
	---help---
        This is an option for use by developers; most people should
        say N here.  This enables HAC module debugging.

config MXC_SECURITY_RTIC
	tristate "MXC RTIC Driver"
	depends on ARCH_MXC
	depends on !ARCH_MX21
	default n
	select MXC_SECURITY_CORE
	---help---
	  This module contains the core API's for accessing the RTIC module.
	  If you are unsure about this, say N here.

config MXC_RTIC_TEST_DEBUG
	bool "MXC RTIC module debugging"
	depends on MXC_SECURITY_RTIC
	default n
	---help---
	  This is an option for use by developers; most people should
	  say N here.  This enables RTIC module debugging.

config MXC_SECURITY_CORE
	tristate

if (ARCH_MXC91231 || ARCH_MXC91321 || ARCH_MX27 || ARCH_MXC92323) && MXC_SECURITY_RNG=n && MXC_SECURITY_HAC=n
source "drivers/mxc/security/sahara2/Kconfig"
endif

endmenu