27 lines
692 B
C
27 lines
692 B
C
|
/*
|
||
|
* Copyright (c) 2020, MediaTek Inc. All rights reserved.
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
*/
|
||
|
|
||
|
/* common headers */
|
||
|
#include <lib/psci/psci.h>
|
||
|
|
||
|
/* mediatek platform specific headers */
|
||
|
|
||
|
|
||
|
/*******************************************************************************
|
||
|
* MTK_platform handler called when an affinity instance is about to be turned
|
||
|
* on. The level and mpidr determine the affinity instance.
|
||
|
******************************************************************************/
|
||
|
static const plat_psci_ops_t plat_plat_pm_ops = {
|
||
|
};
|
||
|
|
||
|
int plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
||
|
const plat_psci_ops_t **psci_ops)
|
||
|
{
|
||
|
*psci_ops = &plat_plat_pm_ops;
|
||
|
|
||
|
return 0;
|
||
|
}
|