blob: e494022b66f9e72e5c2a8778da64050f01b99702 [file] [log] [blame]
Masahisa Kojimaebfd8eb2019-03-07 10:41:54 +09001/*
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 */
13uint32_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}