Commits
Horia Geantă committed 6aa9b70c991
MLKU-114-3 crypto: caam - OP-TEE firmware support caam driver needs to be aware of OP-TEE f/w presence, since some things are done differently: 1. there is no access to controller's register page (note however that some registers are aliased in job rings' register pages) It's worth mentioning that due to this, MCFGR[PS] cannot be read and driver assumes MCFGR[PS] = b'0 - engine using 32-bit address pointers. This is in sync with the fact that: -all i.MX SoCs currently use MCFGR[PS] = b'0 -only i.MX OP-TEE use cases don't allow access to controller register page Note: When DN OP-TEE will start enforcing the same policy, this solution will stop working and information about caam configuration will have to deduced in some other way. 2. as a consequence of "1.", part of the initialization is moved in other f/w (TF-A etc.), e.g. RNG initialization Signed-off-by: Horia Geantă <horia.geanta@nxp.com>