summaryrefslogtreecommitdiffstats
path: root/arch/mips/boards/netgear-wg102/ram.c
blob: 4cde573982d70f0b444035fd0e6b86831375d427 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <common.h>
#include <init.h>
#include <linux/sizes.h>
#include <asm/memory.h>

static int mem_init(void)
{
	barebox_set_model("Netgear wg102");
	barebox_set_hostname("wg102");

	mips_add_ram0(SZ_16M);
	return 0;
}
mem_initcall(mem_init);