xref: /openbmc/u-boot/drivers/crypto/fsl/Kconfig (revision 551c3934466503e6c8702df412e2a9ce574557e9)
134276478SRuchika Guptaconfig FSL_CAAM
234276478SRuchika Gupta	bool "Freescale Crypto Driver Support"
3089df18bSTom Rini	select SHA_HW_ACCEL
4*551c3934SSimon Glass	imply CMD_HASH
534276478SRuchika Gupta	help
634276478SRuchika Gupta	  Enables the Freescale's Cryptographic Accelerator and Assurance
734276478SRuchika Gupta	  Module (CAAM), also known as the SEC version 4 (SEC4). The driver uses
834276478SRuchika Gupta	  Job Ring as interface to communicate with CAAM.
92c2e2c9eSYork Sun
102c2e2c9eSYork Sunconfig SYS_FSL_HAS_SEC
112c2e2c9eSYork Sun	bool
122c2e2c9eSYork Sun	help
132c2e2c9eSYork Sun		Enable Freescale Secure Boot and Trusted Architecture
142c2e2c9eSYork Sun
152c2e2c9eSYork Sunconfig SYS_FSL_SEC_COMPAT_2
162c2e2c9eSYork Sun	bool
172c2e2c9eSYork Sun	help
182c2e2c9eSYork Sun		Secure boot and trust architecture compatible version 2
192c2e2c9eSYork Sun
202c2e2c9eSYork Sunconfig SYS_FSL_SEC_COMPAT_4
212c2e2c9eSYork Sun	bool
222c2e2c9eSYork Sun	help
232c2e2c9eSYork Sun		Secure boot and trust architecture compatible version 4
242c2e2c9eSYork Sun
252c2e2c9eSYork Sunconfig SYS_FSL_SEC_COMPAT_5
262c2e2c9eSYork Sun	bool
272c2e2c9eSYork Sun	help
282c2e2c9eSYork Sun		Secure boot and trust architecture compatible version 5
292c2e2c9eSYork Sun
302c2e2c9eSYork Sunconfig SYS_FSL_SEC_COMPAT_6
312c2e2c9eSYork Sun	bool
322c2e2c9eSYork Sun	help
332c2e2c9eSYork Sun		Secure boot and trust architecture compatible version 6
342c2e2c9eSYork Sun
3590b80386SYork Sunconfig SYS_FSL_SEC_BE
3690b80386SYork Sun	bool "Big-endian access to Freescale Secure Boot"
3790b80386SYork Sun
382c2e2c9eSYork Sunconfig SYS_FSL_SEC_COMPAT
392c2e2c9eSYork Sun	int "Freescale Secure Boot compatibility"
402c2e2c9eSYork Sun	depends on SYS_FSL_HAS_SEC
412c2e2c9eSYork Sun	default 2 if SYS_FSL_SEC_COMPAT_2
422c2e2c9eSYork Sun	default 4 if SYS_FSL_SEC_COMPAT_4
432c2e2c9eSYork Sun	default 5 if SYS_FSL_SEC_COMPAT_5
442c2e2c9eSYork Sun	default 6 if SYS_FSL_SEC_COMPAT_6
4590b80386SYork Sun
4690b80386SYork Sunconfig SYS_FSL_SEC_LE
4790b80386SYork Sun	bool "Little-endian access to Freescale Secure Boot"
48