blob: beff4d158fb5c67332f9879ff6d9ba5d8a921ff6 [file] [log] [blame]
Suneel Garapaticd530282019-10-19 18:32:33 -07001/* SPDX-License-Identifier: GPL-2.0
2 *
3 * Copyright (C) 2018 Marvell International Ltd.
4 *
5 * https://spdx.org/licenses
6 */
7
8#ifndef __SMC_H__
9#define __SMC_H__
10
11/* OcteonTX Service Calls version numbers */
12#define OCTEONTX_VERSION_MAJOR 0x1
13#define OCTEONTX_VERSION_MINOR 0x0
14
15/* x1 - node number */
16#define OCTEONTX_DRAM_SIZE 0xc2000301
17
18ssize_t smc_dram_size(unsigned int node);
19
20#endif /* __SMC_H__ */