From: Emanuele Ghidoli <[email protected]>
This series allows using Freescale CAAM Job Ring from Linux without having
OP-TEE,
this is needed for example on Toradex Colibri iMX7 where we just have U-Boot +
Linux kernel.
To achieve this add a new config option to allow the non-secure world to access
job rings.
The functionality has been broken since U-Boot v2019.07, with commit
51f1357f3428
("Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone"")
Link:
https://lore.kernel.org/all/[email protected]/
---
v2:
* Kconfig: spelt "CAAM" instead of caam
* Kconfig: removed "default=n"
v1:
https://lore.kernel.org/all/[email protected]/
Emanuele Ghidoli (3):
crypto/fsl: allow accessing Job Ring from non-TrustZone
configs: colibri-imx7: set non-secure boot mode as default
configs: colibri-imx7: allow accessing job-rings from non-TrustZone
configs/colibri_imx7_defconfig | 1 +
configs/colibri_imx7_emmc_defconfig | 2 +-
drivers/crypto/fsl/Kconfig | 6 ++++++
drivers/crypto/fsl/jr.c | 19 +++++++++++++++++++
drivers/crypto/fsl/jr.h | 2 ++
5 files changed, 29 insertions(+), 1 deletion(-)
--
2.34.1