summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/memory.h
blob: 0821b432f84e4b26652a9cea28ffbcf4e9150e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ASM_MIPS_MEMORY_H
#define __ASM_MIPS_MEMORY_H

#include <memory.h>
#include <asm/addrspace.h>

static inline void mips_add_ram0(resource_size_t size)
{
	barebox_add_memory_bank("kseg0_ram0", KSEG0, size);
	barebox_add_memory_bank("kseg1_ram0", KSEG1, size);
}
#endif	/* __ASM_MIPS_MEMORY_H */