| bcc1348b | 15-Feb-2023 |
Nava kishore Manne <nava.kishore.manne@amd.com> |
fix(zynqmp): update the conflicting EEMI API IDs
In the ZynqMP, 0x36 EEMI API ID is used for PM_FPGA_GET_VERSION and 0x37 is used for PM_FPGA_GET_FEATURE_LIST. The same ID numbers in the Versal are
fix(zynqmp): update the conflicting EEMI API IDs
In the ZynqMP, 0x36 EEMI API ID is used for PM_FPGA_GET_VERSION and 0x37 is used for PM_FPGA_GET_FEATURE_LIST. The same ID numbers in the Versal are used for PM_ADD_SUBSYSTEM and PM_DESTROY_SUBSYSTEM and it leads to the EEMI API ID conflict between the platforms. To fix this issue this patch updates the PM_FPGA_GET_VERSION and PM_FPGA_GET_FEATURE_LIST EEMI API ID's to 0x48 and 0x49.
In linux zynqmp_pm_fpga_get_version() and zynqmp_pm_fpga_get_feature_list() API's are uses PM_FPGA_GET_VERSION and PM_FPGA_GET_FEATURE_LIST to get the xilfpga version and xilfpga-supported feature list info. These API's are called only in zynqmp-fpga.c as part of the probe. In case of this caller API's are failed it will fall to the default feature list and this default feature list is same as latest xilfpga-supported feature list (No new feature was added in the xilfpga after adding these APIs). So, these updated IDs will not cause any functional issues between Linux, TF-A, and firmware components.
Signed-off-by: Nava kishore Manne <nava.kishore.manne@amd.com> Change-Id: I14d974dd44651681ecbf726ad8b6940e1850cbec
show more ...
|
| 2537f072 | 15-Feb-2023 |
Akshay Belsare <akshay.belsare@amd.com> |
fix(zynqmp): with DEBUG=1 move bl31 to DDR range
Due to size constraints in OCM memory range keeping the bl31 with DEBUG=1 overlaps with the memory range from other Firmware thus affecting the bootf
fix(zynqmp): with DEBUG=1 move bl31 to DDR range
Due to size constraints in OCM memory range keeping the bl31 with DEBUG=1 overlaps with the memory range from other Firmware thus affecting the bootflow on target. bl31 binary can not be placed in OCM memory range when built with DEBUG=1. With DEBUG=1, by default bl31 is moved to DDR memory range 0x1000-0x7FFFF. The user can provide a custom DDR memory range during build time using the build parameters ZYNQMP_ATF_MEM_BASE and ZYNQMP_ATF_MEM_SIZE.
Change-Id: I167d5eadbae7c6d3ec9b32f494b0b1a819bea5b0 Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| aaf5ce77 | 13-Feb-2023 |
Ronak Jain <ronak.jain@amd.com> |
feat(zynqmp): bump up version of query_data API
As per the current code base, the version of the PM_QUERY_DATA EEMI API is 2 in the Versal but in ZynqMP it returns the base version.
Since this EEMI
feat(zynqmp): bump up version of query_data API
As per the current code base, the version of the PM_QUERY_DATA EEMI API is 2 in the Versal but in ZynqMP it returns the base version.
Since this EEMI API ID support similar functionality for Versal and ZynqMP, hence there should not be any difference in the versioning as well.
In version 2, the feature check API supports the bitmask functionality of the QUERY_DATA API, so the user can query the supported QUERY_DATA ID first and if the ID is supported then the user can perform the actual functionality of the same.
Hence, bump up the version of PM_QUERY_DATA API Id to 2.
Signed-off-by: Ronak Jain <ronak.jain@amd.com> Change-Id: I3ed7b090f486dca591352131ca286018bbb1c4be
show more ...
|
| d0b58c8a | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(zynqmp): remove redundant api_version check
The api_version is checked in pm_setup() and an error is returned. The smc handlers will not be registered on error so doing the check again is redund
fix(zynqmp): remove redundant api_version check
The api_version is checked in pm_setup() and an error is returned. The smc handlers will not be registered on error so doing the check again is redundant. This also silences a warning when compiling with -Wextra.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I09395e6a20e3f6eb22a1f81ec2f6bdf034eeb4bf
show more ...
|