xref: /rk3399_ARM-atf/plat/xilinx/zynqmp/include/plat_pm_common.h (revision 65c80d60a2c4f22765cee0988c3b4a7af3fc02ba)
1*65c80d60SJolly Shah /*
2*65c80d60SJolly Shah  * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
3*65c80d60SJolly Shah  *
4*65c80d60SJolly Shah  * SPDX-License-Identifier: BSD-3-Clause
5*65c80d60SJolly Shah  */
6*65c80d60SJolly Shah 
7*65c80d60SJolly Shah /*
8*65c80d60SJolly Shah  * Contains platform specific definitions of commonly used macros data types
9*65c80d60SJolly Shah  * for PU Power Management. This file should be common for all PU's.
10*65c80d60SJolly Shah  */
11*65c80d60SJolly Shah 
12*65c80d60SJolly Shah #ifndef PLAT_PM_COMMON_H
13*65c80d60SJolly Shah #define PLAT_PM_COMMON_H
14*65c80d60SJolly Shah 
15*65c80d60SJolly Shah #include <stdint.h>
16*65c80d60SJolly Shah #include <common/debug.h>
17*65c80d60SJolly Shah #include "pm_defs.h"
18*65c80d60SJolly Shah 
19*65c80d60SJolly Shah #define PAYLOAD_ARG_CNT		6U
20*65c80d60SJolly Shah #define PAYLOAD_ARG_SIZE	4U	/* size in bytes */
21*65c80d60SJolly Shah 
22*65c80d60SJolly Shah #define ZYNQMP_TZ_VERSION_MAJOR		1
23*65c80d60SJolly Shah #define ZYNQMP_TZ_VERSION_MINOR		0
24*65c80d60SJolly Shah #define ZYNQMP_TZ_VERSION		((ZYNQMP_TZ_VERSION_MAJOR << 16) | \
25*65c80d60SJolly Shah 					ZYNQMP_TZ_VERSION_MINOR)
26*65c80d60SJolly Shah #endif /* _PLAT_PM_COMMON_H_ */
27