Browse Source
The patch does below things. 1. As per current implementation, when Linux send a request to ATF to get the version of APIs which are implemented in ATF then ATF wasn't returning any version because there is a check for LIBPM module id. The ATF is used to return version for the APIs which are implemented in the firmware only. Hence moved this switch-case before checking module id to get ATF version. Also, no need to pass Linux request to the firmware for the APIs which are implemented in ATF instead return success after updating version. 2. As per current implementation, higher 16-bit is used for ATF version and lower 16-bit is used for firmware version. Now, removed 16-bit shift operation and send complete word i.e. 32-bit to Linux user as there is no user who checks ATF version. 3. Add bit mask support in the feature check PM EEMI API for QUERY and IOCTL ids. Change-Id: Icdca3de6659f3b673b81a423ed79a3c20b678768 Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>pull/1985/head
Ronak Jain
3 years ago
committed by
Tanmay Shah
4 changed files with 25 additions and 33 deletions
Loading…
Reference in new issue