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