]> git.dujemihanovic.xyz Git - u-boot.git/commit
crypto/fsl: allow accessing Job Ring from non-TrustZone
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Thu, 28 Mar 2024 10:30:12 +0000 (11:30 +0100)
committerFabio Estevam <festevam@gmail.com>
Sat, 30 Mar 2024 16:59:10 +0000 (13:59 -0300)
commitb9edc1ec86558bf056c8f75db5b48a8ca5adaf4c
tree255728c839ec0f521ad54fb66aeee12120400d12
parent131d895f929fe5f7bbabdde1da1de816f9fbff07
crypto/fsl: allow accessing Job Ring from non-TrustZone

Add a new kconfig option to allow non-secure world access
to the CAAM Job Ring.
This is needed, for example, when running linux without
OP-TEE services, as it's done on Colibri iMX7.

Fixes: 51f1357f3428 ("Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone"")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
drivers/crypto/fsl/Kconfig
drivers/crypto/fsl/jr.c
drivers/crypto/fsl/jr.h