| 1 | /* |
| 2 | * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <sq_common.h> |
| 8 | #include "sq_scpi.h" |
| 9 | |
| 10 | /* |
| 11 | * Helper function to get dram information from SCP. |
| 12 | */ |
| 13 | uint32_t sq_scp_get_draminfo(struct draminfo *info) |
| 14 | { |
| 15 | #if SQ_USE_SCMI_DRIVER |
| 16 | sq_scmi_get_draminfo(info); |
| 17 | #else |
| 18 | scpi_get_draminfo(info); |
| 19 | #endif |
| 20 | return 0; |
| 21 | } |