1 /*
2 * Copyright (c) 2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6 
7 #include <lib/psci/psci.h>
8 #include <plat/arm/common/plat_arm.h>
9 
10 /*******************************************************************************
11  * Export the platform handlers via fvp_ve_psci_pm_ops. The ARM Standard
12  * platform layer will take care of registering the handlers with PSCI.
13  ******************************************************************************/
14 plat_psci_ops_t fvp_ve_psci_pm_ops = {
15 	/* dummy struct */
16 	.validate_ns_entrypoint = NULL,
17 };
18 
plat_setup_psci_ops(uintptr_t sec_entrypoint,const plat_psci_ops_t ** psci_ops)19 int __init plat_setup_psci_ops(uintptr_t sec_entrypoint,
20 				const plat_psci_ops_t **psci_ops)
21 {
22 	*psci_ops = &fvp_ve_psci_pm_ops;
23 
24 	return 0;
25 }
26