blob: fb4812dad037abc15d34a886ad945d58813b98f3 [file] [log] [blame]
Tejas Patel354fe572018-12-14 00:55:37 -08001/*
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
Tejas Patel18072da2021-02-25 20:16:56 -080019#define NON_SECURE_FLAG 1U
20#define SECURE_FLAG 0U
21
Venkatesh Yadav Abbarapua0657d92022-07-20 09:03:22 +053022#define VERSAL_TZ_VERSION_MAJOR 1U
23#define VERSAL_TZ_VERSION_MINOR 0U
24#define VERSAL_TZ_VERSION ((VERSAL_TZ_VERSION_MAJOR << 16U) | \
Tejas Patel044001d2019-01-21 17:56:48 +053025 VERSAL_TZ_VERSION_MINOR)
Tejas Patel354fe572018-12-14 00:55:37 -080026#endif /* PLAT_PM_COMMON_H */