mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 09:27:01 +02:00
Instead of exclude code for Versal, define only for ZynqMP. For new platforms this code should be excluded so instead of excluding for all platform, define only for ZynqMP. Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Change-Id: I45798dadc0f374c5794f517f7d0158675a75caa9
34 lines
948 B
C
34 lines
948 B
C
/*
|
|
* Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
|
|
* Copyright (c) 2020-2022, Xilinx, Inc. All rights reserved.
|
|
* Copyright (c) 2022, Advanced Micro Devices, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/*
|
|
* Contains APU specific macros and macros to be defined depending on
|
|
* the execution environment.
|
|
*/
|
|
|
|
#ifndef PM_CLIENT_H
|
|
#define PM_CLIENT_H
|
|
|
|
#include "pm_common.h"
|
|
#include "pm_defs.h"
|
|
|
|
/* Functions to be implemented by each PU */
|
|
void pm_client_suspend(const struct pm_proc *proc, uint32_t state);
|
|
void pm_client_abort_suspend(void);
|
|
void pm_client_wakeup(const struct pm_proc *proc);
|
|
|
|
/* Global variables to be set in pm_client.c */
|
|
extern const struct pm_proc *primary_proc;
|
|
|
|
#if defined(PLAT_zynqmp)
|
|
enum pm_ret_status pm_set_suspend_mode(uint32_t mode);
|
|
const struct pm_proc *pm_get_proc_by_node(enum pm_node_id nid);
|
|
#endif /* PLAT_zynqmp */
|
|
|
|
#endif /* PM_CLIENT_H */
|