imx: imx_caam: Add code to initialize the CAAM job-rings to NS-world
This patch defines the most basic part of the CAAM and the only piece of
the CAAM silicon we are really interested in, in ATF, the CAAM control
structure.

The CAAM itself is a huge address space of some 32k, way out of scope for
the purpose we have in ATF.

This patch adds a simple CAAM init function that assigns ownership of the
CAAM job-rings to the non-secure MID with the ownership bit set to
non-secure.

This will allow later logic in the boot process such as OPTEE, u-boot and
Linux to assign job-rings as appropriate, restricting if necessary but
leaving open the main functionality of the CAAM to the Linux NS runtime.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
1 parent db05fb7 commit ca52cbe65b1453f4a2811249847d3387b6888fd3
@Bryan O'Donoghue Bryan O'Donoghue authored on 11 Jul 2018
Showing 2 changed files
View
plat/imx/common/imx_caam.c 0 → 100644
View
plat/imx/common/include/imx_caam.h 0 → 100644