mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
Merge "feat(versal): update macro name to generic and move to common place" into integration
This commit is contained in:
commit
8edd190e64
3 changed files with 6 additions and 5 deletions
|
@ -27,6 +27,11 @@
|
|||
#endif
|
||||
#define PAYLOAD_ARG_SIZE 4U /* size in bytes */
|
||||
|
||||
#define TZ_VERSION_MAJOR 1
|
||||
#define TZ_VERSION_MINOR 0
|
||||
#define TZ_VERSION ((TZ_VERSION_MAJOR << 16) | \
|
||||
TZ_VERSION_MINOR)
|
||||
|
||||
/**
|
||||
* pm_ipi - struct for capturing IPI-channel specific info
|
||||
* @local_ipi_id Local IPI agent ID
|
||||
|
|
|
@ -19,8 +19,4 @@
|
|||
#define NON_SECURE_FLAG 1U
|
||||
#define SECURE_FLAG 0U
|
||||
|
||||
#define VERSAL_TZ_VERSION_MAJOR 1U
|
||||
#define VERSAL_TZ_VERSION_MINOR 0U
|
||||
#define VERSAL_TZ_VERSION ((VERSAL_TZ_VERSION_MAJOR << 16U) | \
|
||||
VERSAL_TZ_VERSION_MINOR)
|
||||
#endif /* PLAT_PM_COMMON_H */
|
||||
|
|
|
@ -289,7 +289,7 @@ static uintptr_t TF_A_specific_handler(uint32_t api_id, uint32_t *pm_arg,
|
|||
|
||||
case PM_GET_TRUSTZONE_VERSION:
|
||||
SMC_RET1(handle, (uint64_t)PM_RET_SUCCESS |
|
||||
((uint64_t)VERSAL_TZ_VERSION << 32U));
|
||||
((uint64_t)TZ_VERSION << 32U));
|
||||
|
||||
default:
|
||||
return (uintptr_t)0;
|
||||
|
|
Loading…
Add table
Reference in a new issue