1config FSL_CAAM 2 bool "Freescale Crypto Driver Support" 3 select SHA_HW_ACCEL 4 imply CMD_HASH 5 help 6 Enables the Freescale's Cryptographic Accelerator and Assurance 7 Module (CAAM), also known as the SEC version 4 (SEC4). The driver uses 8 Job Ring as interface to communicate with CAAM. 9 10config CAAM_64BIT 11 bool 12 default y if PHYS_64BIT && !ARCH_IMX8M 13 help 14 Select Crypto driver for 64 bits CAAM version 15 16config SYS_FSL_HAS_SEC 17 bool 18 help 19 Enable Freescale Secure Boot and Trusted Architecture 20 21config SYS_FSL_SEC_COMPAT_2 22 bool 23 help 24 Secure boot and trust architecture compatible version 2 25 26config SYS_FSL_SEC_COMPAT_4 27 bool 28 help 29 Secure boot and trust architecture compatible version 4 30 31config SYS_FSL_SEC_COMPAT_5 32 bool 33 help 34 Secure boot and trust architecture compatible version 5 35 36config SYS_FSL_SEC_COMPAT_6 37 bool 38 help 39 Secure boot and trust architecture compatible version 6 40 41config SYS_FSL_SEC_BE 42 bool "Big-endian access to Freescale Secure Boot" 43 44config SYS_FSL_SEC_COMPAT 45 int "Freescale Secure Boot compatibility" 46 depends on SYS_FSL_HAS_SEC 47 default 2 if SYS_FSL_SEC_COMPAT_2 48 default 4 if SYS_FSL_SEC_COMPAT_4 49 default 5 if SYS_FSL_SEC_COMPAT_5 50 default 6 if SYS_FSL_SEC_COMPAT_6 51 52config SYS_FSL_SEC_LE 53 bool "Little-endian access to Freescale Secure Boot" 54 55if FSL_CAAM 56 57config FSL_CAAM_RNG 58 bool "Enable Random Number Generator support" 59 depends on DM_RNG 60 default y 61 help 62 Enable support for the hardware based random number generator 63 module of the CAAM. The random data is fetched from the DRGB 64 using the prediction resistance flag which means the DRGB is 65 reseeded from the TRNG every time random data is generated. 66 67endif 68