Merge tag 'u-boot-imx-20200825' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-octeontx / smc.h
1 /* 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
18 ssize_t smc_dram_size(unsigned int node);
19
20 #endif /* __SMC_H__ */