aboutsummaryrefslogtreecommitdiff
path: root/plat/xilinx/versal/include/plat_pm_common.h
blob: 2d0080168817415ccf7eeb8428fee9ea6778d39f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2019, Xilinx, Inc. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

/*
 * Contains platform specific definitions of commonly used macros data types
 * for PU Power Management. This file should be common for all PU's.
 */

#ifndef PLAT_PM_COMMON_H
#define PLAT_PM_COMMON_H

#include <common/debug.h>
#include <stdint.h>
#include "pm_defs.h"

#define PAYLOAD_ARG_CNT		6U
#define PAYLOAD_ARG_SIZE	4U	/* size in bytes */

#define VERSAL_TZ_VERSION_MAJOR		1
#define VERSAL_TZ_VERSION_MINOR		0
#define VERSAL_TZ_VERSION		((VERSAL_TZ_VERSION_MAJOR << 16) | \
					VERSAL_TZ_VERSION_MINOR)
#endif /* PLAT_PM_COMMON_H */