Kconfig 1.7 KB

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