1 /* 2 * Copyright (c) 2019, Xilinx, Inc. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /* 8 * Contains platform specific definitions of commonly used macros data types 9 * for PU Power Management. This file should be common for all PU's. 10 */ 11 12 #ifndef PLAT_PM_COMMON_H 13 #define PLAT_PM_COMMON_H 14 15 #include <common/debug.h> 16 #include <stdint.h> 17 #include "pm_defs.h" 18 19 #define PAYLOAD_ARG_CNT 6U 20 #define PAYLOAD_ARG_SIZE 4U /* size in bytes */ 21 22 #define VERSAL_TZ_VERSION_MAJOR 1 23 #define VERSAL_TZ_VERSION_MINOR 0 24 #define VERSAL_TZ_VERSION ((VERSAL_TZ_VERSION_MAJOR << 16) | \ 25 VERSAL_TZ_VERSION_MINOR) 26 #endif /* PLAT_PM_COMMON_H */ 27