Before using the EEMI API to manage the peripheral nodes, you must check that the EEMI API version implemented in the TF-A matches the version implemented in the PLM. EEMI API version is a 32-bit value separated in higher 16-bits of MAJOR and lower 16-bits of MINOR part. Both fields must be the same between the TF-A and the PLM.
How to Check the EEMI API Version
The EEMI version implemented in the TF-A is defined in the local
EEMI_API_VERSION flag. The rich OS can invoke the PM_GET_API_VERSION
function to retrieve the EEMI API version from the
PMC. If the versions are different, this function reports an error.
Note: This EEMI API function is version
independent; every EEMI version implements it.