summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/memory.h
blob: 2aa28b76861bc95d44204d902a1898bdd8da69a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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 */