plat_pm_common.h 629 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * 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"

19
20
21
#define NON_SECURE_FLAG		1U
#define SECURE_FLAG		0U

22
23
24
25
#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)
26
#endif /* PLAT_PM_COMMON_H */