Usama Arif | 82e9509 | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 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 a5ds_psci_pm_ops. The ARM Standard |
| 12 | * platform layer will take care of registering the handlers with PSCI. |
| 13 | ******************************************************************************/ |
| 14 | plat_psci_ops_t a5ds_psci_pm_ops = { |
| 15 | /* dummy struct */ |
| 16 | .validate_ns_entrypoint = NULL, |
| 17 | }; |
| 18 | |
| 19 | int __init plat_setup_psci_ops(uintptr_t sec_entrypoint, |
| 20 | const plat_psci_ops_t **psci_ops) |
| 21 | { |
| 22 | *psci_ops = &a5ds_psci_pm_ops; |
| 23 | |
| 24 | return 0; |
| 25 | } |