xref: /OK3568_Linux_fs/u-boot/drivers/crypto/fsl/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig FSL_CAAM
2*4882a593Smuzhiyun	bool "Freescale Crypto Driver Support"
3*4882a593Smuzhiyun	select SHA_HW_ACCEL
4*4882a593Smuzhiyun	imply CMD_HASH
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  Enables the Freescale's Cryptographic Accelerator and Assurance
7*4882a593Smuzhiyun	  Module (CAAM), also known as the SEC version 4 (SEC4). The driver uses
8*4882a593Smuzhiyun	  Job Ring as interface to communicate with CAAM.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig SYS_FSL_HAS_SEC
11*4882a593Smuzhiyun	bool
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun		Enable Freescale Secure Boot and Trusted Architecture
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig SYS_FSL_SEC_COMPAT_2
16*4882a593Smuzhiyun	bool
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun		Secure boot and trust architecture compatible version 2
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig SYS_FSL_SEC_COMPAT_4
21*4882a593Smuzhiyun	bool
22*4882a593Smuzhiyun	help
23*4882a593Smuzhiyun		Secure boot and trust architecture compatible version 4
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig SYS_FSL_SEC_COMPAT_5
26*4882a593Smuzhiyun	bool
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun		Secure boot and trust architecture compatible version 5
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig SYS_FSL_SEC_COMPAT_6
31*4882a593Smuzhiyun	bool
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun		Secure boot and trust architecture compatible version 6
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunconfig SYS_FSL_SEC_BE
36*4882a593Smuzhiyun	bool "Big-endian access to Freescale Secure Boot"
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunconfig SYS_FSL_SEC_COMPAT
39*4882a593Smuzhiyun	int "Freescale Secure Boot compatibility"
40*4882a593Smuzhiyun	depends on SYS_FSL_HAS_SEC
41*4882a593Smuzhiyun	default 2 if SYS_FSL_SEC_COMPAT_2
42*4882a593Smuzhiyun	default 4 if SYS_FSL_SEC_COMPAT_4
43*4882a593Smuzhiyun	default 5 if SYS_FSL_SEC_COMPAT_5
44*4882a593Smuzhiyun	default 6 if SYS_FSL_SEC_COMPAT_6
45*4882a593Smuzhiyun
46*4882a593Smuzhiyunconfig SYS_FSL_SEC_LE
47*4882a593Smuzhiyun	bool "Little-endian access to Freescale Secure Boot"
48