developer | 2189d3a | 2020-04-17 17:14:23 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020, MediaTek Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /* common headers */ |
| 8 | #include <lib/psci/psci.h> |
| 9 | |
| 10 | /* mediatek platform specific headers */ |
| 11 | |
| 12 | |
| 13 | /******************************************************************************* |
| 14 | * MTK_platform handler called when an affinity instance is about to be turned |
| 15 | * on. The level and mpidr determine the affinity instance. |
| 16 | ******************************************************************************/ |
| 17 | static const plat_psci_ops_t plat_plat_pm_ops = { |
| 18 | }; |
| 19 | |
| 20 | int plat_setup_psci_ops(uintptr_t sec_entrypoint, |
| 21 | const plat_psci_ops_t **psci_ops) |
| 22 | { |
| 23 | *psci_ops = &plat_plat_pm_ops; |
| 24 | |
| 25 | return 0; |
| 26 | } |