Open kraj opened 1 year ago
@kraj for now, as I understand, it is not possible to enable optee globally because we have SOMs with different ram sizes, and optee-os hardcodes the ram size to match the NXP EVK.
We have a build time workaround for this, see: https://variwiki.com/index.php?title=IMX8_OPTEE&release=mx8mp-yocto-mickledore-6.1.36_2.1.0-v1.2
TEE_CFG_DDR_SIZE
must be aligned with with the memory size assembled on the SOM.
This picks up correct optee implementation which otherwise is randomly picked from meta-arm in a multi-BSP setup
Signed-off-by: Khem Raj raj.khem@gmail.com