27 Apr, 2020

3 commits

  • Call the TRNG init function at the end of arch_cpu_init()
    Concerned SoCs are: i.MX6, i.MX7 and i.MX8M

    Signed-off-by: Aymen Sghaier
    (cherry picked from commit 996329904c0304a7bfbc6cda8287ab93de77870d)
    (cherry picked from commit 5dd4441081f2af6f198a4d43eb1a3e543d986306)

    Aymen Sghaier
     
  • The following reasons lead to instantiate the TRNG into U-Boot/SPL:

    - On some i.MX platforms Linux Kernel could not instantiate RNG
    - RNG could be used/needed by M4/M0 cores before Kernel stage
    - Having the RNG instantiation implemented only once for
    almost i.MX platforms

    Signed-off-by: Aymen Sghaier
    (cherry picked from commit 1f4134c85f6416cbdadaf5f4ff6321f6c685c74c)
    (cherry picked from commit 20bd91de9f4b305adb15dda3a09fd9958557a82b)
    Signed-off-by: Ye Li

    Aymen Sghaier
     
  • Add the fsl CAAM driver and new commands to implement DEK blob operations,
    like "caam genblob" to generate encrypted blob and "caam decap" to output
    orignal plain data.

    Signed-off-by: Ye Li
    (cherry picked from commit 4ec81a0b075d8d853ac696172660a7771064405d)
    (cherry picked from commit fcd29e9dd2e13e4650741603ca1bfb40fe1a9ede)

    Ye Li