On Fri, Jan 26, 2018 at 2:27 PM, Bryan O'Donoghue <bryan.odonog...@linaro.org> wrote: > This patch adds a sec_init call into arch_misc_init(). Doing so in > conjunction with the patch "drivers/crypto/fsl: assign job-rings to > non-TrustZone" enables use of the CAAM in Linux when OPTEE/TrustZone is > active. > > u-boot will initialise the RNG and assign ownership of the job-ring > registers to a non-TrustZone context. With recent changes by Lukas Auer to > fully initialize the RNG in sec_init() this means that u-boot will hand-off > the CAAM in a state that Linux then can use the CAAM without touching the > reserved DECO registers. > > This change is safe both for the OPTEE/TrustZone boot path and the regular > non-OPTEE/TrustZone boot path. > > Signed-off-by: Bryan O'Donoghue <bryan.odonog...@linaro.org> > Cc: Fabio Estevam <fabio.este...@nxp.com> > Cc: Peng Fan <peng....@nxp.com> > Cc: Marco Franchi <marco.fran...@nxp.com> > Cc: Vanessa Maegima <vanessa.maeg...@nxp.com> > Cc: Stefano Babic <sba...@denx.de> > Cc: Lukas Auer <lukas.a...@aisec.fraunhofer.de>
Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot