• Bryan O'Donoghue's avatar
    imx: imx_caam: Add code to initialize the CAAM job-rings to NS-world · ca52cbe6
    Bryan O'Donoghue authored
    
    
    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: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
    ca52cbe6
imx_caam.h 1.46 KB