xref: /rk3399_ARM-atf/plat/xilinx/zynqmp/include/plat_pm_common.h (revision fd7b287cbe9147ca9e07dd9f30c49c58bbdd92a8)
1 /*
2  * Copyright (c) 2013-2018, ARM Limited and Contributors. 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 <stdint.h>
16 #include <common/debug.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 ZYNQMP_TZ_VERSION_MAJOR		1
23 #define ZYNQMP_TZ_VERSION_MINOR		0
24 #define ZYNQMP_TZ_VERSION		((ZYNQMP_TZ_VERSION_MAJOR << 16) | \
25 					ZYNQMP_TZ_VERSION_MINOR)
26 #endif /* _PLAT_PM_COMMON_H_ */
27