Chandni Cherukuri | e4bf6a0 | 2018-11-14 13:43:59 +0530 | [diff] [blame] | 1 | /* |
Joel Hutton | 8aaa4f5 | 2019-01-08 15:18:28 +0000 | [diff] [blame] | 2 | * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. |
Chandni Cherukuri | e4bf6a0 | 2018-11-14 13:43:59 +0530 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | c30db5b | 2019-01-23 20:37:32 +0000 | [diff] [blame] | 7 | #include <drivers/arm/css/scmi.h> |
Antonio Nino Diaz | bd7b740 | 2019-01-25 14:30:04 +0000 | [diff] [blame] | 8 | #include <plat/arm/common/plat_arm.h> |
| 9 | |
Chandni Cherukuri | e4bf6a0 | 2018-11-14 13:43:59 +0530 | [diff] [blame] | 10 | const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops) |
| 11 | { |
Joel Hutton | 8aaa4f5 | 2019-01-08 15:18:28 +0000 | [diff] [blame] | 12 | #if CSS_USE_SCMI_SDS_DRIVER |
Chandni Cherukuri | e4bf6a0 | 2018-11-14 13:43:59 +0530 | [diff] [blame] | 13 | return css_scmi_override_pm_ops(ops); |
Joel Hutton | 8aaa4f5 | 2019-01-08 15:18:28 +0000 | [diff] [blame] | 14 | #else |
| 15 | return ops; |
| 16 | #endif /* CSS_USE_SCMI_SDS_DRIVER */ |
Chandni Cherukuri | e4bf6a0 | 2018-11-14 13:43:59 +0530 | [diff] [blame] | 17 | } |