1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 Marvell International Ltd.
5 * https://spdx.org/licenses
8 #include <asm/global_data.h>
9 #include <asm/ptrace.h>
10 #include <asm/system.h>
11 #include <asm/arch/smc.h>
13 DECLARE_GLOBAL_DATA_PTR;
15 ssize_t smc_dram_size(unsigned int node)
19 regs.regs[0] = OCTEONTX_DRAM_SIZE;